add SystemPreferences-svn
This commit is contained in:
parent
9067a184c3
commit
55e3cfdaae
36
systempreferences-svn/PKGBUILD
Normal file
36
systempreferences-svn/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
|
||||||
|
pkgname=systempreferences-svn
|
||||||
|
_pkgname=SystemPreferences
|
||||||
|
pkgver=r40163
|
||||||
|
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)
|
||||||
|
source=('systempreferences-svn::svn+http://svn.gna.org/svn/gnustep/apps/systempreferences/trunk')
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$pkgname"
|
||||||
|
local ver="$(svnversion)"
|
||||||
|
printf "r%s" "${ver//[[:alpha:]]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $srcdir/$pkgname
|
||||||
|
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $srcdir/$pkgname
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
|
||||||
|
"$pkgdir/usr/share/applications/$_pkgname.desktop"
|
||||||
|
}
|
11
systempreferences-svn/systempreferences-svn.install
Normal file
11
systempreferences-svn/systempreferences-svn.install
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install $1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install $1
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user