From 049687abd71da5ce2e55038d57a327aede16f5d7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 8 Sep 2017 19:37:37 -0500 Subject: main/libxinerama: modernise, fix deps, mark no test --- main/libxinerama/APKBUILD | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'main/libxinerama') diff --git a/main/libxinerama/APKBUILD b/main/libxinerama/APKBUILD index 0fedab1a2f..853ef0e065 100644 --- a/main/libxinerama/APKBUILD +++ b/main/libxinerama/APKBUILD @@ -1,41 +1,32 @@ # Maintainer: Natanael Copa pkgname=libxinerama pkgver=1.1.3 -pkgrel=0 +pkgrel=1 pkgdesc="X11 Xinerama extension library" url="http://xorg.freedesktop.org/" arch="all" license="custom" +options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= -depends_dev="xineramaproto libx11-dev libxext-dev" -makedepends="$depends_dev" +makedepends="xineramaproto libx11-dev libxext-dev util-macros" source="http://www.x.org/releases/individual/lib/libXinerama-$pkgver.tar.bz2 " -_builddir="$srcdir"/libXinerama-$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"/libXinerama-$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="9336dc46ae3bf5f81c247f7131461efd libXinerama-1.1.3.tar.bz2" sha256sums="7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2 libXinerama-1.1.3.tar.bz2" -- cgit v1.2.3