[arch-commits] Commit in (6 files)
Jonathan Steel
jsteel at nymeria.archlinux.org
Thu Jul 25 21:40:34 UTC 2013
Date: Thursday, July 25, 2013 @ 23:40:33
Author: jsteel
Revision: 94502
Adding to [community]
Added:
gnubg/
gnubg/repos/
gnubg/trunk/
gnubg/trunk/PKGBUILD
gnubg/trunk/gnubg.desktop
gnubg/trunk/gnubg.install
---------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
gnubg.desktop | 19 +++++++++++++++++++
gnubg.install | 11 +++++++++++
3 files changed, 68 insertions(+)
Added: gnubg/trunk/PKGBUILD
===================================================================
--- gnubg/trunk/PKGBUILD (rev 0)
+++ gnubg/trunk/PKGBUILD 2013-07-25 21:40:33 UTC (rev 94502)
@@ -0,0 +1,38 @@
+# Maintainer: jsteel <jsteel at aur.archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Stefan Clarke <fm0nk3y at 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
+}
Added: gnubg/trunk/gnubg.desktop
===================================================================
--- gnubg/trunk/gnubg.desktop (rev 0)
+++ gnubg/trunk/gnubg.desktop 2013-07-25 21:40:33 UTC (rev 94502)
@@ -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;
Added: gnubg/trunk/gnubg.install
===================================================================
--- gnubg/trunk/gnubg.install (rev 0)
+++ gnubg/trunk/gnubg.install 2013-07-25 21:40:33 UTC (rev 94502)
@@ -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
+}
More information about the arch-commits
mailing list