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
|
2022-11-23 02:06:30 +00:00
|
|
|
pkgver=1.07.001
|
2023-05-03 19:23:54 +00:00
|
|
|
pkgrel=2
|
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)
|
2022-11-23 02:06:30 +00:00
|
|
|
sha256sums=('72399729419cad9f112c3066a12d0000da450a456add7b094d89155069d6821e'
|
|
|
|
'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
|
|
|
|
}
|