[arch-commits] Commit in (rgbds rgbds/trunk rgbds/trunk/PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Jul 4 15:42:47 UTC 2020


    Date: Saturday, July 4, 2020 @ 15:42:47
  Author: alucryd
Revision: 657715

add rgbds

Added:
  rgbds/
  rgbds/trunk/
  rgbds/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Added: rgbds/trunk/PKGBUILD
===================================================================
--- rgbds/trunk/PKGBUILD	                        (rev 0)
+++ rgbds/trunk/PKGBUILD	2020-07-04 15:42:47 UTC (rev 657715)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Vaporeon <vaporeon at vaporeon.io>
+
+pkgname=rgbds
+pkgver=0.4.0
+pkgrel=3
+pkgdesc='Rednex GameBoy Development System'
+arch=(x86_64)
+url=https://github.com/rednex/rgbds/
+license=(MIT)
+depends=(
+  glibc
+  libpng
+)
+makedepends=(git)
+_tag=4e96cf98759de41c118cbeb4e5d7765737b95982
+source=(git+https://github.com/rednex/rgbds.git#tag=${_tag})
+sha256sums=(SKIP)
+
+prepare() {
+  cd rgbds
+
+  git cherry-pick -n 65121e6d5d2b9cb15283a0d5c46addeb67d20a7b # GCC 10 fix
+}
+
+build() {
+  make \
+    VERSION_STRING="${pkgver}" \
+    CFLAGS="${CFLAGS}" \
+    LDFLAGS="${LDFLAGS}" \
+    -C rgbds
+}
+
+package() {
+  make DESTDIR="${pkgdir}" PREFIX=/usr mandir=/usr/share/man -C rgbds install
+  install -Dm 644 rgbds/LICENSE -t "${pkgdir}"/usr/share/licenses/rgbds/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list