updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / rftg / PKGBUILD
blobd2e073a52148379748716318d2ea6528b4b18891
1 pkgname=rftg
2 pkgver=0.8.1
3 pkgrel=1
4 pkgdesc="Singleplayer and online implementation of the card game Race for the Galaxy by Tom Lehman."
5 arch=(i686 x86_64)
6 url="http://keldon.net/rftg/"
7 license=('GPL')
8 groups=()
9 depends=('gtk2>=2.16')
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://warpcore.org/rftg/$pkgname-$pkgver.tar.bz2 $pkgname.desktop rftg.svg)
17 noextract=()
18 md5sums=('e1c027daf0c801c8f4aa780a4f34fc4a'                                                                                                                                         
19          'b860c2470ab27be2ab5db5348803cbd8'                                                                                                                                         
20          'e0ad78078729229ad1414276348b7d98')
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
25   ./configure --prefix=/usr #--enable-server
26   make || return 1
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
32   make DESTDIR="$pkgdir/" install
33   install -D -m644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
34   install -D -m644 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/rftg/$pkgname.svg"