summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Riedel2020-06-15 18:35:49 +0200
committerSebastian Riedel2020-06-15 18:35:49 +0200
commit09980f9916d9064effa467ea1fda9e5807a906a8 (patch)
tree8a1949273866e1cd3eacf81e70e7b7bbb83904c1
parent0d83f1945c8af4a12bd8ebd573dd72e52cbd14c4 (diff)
downloadaur-gbdk-2020.tar.gz
Avoid sed
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2757ff49180..1e83b640e09 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gbdk-2020
pkgdesc = An updated version of Game Boy Development Kit
pkgver = 3.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/Zal0/gbdk-2020
arch = x86_64
arch = i686
@@ -10,7 +10,7 @@ pkgbase = gbdk-2020
depends = sdcc
conflicts = gbdk
conflicts = lcc
- source = git+https://github.com/basxto/gbdk-2020#commit=01cdbb621afa61de77e394de76161bd8aa65848d
+ source = git+https://github.com/basxto/gbdk-2020#commit=a48239d6e38738611553d62e43e04546b3f4aece
sha256sums = SKIP
pkgname = gbdk-2020
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