summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88b14bd35b43a8bba504e36c34e000b875fb5a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: <mumei AT airmail DOT cc>

pkgname=lapispuzzle.app
_pkgname=LapisPuzzle  
pkgrel=1
pkgver=1.2
pkgdesc="A tetris-like game."
arch=('i686' 'x86_64')
url="http://www.nongnu.org/gap/lapispuzzle/index.html"
license=('GPL')
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
  export GNUSTEP_MAKEFILES="$(gnustep-config --variable=GNUSTEP_MAKEFILES)"
  make
}

package() {
  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"
}