diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:41:13 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-17 13:33:17 +0000 |
commit | a56f34a2f923eca0267ce95752c06f38130ec64c (patch) | |
tree | 35d294fb9f96916bc220a0f30fbbd7d3e5864b1f /main/libsexy/APKBUILD | |
parent | 031e053912fde2b861c66cc9a30f308608e59c92 (diff) | |
download | aports-a56f34a2f923eca0267ce95752c06f38130ec64c.tar.bz2 aports-a56f34a2f923eca0267ce95752c06f38130ec64c.tar.xz |
main/libsexy: modernise, fix license, mark no tests
Diffstat (limited to 'main/libsexy/APKBUILD')
-rw-r--r-- | main/libsexy/APKBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/main/libsexy/APKBUILD b/main/libsexy/APKBUILD index 6ad08dda44..7055666eff 100644 --- a/main/libsexy/APKBUILD +++ b/main/libsexy/APKBUILD @@ -1,36 +1,35 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libsexy pkgver=0.1.11 -pkgrel=7 +pkgrel=8 pkgdesc="Doing naughty things to good widgets." url="http://chipx86.com/wiki/Libsexy" arch="all" -license="GPL" +options="!check" # Tests require manual intervention and X11 display. +license="LGPL-2.0+" subpackages="$pkgname-dev $pkgname-doc" makedepends="gtk+2.0-dev libxml2-dev iso-codes-dev" source="http://releases.chipx86.com/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir/$pkgname-$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 \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/libsexy.a } |