mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
44 lines
1.1 KiB
Bash
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.07.001
|
|
pkgrel=1
|
|
pkgdesc="World class backgammon application"
|
|
arch=('x86_64')
|
|
url="https://www.gnu.org/software/gnubg/"
|
|
license=('GPL3')
|
|
depends=('python' 'gtkglext' 'curl')
|
|
source=(https://ftp.gnu.org/gnu/gnubg/gnubg-release-$pkgver-sources.tar.gz
|
|
$pkgname.desktop)
|
|
sha256sums=('72399729419cad9f112c3066a12d0000da450a456add7b094d89155069d6821e'
|
|
'e9b40a2ce5e0b4f3c517913189abc138fe3377d86ca0baafa2b220c962caf7f1')
|
|
|
|
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
|
|
}
|