From 450fe5bc3d30181bab75599f18e6ec37b7b0fdb2 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Mon, 24 Aug 2015 15:21:47 +0200 Subject: [PATCH 1/2] Add armv7h to arch array --- .SRCINFO | 1 + PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.SRCINFO b/.SRCINFO index 2278394..46557a6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -5,6 +5,7 @@ pkgbase = reicast-git url = http://reicast.com/ arch = i686 arch = x86_64 + arch = armv7h license = GPL2 license = BSD license = MIT diff --git a/PKGBUILD b/PKGBUILD index f4510f2..918f828 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=reicast-git pkgver=r1284.d3c3feb pkgrel=1 pkgdesc="A multiplatform Sega Dreamcast emulator (development version)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') url="http://reicast.com/" license=('GPL2' 'BSD' 'MIT') conflicts=('reicast') -- 2.5.0 From a8deec6b67c157fbc6288bd94cba4cba7ffbd486 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Mon, 24 Aug 2015 15:29:57 +0200 Subject: [PATCH 2/2] Use new 'make install' target from the Makefile As of commit ac37ede, reicast has an "install" target in its Makefile. Also, the license installation has been removed, since GPL2 is already present in /usr/share/licenses/common. According to the Arch Packaging standards, it should only be installed to /usr/share/licenses/$pkgname if "the appropriate license is not included in the official licenses package". --- PKGBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 918f828..6cb81b2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -20,13 +20,9 @@ pkgver() { } build () { - make -C reicast/shell/linux + make -C reicast/shell/linux PREFIX="/usr" } package () { - cd reicast - - install -Dm755 shell/linux/reicast.elf "$pkgdir"/usr/bin/reicast - # license - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + make -C reicast/shell/linux DESTDIR="$pkgdir" PREFIX="/usr" install } -- 2.5.0