diff options
Diffstat (limited to 'community/gtkballs')
-rw-r--r-- | community/gtkballs/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/gtkballs/PKGBUILD b/community/gtkballs/PKGBUILD new file mode 100644 index 000000000..7dad82a94 --- /dev/null +++ b/community/gtkballs/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 18289 2010-06-02 16:56:19Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com> + +pkgname=gtkballs +pkgver=3.1.5 +pkgrel=4 +pkgdesc="clone of Lines - logic game about balls" +arch=('i686' 'x86_64') +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 || return 1 + make install DESTDIR=$pkgdir || return 1 + + chown -R root:games $pkgdir/var/games/gtkballs/ && \ + chmod -R ug+w $pkgdir/var/games/gtkballs/ +} |