[arch-commits] Commit in asciiportal/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Sep 28 08:54:06 UTC 2018
Date: Friday, September 28, 2018 @ 08:54:06
Author: arodseth
Revision: 386970
upgpkg: asciiportal 1.3-5
Modified:
asciiportal/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-28 08:51:53 UTC (rev 386969)
+++ PKGBUILD 2018-09-28 08:54:06 UTC (rev 386970)
@@ -10,7 +10,7 @@
url='https://github.com/cymonsgames/ASCIIpOrtal'
license=('GPL3')
depends=('pdcurses' 'sdl' 'sdl_mixer' 'yaml-cpp')
-makedepends=('boost' 'gendesk' 'git' 'imagemagick')
+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'
@@ -22,11 +22,16 @@
--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() {
More information about the arch-commits
mailing list