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

Kyle Keen kkeen at archlinux.org
Tue Dec 8 10:26:36 UTC 2020


    Date: Tuesday, December 8, 2020 @ 10:26:35
  Author: kkeen
Revision: 771763

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-08 10:26:25 UTC (rev 771762)
+++ PKGBUILD	2020-12-08 10:26:35 UTC (rev 771763)
@@ -1,48 +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.0
-pkgrel=1
-pkgdesc='A Tron Clone in 3D.'
-arch=('x86_64')
-url='http://armagetronad.net/'
-license=('GPL')
-depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl')
-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=('754159a3a7817610035d1729610b4369')
-
-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
-}
-
-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"
-     install -d "$pkgdir/usr/share/pixmaps/"
-     ln -s /usr/share/armagetronad/desktop/icons/large/armagetronad.png \
-           "$pkgdir/usr/share/pixmaps/armagetronad.png"
-     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 771762, armagetronad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-08 10:26:35 UTC (rev 771763)
@@ -0,0 +1,48 @@
+# 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=1
+pkgdesc='A Tron Clone in 3D.'
+arch=('x86_64')
+url='http://armagetronad.net/'
+license=('GPL')
+depends=('sdl_image' 'libxml2' 'sdl_mixer' 'ftgl')
+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
+}
+
+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"
+     install -d "$pkgdir/usr/share/pixmaps/"
+     ln -s /usr/share/armagetronad/desktop/icons/large/armagetronad.png \
+           "$pkgdir/usr/share/pixmaps/armagetronad.png"
+     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