fix build

This commit is contained in:
Von Random 2017-11-21 19:52:45 +03:00
parent d1022352c0
commit b82dd2c5b1

View file

@ -13,7 +13,7 @@ url='http://software.schmorp.de/pkg/rxvt-unicode.html'
license=('GPL') license=('GPL')
makedepends=('libxft' 'perl' 'startup-notification') makedepends=('libxft' 'perl' 'startup-notification')
source=( source=(
"http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2" "http://dist.schmorp.de/rxvt-unicode/$pkgbase-$pkgver.tar.bz2"
'urxvt.desktop' 'urxvt.desktop'
'urxvtc.desktop' 'urxvtc.desktop'
'urxvt-tabbed.desktop' 'urxvt-tabbed.desktop'
@ -26,7 +26,7 @@ md5sums=('93782dec27494eb079467dacf6e48185'
'f8325b0a33999db4d5d1eeac4f320156') 'f8325b0a33999db4d5d1eeac4f320156')
build() { build() {
cd $pkgname-$pkgver cd $pkgbase-$pkgver
patch -p0 < ../urxvt-sgr.patch patch -p0 < ../urxvt-sgr.patch
# we disable smart-resize (FS#34807) # we disable smart-resize (FS#34807)
# do not specify --with-terminfo (FS#46424) # do not specify --with-terminfo (FS#46424)
@ -60,10 +60,10 @@ build() {
make make
} }
package_rxvt-unicode() { package_rxvt-unicode-sgr() {
pkgdesc='A unicode enabled rxvt-clone terminal emulator (urxvt)' pkgdesc='A unicode enabled rxvt-clone terminal emulator (urxvt)'
provides='rxvt-unicode' provides=('rxvt-unicode')
conflicts='rxvt-unicode' conflicts=('rxvt-unicode')
depends=('rxvt-unicode-terminfo' 'libxft' 'perl' 'startup-notification') depends=('rxvt-unicode-terminfo' 'libxft' 'perl' 'startup-notification')
optdepends=('gtk2-perl: to use the urxvt-tabbed') optdepends=('gtk2-perl: to use the urxvt-tabbed')
@ -71,7 +71,7 @@ package_rxvt-unicode() {
for _f in urxvt urxvtc urxvt-tabbed; do for _f in urxvt urxvtc urxvt-tabbed; do
install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop" install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
done done
cd $pkgname-$pkgver cd $pkgbase-$pkgver
# workaround terminfo installation # workaround terminfo installation
export TERMINFO="$srcdir/terminfo" export TERMINFO="$srcdir/terminfo"
install -d "$TERMINFO" install -d "$TERMINFO"