summaryrefslogtreecommitdiff
path: root/community/gtkballs/PKGBUILD
blob: f745ac0ec3529fae8ca1424ac3004df6bfbca72b (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
# $Id: PKGBUILD 65548 2012-02-21 08:52:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>

pkgname=gtkballs
pkgver=3.1.5
pkgrel=5
pkgdesc="clone of Lines - logic game about balls"
arch=('i686' 'x86_64' 'mips64el')
url="http://gtkballs.antex.ru/"
license=('GPL')
depends=("gtk2")
backup=(var/games/gtkballs/gtkballs-scores)
source=(http://gtkballs.antex.ru/dist/gtkballs-$pkgver.tar.gz)
md5sums=('1654799db1e9a46607b06f7ad3c0bf05')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr \
              --localstatedir=/var/games/gtkballs \
              --mandir=/usr/share/man
  make
  make install DESTDIR=$pkgdir
  chown -R root:games $pkgdir/var/games/gtkballs/
  chmod -R ug+w $pkgdir/var/games/gtkballs/
}