diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gweled/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gweled/PKGBUILD')
-rw-r--r-- | extra/gweled/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/gweled/PKGBUILD b/extra/gweled/PKGBUILD new file mode 100644 index 000000000..16ea76bef --- /dev/null +++ b/extra/gweled/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 108818 2011-02-03 20:50:44Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=gweled +pkgver=0.9 +pkgrel=1 +pkgdesc="A puzzle game similar to Bejeweled (aka Diamond Mine)" +arch=('i686' 'x86_64') +license=('GPL') +url="https://launchpad.net/gweled/" +depends=('librsvg' 'libmikmod') +makedepends=('intltool') +install=gweled.install +source=(http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz) +md5sums=('a3aeec75190710758bbd3c487b637112') +sha1sums=('70358e0557eaee370a9183e1ea34e95a09d57619') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --with-scores-user=root --with-scores-group=games + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + +# We generate these files on post-install to prevent score resets on upgrade + rm -rf "${pkgdir}/var" +} |