diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 12 insertions, 26 deletions
@@ -1,5 +1,5 @@ -# Maintainer: Thomas Ascher <thomas.ascher@gmx.at> -# Contributor: Thomas Ascher <thomas.ascher@gmx.at> +# Maintainer: Icarus Mitchellson <mumei AT airmail DOT cc> + pkgname=lapispuzzle.app _pkgname=LapisPuzzle pkgrel=1 @@ -8,34 +8,20 @@ pkgdesc="A tetris-like game." arch=('i686' 'x86_64') url="http://www.nongnu.org/gap/lapispuzzle/index.html" license=('GPL') -groups=('gnustep') -depends=('gnustep-base' - 'gnustep-gui') -makedepends=('gcc-objc' - 'gnustep-make') -source=("http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz") +groups=('gnustep-games') +depends=('gnustep-base' 'gnustep-gui' 'gnustep-back') +makedepends=('gcc-objc' 'gnustep-make') +source=("http://savannah.nongnu.org/download/gap/LapisPuzzle-1.2.tar.gz") sha256sums=('883b104c4223ad90f8f5e83573f8b93b05abb9863492aef0ac23e929868c47b9') build() { - cd "$_pkgname-$pkgver" + cd $_pkgname-$pkgver + export GNUSTEP_MAKEFILES="$(gnustep-config --variable=GNUSTEP_MAKEFILES)" make } package() { - cd "$_pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \ - "$pkgdir/usr/share/applications/$_pkgname.desktop" -} - -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop" +}
\ No newline at end of file |