updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pasang-emas / PKGBUILD
blobbb39ff175c4efe2e2b8f5f05f6658af70d1ad3a1
1 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
3 pkgname=pasang-emas
4 pkgver=3.1.0
5 pkgrel=1
6 pkgdesc="Pasang-emas is a traditional two-player board game of Brunei."
7 arch=('i686' 'x86_64')
8 url="http://pasang-emas.sourceforge.net/index.xhtml"
9 license=('GPL3')
10 depends=('gtk2')
11 makedepends=('gettext' 'intltool' 'gnome-doc-utils')
12 install=pasang-emas.install
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2
14         http://downloads.sourceforge.net/${pkgname}/${pkgname}-themes-1.0.tar.bz2
15         http://downloads.sourceforge.net/${pkgname}/pet-marble.tar.bz2)
16 md5sums=('b29ce0ba26e54091a898516c6559487f'
17          'b0cc4af9ec0f3b0a7b74ecfc13ce9399'
18          '925f78cc8fb25f3bb8ca5f5ba9d3ae64')
20 build()
22   cd ${pkgname}-${pkgver}
24   ./configure \
25     --prefix=/usr \
26     --sysconfdir=/etc
27   make
29   # Configure themes.
30   cd ../${pkgname}-themes-1.0
31     ./configure \
32       --prefix=/usr
35 package()
37   cd ${pkgname}-${pkgver}
38   make install DESTDIR="${pkgdir}"
40   # Install themes.
41   cd ../${pkgname}-themes-1.0
42     make install DESTDIR="${pkgdir}"
43   cd ..
44   cp -ar marble "${pkgdir}"/usr/share/${pkgname}/themes