Date: Saturday, April 30, 2016 @ 13:39:43 Author: arodseth Revision: 173123
Move from AUR. 50 votes, 0.71 popularity, actively maintained Added: asciiportal/ asciiportal/repos/ asciiportal/repos/community-i686/ asciiportal/repos/community-x86_64/ asciiportal/trunk/ asciiportal/trunk/PKGBUILD ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Added: asciiportal/trunk/PKGBUILD =================================================================== --- asciiportal/trunk/PKGBUILD (rev 0) +++ asciiportal/trunk/PKGBUILD 2016-04-30 11:39:43 UTC (rev 173123) @@ -0,0 +1,39 @@ +# Maintainer: Alexander F Rødseth <[email protected]> +# Contributor: Baptiste Jonglez <[email protected]> +# Contributor: Serge Ziryukin <[email protected]> + +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:
