[arch-commits] Commit in asciiportal/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Aug 15 23:45:17 UTC 2017
Date: Tuesday, August 15, 2017 @ 23:45:16
Author: arodseth
Revision: 251227
https sources
Modified:
asciiportal/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-15 23:20:07 UTC (rev 251226)
+++ PKGBUILD 2017-08-15 23:45:16 UTC (rev 251227)
@@ -1,3 +1,4 @@
+# $Id$
# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
# Contributor: Baptiste Jonglez <baptiste at jonglez.org>
# Contributor: Serge Ziryukin <ftrvxmtrx at gmail.com>
@@ -4,25 +5,26 @@
pkgname=asciiportal
pkgver=1.3
-pkgrel=2
-_tag=v$pkgver-beta8
+pkgrel=3
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")
+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() {
- # Generate desktop shortcut and icon
- gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'ASCIIpOrtal' --exec "$pkgname"
- convert "${pkgname}0.png" -resize 48x48\! "$pkgname.png"
+ gendesk -n -f \
+ --name ASCIIpOrtal \
+ --pkgname $pkgname \
+ --pkgdesc "$pkgdesc" \
+ --exec $pkgname
+
+ convert $pkgname.png -resize 48x48\! ${pkgname}48x48.png
}
build() {
@@ -32,8 +34,8 @@
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"
+ install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 ${pkgname}48x48.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
-# vim:set ts=2 sw=2 et:
+# vim:ts=2 sw=2 et:
Property changes on: asciiportal/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list