PKGBUILDs/community/gnubg/PKGBUILD

40 lines
965 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
2018-10-06 20:26:50 +00:00
pkgver=1.06.002
2020-12-02 19:22:36 +00:00
pkgrel=5
2014-11-02 16:24:58 +00:00
pkgdesc="World class backgammon application"
2017-12-13 13:28:03 +00:00
arch=('x86_64')
2019-05-12 15:58:34 +00:00
url="https://www.gnu.org/software/gnubg/"
2014-11-02 16:24:58 +00:00
license=('GPL3')
2019-05-12 15:58:34 +00:00
depends=('python' 'gtkglext' 'curl')
2019-11-14 13:57:36 +00:00
source=(ftp://ftp.gnu.org/gnu/gnubg/gnubg-release-$pkgver-sources.tar.gz
2014-08-10 13:30:27 +00:00
$pkgname.desktop)
2018-10-06 20:26:50 +00:00
md5sums=('d3823526d5c503a961024d761adefd5e'
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
}