From b82dd2c5b1eb858ec51b2f705b436473f4ac06b6 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 21 Nov 2017 19:52:45 +0300 Subject: [PATCH] fix build --- rxvt-unicode-sgr/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rxvt-unicode-sgr/PKGBUILD b/rxvt-unicode-sgr/PKGBUILD index 41417f1..a09e10a 100644 --- a/rxvt-unicode-sgr/PKGBUILD +++ b/rxvt-unicode-sgr/PKGBUILD @@ -13,7 +13,7 @@ url='http://software.schmorp.de/pkg/rxvt-unicode.html' license=('GPL') makedepends=('libxft' 'perl' 'startup-notification') source=( - "http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2" + "http://dist.schmorp.de/rxvt-unicode/$pkgbase-$pkgver.tar.bz2" 'urxvt.desktop' 'urxvtc.desktop' 'urxvt-tabbed.desktop' @@ -26,7 +26,7 @@ md5sums=('93782dec27494eb079467dacf6e48185' 'f8325b0a33999db4d5d1eeac4f320156') build() { - cd $pkgname-$pkgver + cd $pkgbase-$pkgver patch -p0 < ../urxvt-sgr.patch # we disable smart-resize (FS#34807) # do not specify --with-terminfo (FS#46424) @@ -60,10 +60,10 @@ build() { make } -package_rxvt-unicode() { +package_rxvt-unicode-sgr() { pkgdesc='A unicode enabled rxvt-clone terminal emulator (urxvt)' - provides='rxvt-unicode' - conflicts='rxvt-unicode' + provides=('rxvt-unicode') + conflicts=('rxvt-unicode') depends=('rxvt-unicode-terminfo' 'libxft' 'perl' 'startup-notification') optdepends=('gtk2-perl: to use the urxvt-tabbed') @@ -71,7 +71,7 @@ package_rxvt-unicode() { for _f in urxvt urxvtc urxvt-tabbed; do install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop" done - cd $pkgname-$pkgver + cd $pkgbase-$pkgver # workaround terminfo installation export TERMINFO="$srcdir/terminfo" install -d "$TERMINFO"