PKGBUILDs/community/gnubg/PKGBUILD

41 lines
998 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
2015-04-25 15:07:44 +00:00
pkgver=1.05.000
2014-08-10 13:30:27 +00:00
pkgrel=1
2014-11-02 16:24:58 +00:00
pkgdesc="World class backgammon application"
2014-08-10 13:30:27 +00:00
arch=('i686' 'x86_64')
url="http://www.gnubg.org"
2014-11-02 16:24:58 +00:00
license=('GPL3')
2015-04-25 15:07:44 +00:00
depends=('python2' 'gtkglext' 'hicolor-icon-theme' 'curl')
2014-08-10 13:30:27 +00:00
install=$pkgname.install
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
$pkgname.desktop)
2015-04-25 15:07:44 +00:00
md5sums=('2c2d291deedcb72d1fcbbd8faf90d55c'
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
}