aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 20:30:28 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 17:14:08 +0000
commite1f6dc356e12068c8d8b8d7f943428a81647735a (patch)
tree1aa2b20afb08713dbb2841ea27a6afd1717f7a48 /main
parent0d72273a6ae5e5770064854cd761b895fd318abd (diff)
downloadaports-e1f6dc356e12068c8d8b8d7f943428a81647735a.tar.bz2
aports-e1f6dc356e12068c8d8b8d7f943428a81647735a.tar.xz
main/libart-lgpl: modernise, mark no tests, fix license
Diffstat (limited to 'main')
-rw-r--r--main/libart-lgpl/APKBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/main/libart-lgpl/APKBUILD b/main/libart-lgpl/APKBUILD
index db43a1489d..e2cac87a16 100644
--- a/main/libart-lgpl/APKBUILD
+++ b/main/libart-lgpl/APKBUILD
@@ -5,32 +5,34 @@ pkgrel=5
pkgdesc="A library for high-performance 2D graphics"
url="http://www.levien.com/libart/"
arch="all"
-license="LGPL"
+options="!check" # No test suite.
+license="LGPL-2.0+"
depends=
makedepends=
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libart_lgpl/2.3/libart_lgpl-$pkgver.tar.bz2
"
-_builddir="$srcdir"/libart_lgpl-$pkgver
+builddir="$srcdir"/libart_lgpl-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
+
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="8a632a6a4da59e5e8c02ec2f5a57e36d182b325b46513765425e5f171ff9ae326af1b133725beba28f7e76654309e001aee9bace727b5b4c8589405256a3c020 libart_lgpl-2.3.21.tar.bz2"