[arch-commits] Commit in asciiportal/repos (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Feb 4 04:31:54 UTC 2018


    Date: Sunday, February 4, 2018 @ 04:31:47
  Author: svenstaro
Revision: 288876

archrelease: copy trunk to community-staging-x86_64

Added:
  asciiportal/repos/community-staging-x86_64/
  asciiportal/repos/community-staging-x86_64/PKGBUILD
    (from rev 288875, asciiportal/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: asciiportal/repos/community-staging-x86_64/PKGBUILD (from rev 288875, asciiportal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-02-04 04:31:47 UTC (rev 288876)
@@ -0,0 +1,41 @@
+# $Id$
+# 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=4
+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')
+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 $pkgname.png -resize 48x48\! ${pkgname}48x48.png
+}
+
+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:



More information about the arch-commits mailing list