fix systempreferences-svn pkgver issues
This commit is contained in:
parent
855243273a
commit
6c0464c0e1
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
|
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
|
||||||
pkgname=systempreferences-svn
|
pkgname=systempreferences-svn
|
||||||
_pkgname=SystemPreferences
|
_pkgname=SystemPreferences
|
||||||
pkgver=r40163
|
pkgver=r40164
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="SystemPreferences for GNUstep"
|
pkgdesc="SystemPreferences for GNUstep"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
|
@ -17,19 +17,19 @@ source=('svn+http://svn.gna.org/svn/gnustep/apps/systempreferences/trunk')
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$pkgname"
|
cd "$srcdir/trunk"
|
||||||
local ver="$(svnversion)"
|
local ver="$(svnversion)"
|
||||||
printf "r%s" "${ver//[[:alpha:]]}"
|
printf "r%s" "${ver//[[:alpha:]]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/trunk/$_pkgname"
|
||||||
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/trunk/$_pkgname"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
|
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
|
||||||
"$pkgdir/usr/share/applications/$_pkgname.desktop"
|
"$pkgdir/usr/share/applications/$_pkgname.desktop"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user