PKGBUILDs/community/gnubg/PKGBUILD

40 lines
945 B
Bash
Raw Normal View History

2014-10-07 21:35:25 +00:00
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
2014-08-10 13:30:27 +00:00
# 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
2017-12-13 13:28:03 +00:00
pkgver=1.06.000
pkgrel=1
2014-11-02 16:24:58 +00:00
pkgdesc="World class backgammon application"
2017-12-13 13:28:03 +00:00
arch=('x86_64')
2014-08-10 13:30:27 +00:00
url="http://www.gnubg.org"
2014-11-02 16:24:58 +00:00
license=('GPL3')
2016-05-05 23:50:06 +00:00
depends=('python2' 'gtkglext' 'curl')
2014-08-10 13:30:27 +00:00
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
$pkgname.desktop)
2017-12-13 13:28:03 +00:00
md5sums=('7fc51dc90f5ca3cba02acbcd2476b1a5'
2014-08-10 13:30:27 +00:00
'965f5c7c25f60b27d06cc6fef7befd30')
build() {
2014-11-02 16:24:58 +00:00
cd $pkgname-$pkgver
2014-08-10 13:30:27 +00:00
./autogen.sh
./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
--mandir=/usr/share/man --enable-simd=no
make
}
package() {
2014-11-02 16:24:58 +00:00
cd $pkgname-$pkgver
2014-08-10 13:30:27 +00:00
2014-11-02 16:24:58 +00:00
make DESTDIR="$pkgdir" install
2014-08-10 13:30:27 +00:00
install -Dm644 "$srcdir"/$pkgname.desktop \
"$pkgdir"/usr/share/applications/$pkgname.desktop
}