[arch-commits] Commit in asciiportal/repos (2 files)
Alexander Rødseth
arodseth at archlinux.org
Sat Apr 30 11:40:03 UTC 2016
Date: Saturday, April 30, 2016 @ 13:40:03
Author: arodseth
Revision: 173124
archrelease: copy trunk to community-x86_64, community-i686
Added:
asciiportal/repos/community-i686/PKGBUILD
(from rev 173123, asciiportal/trunk/PKGBUILD)
asciiportal/repos/community-x86_64/PKGBUILD
(from rev 173123, asciiportal/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: asciiportal/repos/community-i686/PKGBUILD (from rev 173123, asciiportal/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-04-30 11:40:03 UTC (rev 173124)
@@ -0,0 +1,39 @@
+# 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=2
+_tag=v$pkgver-beta8
+pkgdesc='Text based puzzle game inspired by the popular video game'
+arch=('x86_64' 'i686')
+url='https://github.com/cymonsgames/ASCIIpOrtal'
+license=('GPL3')
+depends=('sdl' 'sdl_mixer' 'pdcurses' 'yaml-cpp')
+makedepends=('git' 'boost')
+makedepends=('imagemagick' 'gendesk' 'git' 'boost')
+# The icon is by Matt White and is released under a CC license
+source=("git://github.com/cymonsgames/ASCIIpOrtal.git#tag=$_tag"
+ "${pkgname}0.png::http://fc01.deviantart.net/fs71/f/2010/318/3/5/portal_ascii_icon___button_by_lightmystic-d32udqx.png")
+sha256sums=('SKIP'
+ '390f21881377b331f1a65a3e54ccf91fba72a88146058cc146f914a1185de9d1')
+
+prepare() {
+ # Generate desktop shortcut and icon
+ gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'ASCIIpOrtal' --exec "$pkgname"
+ convert "${pkgname}0.png" -resize 48x48\! "$pkgname.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.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: asciiportal/repos/community-x86_64/PKGBUILD (from rev 173123, asciiportal/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-04-30 11:40:03 UTC (rev 173124)
@@ -0,0 +1,39 @@
+# 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=2
+_tag=v$pkgver-beta8
+pkgdesc='Text based puzzle game inspired by the popular video game'
+arch=('x86_64' 'i686')
+url='https://github.com/cymonsgames/ASCIIpOrtal'
+license=('GPL3')
+depends=('sdl' 'sdl_mixer' 'pdcurses' 'yaml-cpp')
+makedepends=('git' 'boost')
+makedepends=('imagemagick' 'gendesk' 'git' 'boost')
+# The icon is by Matt White and is released under a CC license
+source=("git://github.com/cymonsgames/ASCIIpOrtal.git#tag=$_tag"
+ "${pkgname}0.png::http://fc01.deviantart.net/fs71/f/2010/318/3/5/portal_ascii_icon___button_by_lightmystic-d32udqx.png")
+sha256sums=('SKIP'
+ '390f21881377b331f1a65a3e54ccf91fba72a88146058cc146f914a1185de9d1')
+
+prepare() {
+ # Generate desktop shortcut and icon
+ gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'ASCIIpOrtal' --exec "$pkgname"
+ convert "${pkgname}0.png" -resize 48x48\! "$pkgname.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.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list