diff options
author | root <root@rshg054.dnsready.net> | 2013-07-26 01:14:24 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-26 01:14:24 -0700 |
commit | 09c5dbb237be55059b6816f81295f2f122742a0a (patch) | |
tree | 1e175dc5bb6de2e61d52b8fba36b6fea52517685 /community/gnubg | |
parent | d184897bb273331edc2aa9c37f6514f9956c58f4 (diff) |
Fri Jul 26 01:13:58 PDT 2013
Diffstat (limited to 'community/gnubg')
-rw-r--r-- | community/gnubg/PKGBUILD | 38 | ||||
-rw-r--r-- | community/gnubg/gnubg.desktop | 19 | ||||
-rw-r--r-- | community/gnubg/gnubg.install | 11 |
3 files changed, 68 insertions, 0 deletions
diff --git a/community/gnubg/PKGBUILD b/community/gnubg/PKGBUILD new file mode 100644 index 000000000..5ad5b0c0b --- /dev/null +++ b/community/gnubg/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: jsteel <jsteel@aur.archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Stefan Clarke <fm0nk3y@yahoo.co.uk> + +pkgname=gnubg +pkgver=1.01.003 +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') +conflicts=('gnubg-cli' 'gnubg-cvs') +install=$pkgname.install +source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz + $pkgname.desktop) +md5sums=('5b03cf8634abe2822eee4db1317f0754' + '965f5c7c25f60b27d06cc6fef7befd30') + +build() { + cd "$srcdir"/$pkgname-$pkgver + + ./autogen.sh + + ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \ + --mandir=/usr/share/man + + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + make DESTDIR="$pkgdir"/ install + + install -Dm644 "$srcdir"/$pkgname.desktop \ + "$pkgdir"/usr/share/applications/$pkgname.desktop +} diff --git a/community/gnubg/gnubg.desktop b/community/gnubg/gnubg.desktop new file mode 100644 index 000000000..a0d3ba75d --- /dev/null +++ b/community/gnubg/gnubg.desktop @@ -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; diff --git a/community/gnubg/gnubg.install b/community/gnubg/gnubg.install new file mode 100644 index 000000000..1a05f573e --- /dev/null +++ b/community/gnubg/gnubg.install @@ -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 +} |