diff options
author | Carsten Teibes | 2022-04-09 16:18:01 +0200 |
---|---|---|
committer | Carsten Teibes | 2022-04-09 16:18:01 +0200 |
commit | 1017d6f2de52ccdb60749ab49e410e5a08005b86 (patch) | |
tree | b4e9670ab4df938ea7f99a183ac19ed82fa80a99 | |
parent | 8e6777a9307a8655b8c120ff7b398bbb13c4657e (diff) | |
download | aur-xrick.tar.gz |
[fix] building
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = xrick pkgdesc = Clone of Rick Dangerous, a classic platform game pkgver = 021212 - pkgrel = 10 + pkgrel = 11 url = http://www.bigorno.net/xrick arch = i686 arch = x86_64 @@ -17,4 +17,3 @@ pkgbase = xrick sha256sums = 5d8c57aeb0b4e445576f86aaa8b851315c4c31d03544f7ad4b95c9507551a625 pkgname = xrick - @@ -3,7 +3,7 @@ pkgname=xrick pkgver=021212 -pkgrel=10 +pkgrel=11 pkgdesc='Clone of Rick Dangerous, a classic platform game' arch=('i686' 'x86_64') url='http://www.bigorno.net/xrick' @@ -22,8 +22,10 @@ prepare() { # change data path sed 's|"data.zip"|"/usr/share/xrick/data.zip"|' -i src/xrick.c - # add our build flags - sed "s|CFLAGS=|CFLAGS+=|;s|LDFLAGS=|LDFLAGS+=|" -i Makefile + # add our build flags and gcc10+ fix + sed "s|CFLAGS=|CFLAGS+=-fcommon |;s|LDFLAGS=|LDFLAGS+=|" -i Makefile + # fix format-security + sed 's|printf(s)|printf("%s\\n", s)|' -i src/system.c # create icon convert src/xrickST.ico xrick.png |