2016-10-19 23:48:19 +00:00
|
|
|
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
|
|
|
|
pkgname=systempreferences-svn
|
|
|
|
_pkgname=SystemPreferences
|
2016-10-20 19:25:24 +00:00
|
|
|
pkgver=r40164
|
2016-10-19 23:48:19 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="SystemPreferences for GNUstep"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="http://www.gnustep.org/experience/systempreferences.html"
|
|
|
|
license=('GPL')
|
|
|
|
install=$pkgname.install
|
|
|
|
depends=(gnustep-base gnustep-gui gnustep-back)
|
|
|
|
makedepends=('gcc-objc'
|
|
|
|
'gnustep-make')
|
|
|
|
provides=(systempreferences systempreferences-git)
|
|
|
|
conflicts=(systempreferences systempreferences-svn)
|
2016-10-20 02:41:10 +00:00
|
|
|
source=('svn+http://svn.gna.org/svn/gnustep/apps/systempreferences/trunk')
|
2016-10-19 23:48:19 +00:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
2016-10-20 19:25:24 +00:00
|
|
|
cd "$srcdir/trunk"
|
2016-10-19 23:48:19 +00:00
|
|
|
local ver="$(svnversion)"
|
|
|
|
printf "r%s" "${ver//[[:alpha:]]}"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2016-10-20 19:25:24 +00:00
|
|
|
cd "$srcdir/trunk/$_pkgname"
|
2016-10-19 23:48:19 +00:00
|
|
|
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-10-20 19:25:24 +00:00
|
|
|
cd "$srcdir/trunk/$_pkgname"
|
2016-10-19 23:48:19 +00:00
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
|
|
|
|
"$pkgdir/usr/share/applications/$_pkgname.desktop"
|
|
|
|
}
|