diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 22:18:05 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:32:14 +0000 |
commit | 31711d3ff8bd1287606d0c2841f62339274ac8f9 (patch) | |
tree | 35312812f477cd35fe179c00bf8ac8bfcb314e3b /main | |
parent | 0938cb9381c1610f040904e92ff88fbab2ababd1 (diff) | |
download | aports-31711d3ff8bd1287606d0c2841f62339274ac8f9.tar.bz2 aports-31711d3ff8bd1287606d0c2841f62339274ac8f9.tar.xz |
main/libidl: modernise, mark no tests, fix license
Diffstat (limited to 'main')
-rw-r--r-- | main/libidl/APKBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/main/libidl/APKBUILD b/main/libidl/APKBUILD index 1848784efb..b5153c8bb0 100644 --- a/main/libidl/APKBUILD +++ b/main/libidl/APKBUILD @@ -3,39 +3,39 @@ pkgname=libidl pkgver=0.8.14 pkgrel=2 -pkgdesc="library for parsing Interface Definition Language files" +pkgdesc="Library for parsing Interface Definition Language files" url="https://www.gnome.org/" -license="GPL" arch="all" +options="!check" # No test suite. +license="LGPL-2.0+" depends= -depends_dev="glib-dev" -makedepends="${depends_dev} flex bison" +makedepends="glib-dev flex bison" install= subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/libIDL/${pkgver%.*}/libIDL-$pkgver.tar.bz2" -_builddir="$srcdir"/libIDL-$pkgver +builddir="$srcdir"/libIDL-$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 \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } |