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

Alexander Rødseth arodseth at archlinux.org
Mon Sep 9 10:19:22 UTC 2019


    Date: Monday, September 9, 2019 @ 10:19:22
  Author: arodseth
Revision: 509095

archrelease: copy trunk to community-x86_64

Added:
  asciiportal/repos/community-x86_64/PKGBUILD
    (from rev 509094, asciiportal/trunk/PKGBUILD)
Deleted:
  asciiportal/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 50 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-09 10:19:17 UTC (rev 509094)
+++ PKGBUILD	2019-09-09 10:19:22 UTC (rev 509095)
@@ -1,47 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Baptiste Jonglez <baptiste at jonglez.org>
-# Contributor: Serge Ziryukin <ftrvxmtrx at gmail.com>
-
-pkgname=asciiportal
-pkgver=1.3
-pkgrel=5
-pkgdesc='Text based puzzle game inspired by the popular video game'
-arch=('x86_64')
-url='https://github.com/cymonsgames/ASCIIpOrtal'
-license=('GPL3')
-depends=('pdcurses' 'sdl' 'sdl_mixer' 'yaml-cpp')
-makedepends=('boost' 'gendesk' 'git' 'imagemagick' 'setconf')
-source=("git+https://github.com/cymonsgames/ASCIIpOrtal.git#tag=v$pkgver-beta8"
-        "${pkgname}.png::https://fc01.deviantart.net/fs71/f/2010/318/3/5/portal_ascii_icon___button_by_lightmystic-d32udqx.png") # icon by Matt White under a CC license
-sha256sums=('SKIP'
-            '390f21881377b331f1a65a3e54ccf91fba72a88146058cc146f914a1185de9d1')
-
-prepare() {
-  gendesk -n -f \
-    --name ASCIIpOrtal \
-    --pkgname $pkgname \
-    --pkgdesc "$pkgdesc" \
-    --exec $pkgname
-
-  convert \
-    +set date:create +set date:modify \
-    $pkgname.png \
-    -resize 48x48\! \
-    ${pkgname}48x48.png
-
-  setconf \
-    ASCIIpOrtal/Makefile.linux \
-    CXXFLAGS="$CXXFLAGS -I/usr/include/xcurses $(pkg-config sdl --cflags) -U__NOSDL__ -U__NOSOUND__ -U__DINGOO__ -U__GP2X__ -O0 -w"
-}
-
-build() {
-  make -C ASCIIpOrtal linux
-}
-
-package() {
-  make -C ASCIIpOrtal DESTDIR="$pkgdir" install
-  install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
-  install -Dm644 ${pkgname}48x48.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
-}
-
-# vim: ts=2 sw=2 et:

Copied: asciiportal/repos/community-x86_64/PKGBUILD (from rev 509094, asciiportal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-09 10:19:22 UTC (rev 509095)
@@ -0,0 +1,50 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Baptiste Jonglez <baptiste at jonglez.org>
+# Contributor: Serge Ziryukin <ftrvxmtrx at gmail.com>
+
+pkgname=asciiportal
+pkgver=1.3.8
+pkgrel=1
+pkgdesc='Text based puzzle game inspired by the popular video game'
+arch=(x86_64)
+url='https://github.com/cymonsgames/ASCIIpOrtal'
+license=(custom GPL3)
+depends=(pdcurses sdl_mixer yaml-cpp)
+makedepends=(boost gendesk git imagemagick setconf)
+source=("git+https://github.com/cymonsgames/ASCIIpOrtal.git#tag=v${pkgver%.8}-beta${pkgver#*.*.}"
+        "$pkgname.png::https://fc01.deviantart.net/fs71/f/2010/318/3/5/portal_ascii_icon___button_by_lightmystic-d32udqx.png")
+sha256sums=('SKIP'
+            '390f21881377b331f1a65a3e54ccf91fba72a88146058cc146f914a1185de9d1')
+
+prepare() {
+  gendesk -n -f \
+    --name ASCIIpOrtal \
+    --pkgname $pkgname \
+    --pkgdesc "$pkgdesc" \
+    --exec $pkgname
+  convert \
+    +set date:create +set date:modify \
+    $pkgname.png \
+    -resize 48x48\! \
+    ${pkgname}48x48.png
+  setconf \
+    ASCIIpOrtal/Makefile.linux \
+    CXXFLAGS="$CXXFLAGS -I/usr/include/xcurses $(pkg-config sdl --cflags) $(pkg-config SDL_mixer --cflags) -U__NOSDL__ -U__NOSOUND__ -U__DINGOO__ -U__GP2X__ -O0 -w"
+  setconf \
+    ASCIIpOrtal/Makefile.linux \
+    LINKFLAGS="\$(LINKFLAGS) \$(LDFLAGS) -L/usr/lib $(pkg-config sdl --libs) $(pkg-config SDL_mixer --libs) -lpdcurses"
+  echo 'The ASCIIportal icon is drawn by Matt White and licensed under a CC license' > icon.txt
+}
+
+build() {
+  make -C ASCIIpOrtal linux
+}
+
+package() {
+  make -C ASCIIpOrtal DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 ${pkgname}48x48.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+  install -Dm644 "$srcdir/icon.txt" "$pkgdir/usr/share/licenses/$pkgname/icon.txt"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list