[alpine-aports] [PATCH] testing/arc-theme: improve abuild

Sascha Paunovic
Details
Message ID
<20180628132146.22277-1-azarus@posteo.net>
Sender timestamp
1530192106
DKIM signature
missing
Download raw message
Patch: +5 -7
also take maintainership
---
 testing/arc-theme/APKBUILD | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/testing/arc-theme/APKBUILD b/testing/arc-theme/APKBUILD
index af9a3f6228..a23481810a 100644
--- a/testing/arc-theme/APKBUILD
+++ b/testing/arc-theme/APKBUILD
@@ -1,5 +1,5 @@
 # Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Sascha Paunovic <azarus@posteo.net>
 pkgname=arc-theme
 pkgver=20170302
 pkgrel=0
@@ -9,10 +9,9 @@ arch="noarch"
 license="GPL-3.0"
 depends="gtk-murrine-engine"
 makedepends="automake autoconf libtool gtk+3.0-dev"
-install=""
-subpackages=""
 source="arc-theme-$pkgver.tar.gz::https://github.com/horst3180/arc-theme/archive/$pkgver.tar.gz"
-builddir="$srcdir/arc-theme-$pkgver"
+options="!check" # no test suite
+builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
 	cd "$builddir"
@@ -29,13 +28,12 @@ build() {
 		--disable-cinnamon \
 		--disable-gnome-shell \
 		--disable-metacity \
-		return 1
-	make || return 1
+	make
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 }
 
 sha512sums="99408a7c4db2bd2d81453e308ae5d9bc9bfda4f11e57191936f985de2937debff76c4d1f37a97ac8f5ad3751401ee8ad02457e4558b9c4aedc2bfeba1736ef03  arc-theme-20170302.tar.gz"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---