diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-08 19:44:20 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:53:38 +0000 |
commit | 5306ce6bc0af41fa67dbb0ce8026c66324914343 (patch) | |
tree | 485482796e56f876a42dc3dd67fa51f1682b7379 /main/libxxf86dga | |
parent | 45f293e5a085acb89011f505765c8a97b989c764 (diff) | |
download | aports-5306ce6bc0af41fa67dbb0ce8026c66324914343.tar.bz2 aports-5306ce6bc0af41fa67dbb0ce8026c66324914343.tar.xz |
main/libxxf86dga: modernise, fix deps, mark no test
Diffstat (limited to 'main/libxxf86dga')
-rw-r--r-- | main/libxxf86dga/APKBUILD | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/main/libxxf86dga/APKBUILD b/main/libxxf86dga/APKBUILD index c641a88d56..d035ca97f5 100644 --- a/main/libxxf86dga/APKBUILD +++ b/main/libxxf86dga/APKBUILD @@ -1,40 +1,30 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxxf86dga pkgver=1.1.4 -pkgrel=0 +pkgrel=1 pkgdesc="X11 Direct Graphics Access extension library" url="http://xorg.freedesktop.org/" arch="all" license="custom" +options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= -depends_dev="xf86dgaproto libxext-dev libx11-dev" -makedepends="$depends_dev" +makedepends="xf86dgaproto libxext-dev libx11-dev util-macros" source="http://www.x.org/releases/individual/lib/libXxf86dga-$pkgver.tar.bz2" -_builddir="$srcdir"/libXxf86dga-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/libXxf86dga-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="d7dd9b9df336b7dd4028b6b56542ff2c libXxf86dga-1.1.4.tar.bz2" sha256sums="8eecd4b6c1df9a3704c04733c2f4fa93ef469b55028af5510b25818e2456c77e libXxf86dga-1.1.4.tar.bz2" |