mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
added community/gnubg
This commit is contained in:
parent
e33e94d5f4
commit
db87ac373a
3 changed files with 70 additions and 0 deletions
40
community/gnubg/PKGBUILD
Normal file
40
community/gnubg/PKGBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Maintainer: Jonathan Steel <jsteel at aur.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.03.000
|
||||
pkgrel=1
|
||||
pkgdesc="A world class backgammon application"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnubg.org"
|
||||
license=('GPL')
|
||||
depends=('python2' 'gtkglext' 'hicolor-icon-theme')
|
||||
install=$pkgname.install
|
||||
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
|
||||
$pkgname.desktop)
|
||||
md5sums=('8447449769e545240bfe4c98c4c26ac1'
|
||||
'965f5c7c25f60b27d06cc6fef7befd30')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
|
||||
./autogen.sh
|
||||
|
||||
./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
|
||||
--mandir=/usr/share/man --enable-simd=no
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir"/ install
|
||||
|
||||
install -Dm644 "$srcdir"/$pkgname.desktop \
|
||||
"$pkgdir"/usr/share/applications/$pkgname.desktop
|
||||
}
|
19
community/gnubg/gnubg.desktop
Normal file
19
community/gnubg/gnubg.desktop
Normal file
|
@ -0,0 +1,19 @@
|
|||
[Desktop Entry]
|
||||
Name=GNU Backgammon
|
||||
Name[hr]=GNU Tavla
|
||||
Name[ru]=GNU Нарды
|
||||
Name[sr]=ГНУ Тавла
|
||||
GenericName=Backgammon
|
||||
GenericName[hr]=Tavla
|
||||
GenericName[ru]=Нарды
|
||||
GenericName[sr]=Тавла
|
||||
Comment=GNU Backgammon
|
||||
Comment[hr]=GNU Tavla
|
||||
Comment[ru]=GNU Короткие нарды
|
||||
Comment[sr]=GNU Тавла
|
||||
Exec=gnubg
|
||||
Icon=gnubg
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GTK;Game;StrategyGame;
|
11
community/gnubg/gnubg.install
Normal file
11
community/gnubg/gnubg.install
Normal file
|
@ -0,0 +1,11 @@
|
|||
post_install() {
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue