diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-09 01:32:53 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:53:38 +0000 |
commit | fdd573ecca874a8d979772d413bfeaff835de382 (patch) | |
tree | c2b6445f18a73f4d32fd0351de4a18bda7c39cab | |
parent | 57871c1a66d8799abed3564fc4afc27a7db9b4d7 (diff) | |
download | aports-fdd573ecca874a8d979772d413bfeaff835de382.tar.bz2 aports-fdd573ecca874a8d979772d413bfeaff835de382.tar.xz |
main/libxmu: modernise, fix deps, mark no test
-rw-r--r-- | main/libxmu/APKBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/main/libxmu/APKBUILD b/main/libxmu/APKBUILD index b39a40e30d..d54d0d7f67 100644 --- a/main/libxmu/APKBUILD +++ b/main/libxmu/APKBUILD @@ -1,33 +1,35 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxmu pkgver=1.1.2 -pkgrel=0 +pkgrel=1 pkgdesc="X11 miscellaneous micro-utility library" url="http://xorg.freedesktop.org/" arch="all" license="custom" +options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="libxext-dev libxt-dev libx11-dev libsm-dev - util-linux-dev" + util-linux-dev util-macros xmlto" source="http://www.x.org/releases/individual/lib/libXmu-$pkgver.tar.bz2" -depends_dev="xproto libx11-dev libxt-dev libxext-dev util-linux-dev" +depends_dev="util-linux-dev" -build () +builddir="$srcdir"/libXmu-$pkgver +build() { - cd "$srcdir"/libXmu-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - || return 1 - make || return 1 + --without-fop + make } package() { - cd "$srcdir"/libXmu-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -Dm644 $srcdir/libXmu-$pkgver/COPYING \ $pkgdir/usr/share/licenses/$pkgname/COPYING } |