diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 21:56:53 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:20:28 +0000 |
commit | 63875e36ddd7311f88dd347ffbb0e8702d0406ff (patch) | |
tree | 69504ada03a6ff6bdc23679d933b1b1accfe683c /main/libcroco | |
parent | 9e6609800b9233e28b6cb87933357e2b229ae8bb (diff) | |
download | aports-63875e36ddd7311f88dd347ffbb0e8702d0406ff.tar.bz2 aports-63875e36ddd7311f88dd347ffbb0e8702d0406ff.tar.xz |
main/libcroco: modernise, add check, fix license
Diffstat (limited to 'main/libcroco')
-rw-r--r-- | main/libcroco/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/main/libcroco/APKBUILD b/main/libcroco/APKBUILD index ef28628b1e..70f960a48a 100644 --- a/main/libcroco/APKBUILD +++ b/main/libcroco/APKBUILD @@ -1,33 +1,33 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libcroco pkgver=0.6.12 -pkgrel=0 +pkgrel=1 pkgdesc="GNOME CSS2 parsing and manipulation toolkit" url="http://www.gnome.org" arch="all" -license="LGPL" +license="LGPL-2.1-only" subpackages="$pkgname-dev" depends= makedepends="glib-dev libxml2-dev" source="https://download.gnome.org/sources/$pkgname/0.6/$pkgname-$pkgver.tar.xz" -depends_dev="glib-dev libxml2-dev pkgconfig" - -builddir="$srcdir/$pkgname-$pkgver" - build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make +} + +check() { + cd "$builddir" + make test } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="af9a171d5ccded255b57f170576e67155f12fa0f61ab3e379e907975f77afc37e82e22772c6019b2897cffc15b2425faf3ccfda92b1a45b23eda2519debabeb6 libcroco-0.6.12.tar.xz" |