summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastian Riedel2020-06-15 18:35:49 +0200
committerSebastian Riedel2020-06-15 18:35:49 +0200
commit09980f9916d9064effa467ea1fda9e5807a906a8 (patch)
tree8a1949273866e1cd3eacf81e70e7b7bbb83904c1 /PKGBUILD
parent0d83f1945c8af4a12bd8ebd573dd72e52cbd14c4 (diff)
downloadaur-gbdk-2020.tar.gz
Avoid sed
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8c548636399..166ded00dab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gbdk-2020
pkgver=3.2
-pkgrel=2
+pkgrel=3
pkgdesc="An updated version of Game Boy Development Kit"
url="https://github.com/Zal0/gbdk-2020"
license=('MIT')
@@ -11,15 +11,13 @@ arch=('x86_64' 'i686')
makedepends=('sdcc')
depends=('sdcc')
conflicts=('gbdk' 'lcc')
-source=("git+https://github.com/basxto/gbdk-2020#commit=01cdbb621afa61de77e394de76161bd8aa65848d")
+source=("git+https://github.com/basxto/gbdk-2020#commit=a48239d6e38738611553d62e43e04546b3f4aece")
#should be merged in the next version
#source=("https://github.com/Zal0/gbdk-2020/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
package() {
- sed "s|%prefix%bin/|/usr/bin/|g" -i ${pkgname}/gbdk-support/lcc/gb.c
- make -C ${pkgname} gbdk-build TARGETDIR=/opt/${pkgname} SDCCDIR=/usr/
- make -C ${pkgname} gbdk-install-nosdcc TARGETDIR=/opt/${pkgname} SDCCDIR=/usr/
+ make -C ${pkgname} gbdk-build gbdk-install-nosdcc TARGETDIR=/opt/${pkgname} BINDIR=/usr/bin/ SDCCDIR=/usr/
mkdir -p ${pkgdir}/usr
mkdir -p ${pkgdir}/opt