updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / gnubg / PKGBUILD
blobb1dcd93854292f64260b0c607c2d5e0decfdda95
1 # Maintainer: jsteel <jsteel at vorx dot com>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3 # Contributor: Stefan Clarke <fm0nk3y@yahoo.co.uk>
5 pkgname=gnubg
6 pkgver=20111107
7 pkgrel=2
8 pkgdesc="Backgammon"
9 arch=('i686' 'x86_64')
10 url="http://www.gnubg.org"
11 license=('GPL')
12 depends=('python' 'gtkglext' 'bison' 'flex')
13 conflicts=('gnubg-cli' 'gnubg-cvs')
14 install=$pkgname.install
15 source=(http://www.gnubg.org/media/sources/$pkgname-source-SNAPSHOT-$pkgver.tar.gz
16         gnubg.desktop)
17 md5sums=('1cece91210975c7ebe5dc01d6e64cf3b'
18          '965f5c7c25f60b27d06cc6fef7befd30')
20 build() {
21   cd "$srcdir/$pkgname"
22   ./autogen.sh
23   ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc --mandir=/usr/share/man
24   make
27 package() {
28   cd "$srcdir/$pkgname"
29   make DESTDIR="$pkgdir" install
30   install -Dm 644 ../../gnubg.desktop "$pkgdir"/usr/share/applications/gnubg.desktop