diff options
author | luigoalma | 2018-07-27 02:10:59 +0100 |
---|---|---|
committer | luigoalma | 2018-07-27 02:10:59 +0100 |
commit | 9c6a47f0472c01986983962d6c8f6adbf295505f (patch) | |
tree | 9200800636c8567b9cce39c16acb7c2f196d43fa | |
parent | 8b9d5438bf75020bfba6e06afe6018814eb29bd8 (diff) | |
download | aur-9c6a47f0472c01986983962d6c8f6adbf295505f.tar.gz |
Maybe keep CFLAGS/CPPFLAGS given by makepkg might be a good idea
Derp
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 6 deletions
@@ -1,9 +1,8 @@ pkgbase = simple2d pkgdesc = Simple, open-source 2D graphics for everyone pkgver = 0.9.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/simple2d/simple2d - arch = i686 arch = x86_64 license = MIT depends = sdl2 @@ -2,9 +2,9 @@ pkgname=simple2d pkgver=0.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="Simple, open-source 2D graphics for everyone" -arch=('i686' 'x86_64') +arch=($CARCH) url="https://github.com/simple2d/simple2d" license=('MIT') depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf') @@ -14,11 +14,12 @@ sha256sums=('c03497b47a74dd220be8ff3aeedfa42bce36babd23df582281bf0f0c8b48ef0f') build() { cd "$srcdir"/simple2d-${pkgver} - make + #maybe do a patch to load to makefile to load them instead of manually changing this every time if need be + make CFLAGS="$CFLAGS $CPPFLAGS -std=c11 -fPIC" } package() { cd "$srcdir"/simple2d-${pkgver} make install PREFIX="$pkgdir"/usr - rm -rf "$pkgdir"/usr/bin + rm "$pkgdir"/usr/bin/simple2d } |