diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2017-08-07 11:39:56 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-24 22:33:46 +0000 |
commit | f60b4e14b180493f414958d85c43ec3f3568f7d1 (patch) | |
tree | 3bdf8ef1b2fdac72ad97756ff05a7781d097d683 /main/lxterminal | |
parent | a9878fc57738d1b777eb47e5fdee082f009e2c38 (diff) | |
download | aports-f60b4e14b180493f414958d85c43ec3f3568f7d1.tar.bz2 aports-f60b4e14b180493f414958d85c43ec3f3568f7d1.tar.xz |
main/lxterminal: modernize abuild
Diffstat (limited to 'main/lxterminal')
-rw-r--r-- | main/lxterminal/APKBUILD | 15 |
1 files 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 @@ -2,14 +2,13 @@ # Maintainer: Natanael Copa <ncopa@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" @@ -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 |