summaryrefslogtreecommitdiff
path: root/extra/gweled/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gweled/PKGBUILD')
-rw-r--r--extra/gweled/PKGBUILD31
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"
+}