updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / domino / PKGBUILD
blob4acfc73a62809c1d9a1954139bbfa98b42f2f64c
1 # created 05:31:15 - 30/09/09
2 # Maintainer: Frikilinux <frikilinux at frikilinux.com.ar>
4 pkgname=domino
5 pkgver=1.1.2
6 pkgrel=1
7 pkgdesc="Tile-based game"
8 arch=('i686' 'x86_64')
9 url="http://sites.google.com/site/darkwalkerrzn/"
10 license=('GPL')
11 depends=('qt')
12 source=(http://sites.google.com/site/darkwalkerrzn/domino_$pkgver.tar.gz domino.sh domino.desktop)
13 md5sums=('46cc54334c8bbd4e3ef85fc2d5588c1e'
14          'de52fb175cc7afe47853cc3248a65f24'
15          '234c3a2725595b2d32a6e8d28435d1dc')
17 build() {
19   cd $srcdir/$pkgname
21   qmake || return 1
22   make || return 1
24   install -Dm755 domino $pkgdir/opt/domino/domino || return 1
25   install -Dm755 ../domino.sh $pkgdir/usr/bin/domino || return 1
26   install -Dm644 *.png $pkgdir/opt/domino/ || return 1
27   install -dm755 $pkgdir/opt/domino/dices || return 1
28   install -m644 dices/* $pkgdir/opt/domino/dices || return 1
29   install -Dm644 ../domino.desktop $pkgdir/usr/share/applications/domino.desktop || return 1