diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-05 23:19:30 -0500 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-15 16:28:44 +0000 |
commit | 21e70eae871680d51654c71bdd8ed3b841b78acc (patch) | |
tree | d24de290d9e1e07b2eb752b2d5ba181624c7389b | |
parent | b9a4cc5b9989b8daca5998ce832ff1a5c8f88d4c (diff) | |
download | aports-21e70eae871680d51654c71bdd8ed3b841b78acc.tar.bz2 aports-21e70eae871680d51654c71bdd8ed3b841b78acc.tar.xz |
main/libxcomposite: modernise, fix deps, mark no test
-rw-r--r-- | main/libxcomposite/APKBUILD | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/main/libxcomposite/APKBUILD b/main/libxcomposite/APKBUILD index e07db149d2..2dbf1a8c2a 100644 --- a/main/libxcomposite/APKBUILD +++ b/main/libxcomposite/APKBUILD @@ -1,39 +1,40 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxcomposite pkgver=0.4.4 -pkgrel=0 +pkgrel=1 pkgdesc="X11 Composite extension library" url="http://xorg.freedesktop.org/" arch="all" license="custom" +options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= -depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev" -makedepends="libxfixes-dev libxext-dev compositeproto" +depends_dev="libxext-dev" +makedepends="libx11-dev libxext-dev libxfixes-dev compositeproto util-macros xproto" source="http://www.x.org/releases/individual/lib/libXcomposite-$pkgver.tar.bz2" -_builddir="$srcdir"/libXcomposite-$pkgver +builddir="$srcdir"/libXcomposite-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" chmod u+w config.sub - update_config_sub || return 1 + update_config_sub + default_prepare } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc \ - || return 1 - make || return 1 + --sysconfdir=/etc + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |