From 6c0464c0e12fdcf474e9c814e64cbccc63d2f02b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoffer=20M=C3=BCller=20Madsen?= Date: Thu, 20 Oct 2016 21:25:24 +0200 Subject: [PATCH] fix systempreferences-svn pkgver issues --- systempreferences-svn/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/systempreferences-svn/PKGBUILD b/systempreferences-svn/PKGBUILD index 6f3b025..276e71d 100644 --- a/systempreferences-svn/PKGBUILD +++ b/systempreferences-svn/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Christoffer Müller Madsen pkgname=systempreferences-svn _pkgname=SystemPreferences -pkgver=r40163 +pkgver=r40164 pkgrel=1 pkgdesc="SystemPreferences for GNUstep" arch=(i686 x86_64) @@ -17,19 +17,19 @@ source=('svn+http://svn.gna.org/svn/gnustep/apps/systempreferences/trunk') md5sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$srcdir/trunk" local ver="$(svnversion)" printf "r%s" "${ver//[[:alpha:]]}" } build() { - cd "$srcdir/$pkgname" + cd "$srcdir/trunk/$_pkgname" . /usr/share/GNUstep/Makefiles/GNUstep.sh make } package() { - cd "$srcdir/$pkgname" + cd "$srcdir/trunk/$_pkgname" make DESTDIR="$pkgdir/" install install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \ "$pkgdir/usr/share/applications/$_pkgname.desktop"