[arch-commits] Commit in armagetronad/repos/community-x86_64 (PKGBUILD PKGBUILD)

Allan McRae allan at gemini.archlinux.org
Sun Apr 24 12:36:17 UTC 2022


    Date: Sunday, April 24, 2022 @ 12:36:17
  Author: allan
Revision: 1189562

archrelease: copy trunk to community-x86_64

Added:
  armagetronad/repos/community-x86_64/PKGBUILD
    (from rev 1189561, armagetronad/trunk/PKGBUILD)
Deleted:
  armagetronad/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-24 12:35:50 UTC (rev 1189561)
+++ PKGBUILD	2022-04-24 12:36:17 UTC (rev 1189562)
@@ -1,49 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Filippo 'JoeyrS' Civiletti <joeyrs at gmail.com>
-
-pkgname=armagetronad
-pkgver=0.2.9.1.0
-pkgrel=2
-pkgdesc='A Tron Clone in 3D.'
-arch=('x86_64')
-url='http://armagetronad.net/'
-license=('GPL')
-depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl' 'hicolor-icon-theme')
-makedepends=('python')
-optdepends=('python: language updater')
-#source=("https://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.src.tar.gz")
-source=("https://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.tbz")
-md5sums=('038a7add2ea5868c02dbc5cea7fef533')
-
-prepare() {
-     cd "$srcdir/armagetronad-$pkgver"
-     2to3 -w language/update.py
-
-     sed -i 's|FTGL.h|ftgl.h|g' configure
-     sed -i 's|png_check_sig|png_sig_cmp|g' configure
-     sed -i -r '/desktop-id/ s/(<!-- )|(org.armagetronad.)|( -->)//g' desktop/armagetronad.appdata.xml.in
-}
-
-build() {
-     cd "$srcdir/armagetronad-$pkgver"
-     ./configure --prefix=/usr \
-        --sysconfdir=/etc \
-        --mandir=/usr/share/man \
-        --disable-games \
-        --enable-automakedefaults \
-        --disable-uninstall
-     make
-}
-
-package() {
-     cd "$srcdir/armagetronad-$pkgver"
-     make DESTDIR="$pkgdir" install
-     install -D -m 644 "desktop/armagetronad.desktop" "$pkgdir/usr/share/applications/armagetronad.desktop"
-     for f in 16x16 32x32 48x48; do
-       ln -s /usr/share/armagetronad/desktop/icons/$f/armagetronad.png "$pkgdir/usr/share/icons/hicolor/$f/apps/armagetronad.png"
-     done
-     mv "$pkgdir/usr/bin/armagetronad" "$pkgdir/usr/bin/armagetronad_bin"
-     printf "#!/bin/bash\n/usr/bin/armagetronad_bin --configdir /etc/armagetronad --datadir /usr/share/armagetronad" > "$pkgdir/usr/bin/armagetronad"
-     chmod +x "$pkgdir/usr/bin/armagetronad"
-}

Copied: armagetronad/repos/community-x86_64/PKGBUILD (from rev 1189561, armagetronad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-24 12:36:17 UTC (rev 1189562)
@@ -0,0 +1,49 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Filippo 'JoeyrS' Civiletti <joeyrs at gmail.com>
+
+pkgname=armagetronad
+pkgver=0.2.9.1.0
+pkgrel=3
+pkgdesc='A Tron Clone in 3D.'
+arch=('x86_64')
+url='http://armagetronad.net/'
+license=('GPL')
+depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl' 'hicolor-icon-theme')
+makedepends=('python')
+optdepends=('python: language updater')
+#source=("https://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.src.tar.gz")
+source=("https://downloads.sourceforge.net/sourceforge/armagetronad/armagetronad-$pkgver.tbz")
+md5sums=('038a7add2ea5868c02dbc5cea7fef533')
+
+prepare() {
+     cd "$srcdir/armagetronad-$pkgver"
+     2to3 -w language/update.py
+
+     sed -i 's|FTGL.h|ftgl.h|g' configure
+     sed -i 's|png_check_sig|png_sig_cmp|g' configure
+     sed -i -r '/desktop-id/ s/(<!-- )|(org.armagetronad.)|( -->)//g' desktop/armagetronad.appdata.xml.in
+}
+
+build() {
+     cd "$srcdir/armagetronad-$pkgver"
+     ./configure --prefix=/usr \
+        --sysconfdir=/etc \
+        --mandir=/usr/share/man \
+        --disable-games \
+        --enable-automakedefaults \
+        --disable-uninstall
+     make
+}
+
+package() {
+     cd "$srcdir/armagetronad-$pkgver"
+     make DESTDIR="$pkgdir" install
+     install -D -m 644 "desktop/armagetronad.desktop" "$pkgdir/usr/share/applications/armagetronad.desktop"
+     for f in 16x16 32x32 48x48; do
+       ln -s /usr/share/armagetronad/desktop/icons/$f/armagetronad.png "$pkgdir/usr/share/icons/hicolor/$f/apps/armagetronad.png"
+     done
+     mv "$pkgdir/usr/bin/armagetronad" "$pkgdir/usr/bin/armagetronad_bin"
+     printf "#!/bin/bash\n/usr/bin/armagetronad_bin --configdir /etc/armagetronad --datadir /usr/share/armagetronad" > "$pkgdir/usr/bin/armagetronad"
+     chmod +x "$pkgdir/usr/bin/armagetronad"
+}



More information about the arch-commits mailing list