Subject: [alpine-aports] [PATCH] testing/pcsxr: modernise APKBUILD

From: Cág <[email-masked]>
Date: Wed, 8 Nov 2017 21:21:46 +0000

---
 testing/pcsxr/APKBUILD | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/testing/pcsxr/APKBUILD b/testing/pcsxr/APKBUILD
index 56b52846ef..36fd9d08bd 100644
--- a/testing/pcsxr/APKBUILD
+++ b/testing/pcsxr/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Cág <[email-masked]>
 pkgname=pcsxr
 pkgver=1.9.92
-pkgrel=1
+pkgrel=2
 pkgdesc="Sony PlayStation emulator"
 url="https://pcsxr.codeplex.com/"
 arch="all"
@@ -14,18 +14,10 @@ subpackages="$pkgname-doc $pkgname-lang"
 source="http://http.debian.net/debian/pool/main/p/pcsxr/pcsxr_1.9.92.orig.tar.bz2"
 builddir="$srcdir/$pkgname-$pkgver"
 
-prepare() {
-	cd "$builddir"
-	default_prepare
-	./autogen.sh
-}
-
 build() {
 	cd "$builddir"
+	./autogen.sh
 	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--target=$CTARGET \
 		--prefix=/usr \
 		--enable-opengl
 	make
-- 
2.15.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Leonardo Arena <[email-masked]>
Date: Tue, 9 Jan 2018 15:59:11 +0100

Hi,

> +++ b/testing/pcsxr/APKBUILD

autogen.sh belongs to prepare(). So this patch is NACK.

Thanks

/eo

---