diff options
Diffstat (limited to 'community/gnubg/PKGBUILD')
-rw-r--r-- | community/gnubg/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/gnubg/PKGBUILD b/community/gnubg/PKGBUILD new file mode 100644 index 000000000..5ad5b0c0b --- /dev/null +++ b/community/gnubg/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: jsteel <jsteel@aur.archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Stefan Clarke <fm0nk3y@yahoo.co.uk> + +pkgname=gnubg +pkgver=1.01.003 +pkgrel=1 +pkgdesc="A world class backgammon application" +arch=('i686' 'x86_64') +url="http://www.gnubg.org" +license=('GPL') +depends=('python2' 'gtkglext' 'hicolor-icon-theme') +conflicts=('gnubg-cli' 'gnubg-cvs') +install=$pkgname.install +source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz + $pkgname.desktop) +md5sums=('5b03cf8634abe2822eee4db1317f0754' + '965f5c7c25f60b27d06cc6fef7befd30') + +build() { + cd "$srcdir"/$pkgname-$pkgver + + ./autogen.sh + + ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \ + --mandir=/usr/share/man + + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + make DESTDIR="$pkgdir"/ install + + install -Dm644 "$srcdir"/$pkgname.desktop \ + "$pkgdir"/usr/share/applications/$pkgname.desktop +} |