Package Details: rgbds 0.4.0-2

Git Clone URL: https://aur.archlinux.org/rgbds.git (read-only, click to copy)
Package Base: rgbds
Description: Rednex GameBoy Development System
Upstream URL: https://github.com/rednex/rgbds/
Licenses: MIT
Submitter: Vaporeon
Maintainer: Vaporeon
Last Packager: Vaporeon
Votes: 10
Popularity: 0.73
First Submitted: 2017-10-19 18:29
Last Updated: 2020-05-19 15:52

Latest Comments

Vaporeon commented on 2020-05-19 15:52

Thankyou.

Arvedui commented on 2020-05-17 14:28

Here is a patch that should work. While doing that I also noticed that arches C and LDFLAGS are not passed to the makefile. I fixed that as well.

diff --git a/PKGBUILD b/PKGBUILD
index 2eae758..784b4dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,22 @@ arch=('i686' 'x86_64')
 url="https://github.com/rednex/rgbds/"
 license=('MIT')
 depends=('libpng')
-source=("https://github.com/rednex/rgbds/releases/download/v$pkgver/rgbds-$pkgver.tar.gz")
-sha1sums=('1468d4930f50e9512e35fa250a86614bbcf197b9')
+source=(
+  "https://github.com/rednex/rgbds/releases/download/v$pkgver/rgbds-$pkgver.tar.gz"
+  "${pkgname}-504.patch::https://patch-diff.githubusercontent.com/raw/rednex/rgbds/pull/504.patch"
+  )
+sha1sums=('1468d4930f50e9512e35fa250a86614bbcf197b9'
+          'bcd5f679d5d6775b3fd620b8ffe93fff9cb79cda')
+
+prepare() {
+  cd "$srcdir/$pkgname"
+
+  patch -p1 < "$srcdir/${pkgname}-504.patch"
+}

 build() {
   cd "$srcdir/$pkgname"
-  make VERSION_STRING=$pkgver
+  make VERSION_STRING=$pkgver LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
 }

 package() {

Arvedui commented on 2020-05-17 14:15

This needs a patch to build with current gcc. https://github.com/rednex/rgbds/pull/504/files

Vaporeon commented on 2019-03-02 04:39

Done.

NieDzejkob commented on 2019-03-01 16:55

For some reason, the rgbasm -V command outputs the commit hash of the AUR repo commit instead of the version. Would you mind fixing that? This seems to be the problematic line.

Vaporeon commented on 2018-02-19 23:30

I updated it, thanks.

carstene1ns commented on 2018-02-18 13:53

bison and flex are in base-devel group, so not needed as explicit deps. However, the path to the LICENSE file should be changed as it seems a leftover from the -git version. Thanks for maintaining!

r2p2 commented on 2018-02-14 13:35

I guess flex is required as dependency.