blob: df62dc0a46d42fd93037ac511f8c5de1c4beeb24 (
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
27
28
29
30
31
|
# $Id: PKGBUILD 130072 2011-07-01 21:54:59Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=gweled
pkgver=0.9.1
pkgrel=1
pkgdesc="A puzzle game similar to Bejeweled (aka Diamond Mine)"
arch=('i686' 'x86_64')
license=('GPL')
url="https://launchpad.net/gweled/"
depends=('gtk2' 'librsvg' 'libmikmod' 'hicolor-icon-theme')
makedepends=('intltool')
install=gweled.install
source=(http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
md5sums=('746ac14523c968e78140c2f0501fd7cf')
sha1sums=('ff4a59935c9e1eb4a202e723baabaab39f526714')
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"
}
|