[arch-commits] Commit in rgbds (3 files)

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


    Date: Saturday, July 4, 2020 @ 15:42:57
  Author: alucryd
Revision: 657716

archrelease: copy trunk to community-x86_64

Added:
  rgbds/repos/
  rgbds/repos/community-x86_64/
  rgbds/repos/community-x86_64/PKGBUILD
    (from rev 657715, rgbds/trunk/PKGBUILD)

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

Copied: rgbds/repos/community-x86_64/PKGBUILD (from rev 657715, rgbds/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-07-04 15:42:57 UTC (rev 657716)
@@ -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