PKGBUILDs/community/gnubg/PKGBUILD
2014-10-07 17:35:25 -04:00

40 lines
1,013 B
Bash

# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Stefan Clarke <fm0nk3y@yahoo.co.uk>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - --enable-simd=no
pkgname=gnubg
pkgver=1.03.001
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')
install=$pkgname.install
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
$pkgname.desktop)
md5sums=('9b04110dcee6eb1297d2d11992525737'
'965f5c7c25f60b27d06cc6fef7befd30')
build() {
cd "$srcdir"/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
--mandir=/usr/share/man --enable-simd=no
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir"/ install
install -Dm644 "$srcdir"/$pkgname.desktop \
"$pkgdir"/usr/share/applications/$pkgname.desktop
}