aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-08 19:37:37 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:38 +0000
commit049687abd71da5ce2e55038d57a327aede16f5d7 (patch)
tree40a498661f6befdc6d07a29cec2e09e8a8da272d /main
parente1307e151429c4cb7ec261912dd9c104b8d40a86 (diff)
downloadaports-049687abd71da5ce2e55038d57a327aede16f5d7.tar.bz2
aports-049687abd71da5ce2e55038d57a327aede16f5d7.tar.xz
main/libxinerama: modernise, fix deps, mark no test
Diffstat (limited to 'main')
-rw-r--r--main/libxinerama/APKBUILD27
1 files changed, 9 insertions, 18 deletions
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 <ncopa@alpinelinux.org>
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"