PKGBUILDs/community/gnubg/PKGBUILD
2021-12-12 23:47:55 +00:00

44 lines
1.1 KiB
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.06.002
pkgrel=7
pkgdesc="World class backgammon application"
arch=('x86_64')
url="https://www.gnu.org/software/gnubg/"
license=('GPL3')
depends=('python' 'gtkglext' 'curl')
source=(ftp://ftp.gnu.org/gnu/gnubg/gnubg-release-$pkgver-sources.tar.gz
$pkgname.desktop)
md5sums=('d3823526d5c503a961024d761adefd5e'
'965f5c7c25f60b27d06cc6fef7befd30')
prepare() {
cd $pkgname-$pkgver
sed -i 's/-f/-fn/' doc/Makefile.in doc/Makefile.am
}
build() {
cd $pkgname-$pkgver
./autogen.sh
PYTHONWARNINGS=ignore ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
--mandir=/usr/share/man --enable-simd=no
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/$pkgname.desktop \
"$pkgdir"/usr/share/applications/$pkgname.desktop
}