[arch-commits] Commit in gnubg/repos (3 files)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 3 15:30:50 UTC 2021


    Date: Friday, December 3, 2021 @ 15:30:50
  Author: jelle
Revision: 1064823

archrelease: copy trunk to community-staging-x86_64

Added:
  gnubg/repos/community-staging-x86_64/
  gnubg/repos/community-staging-x86_64/PKGBUILD
    (from rev 1064822, gnubg/trunk/PKGBUILD)
  gnubg/repos/community-staging-x86_64/gnubg.desktop
    (from rev 1064822, gnubg/trunk/gnubg.desktop)

---------------+
 PKGBUILD      |   41 +++++++++++++++++++++++++++++++++++++++++
 gnubg.desktop |   19 +++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: gnubg/repos/community-staging-x86_64/PKGBUILD (from rev 1064822, gnubg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-03 15:30:50 UTC (rev 1064823)
@@ -0,0 +1,41 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Stefan Clarke <fm0nk3y at yahoo.co.uk>
+
+pkgname=gnubg
+pkgver=1.06.002
+pkgrel=7
+pkgdesc="World class backgammon application"
+arch=('x86_64')
+url="https://www.gnu.org/software/gnubg/"
+license=('GPL3')
+depends=('python' 'gtkglext' 'curl')
+source=(ftp://ftp.gnu.org/gnu/gnubg/gnubg-release-$pkgver-sources.tar.gz
+        $pkgname.desktop)
+md5sums=('d3823526d5c503a961024d761adefd5e'
+         '965f5c7c25f60b27d06cc6fef7befd30')
+
+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=sse2
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname.desktop \
+    "$pkgdir"/usr/share/applications/$pkgname.desktop
+}

Copied: gnubg/repos/community-staging-x86_64/gnubg.desktop (from rev 1064822, gnubg/trunk/gnubg.desktop)
===================================================================
--- community-staging-x86_64/gnubg.desktop	                        (rev 0)
+++ community-staging-x86_64/gnubg.desktop	2021-12-03 15:30:50 UTC (rev 1064823)
@@ -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;



More information about the arch-commits mailing list