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
|
2024-03-08 20:08:43 +00:00
|
|
|
pkgver=1.08.002
|
|
|
|
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')
|
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')
|
2022-11-23 02:06:30 +00:00
|
|
|
source=(https://ftp.gnu.org/gnu/gnubg/gnubg-release-$pkgver-sources.tar.gz
|
2014-08-10 13:30:27 +00:00
|
|
|
$pkgname.desktop)
|
2024-03-08 20:08:43 +00:00
|
|
|
sha256sums=('3ed7e5290d71698dd535c47df602f48db8c9f9cadd7f5be935d5596765e2bc4f'
|
2022-11-23 02:06:30 +00:00
|
|
|
'e9b40a2ce5e0b4f3c517913189abc138fe3377d86ca0baafa2b220c962caf7f1')
|
2014-08-10 13:30:27 +00:00
|
|
|
|
2021-07-31 19:58:36 +00:00
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
sed -i 's/-f/-fn/' doc/Makefile.in doc/Makefile.am
|
|
|
|
}
|
|
|
|
|
2014-08-10 13:30:27 +00:00
|
|
|
build() {
|
2014-11-02 16:24:58 +00:00
|
|
|
cd $pkgname-$pkgver
|
2014-08-10 13:30:27 +00:00
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
2021-12-12 23:47:55 +00:00
|
|
|
PYTHONWARNINGS=ignore ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
|
2014-08-10 13:30:27 +00:00
|
|
|
--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
|
|
|
|
}
|