Mail archive
alpine-aports

[alpine-aports] [PATCH 2/2] main/lxterminal: modernize abuild

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Mon, 7 Aug 2017 11:39:56 -0400

---
 main/lxterminal/APKBUILD | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/main/lxterminal/APKBUILD b/main/lxterminal/APKBUILD
index 534d0bd007..c9b22b5bed 100644
--- a/main/lxterminal/APKBUILD
+++ b/main/lxterminal/APKBUILD
_at_@ -2,14 +2,13 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=lxterminal
 pkgver=0.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Desktop-independent VTE-based terminal emulator"
 url="http://lxde.org/"
 arch="all"
 license="GPL2+"
 depends=""
 makedepends="vte-dev"
-install=""
 subpackages="$pkgname-doc $pkgname-lang"
 source="https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz
 	CVE-2016-10369.patch"
_at_@ -28,14 +27,18 @@ build() {
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
-		--localstatedir=/var \
-		|| return 1
-	make || return 1
+		--localstatedir=/var
+	make
+}
+
+check() {
+	cd "$builddir"
+	./src/lxterminal -v
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 }
 
 sha512sums="05eb6ef8904de9e34a4046ded67d3cece5a93a5b19d37d423f3bde67051a2f0a0e3195443669709a8b732d27246852353a2c9ba59026f9d71f8df6bb1152e37f  lxterminal-0.3.0.tar.xz
-- 
2.13.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Aug 07 2017 - 11:39:56 UTC