aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-05 19:50:02 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:39 +0000
commite1005a70f16d73141f506f542323266ac80375fc (patch)
tree28d8b8fa423095d9a650a9f65bba635613c85e84
parent86cc22122d07d479b36ee9a009b4c04961bcda33 (diff)
downloadaports-e1005a70f16d73141f506f542323266ac80375fc.tar.gz
aports-e1005a70f16d73141f506f542323266ac80375fc.tar.bz2
aports-e1005a70f16d73141f506f542323266ac80375fc.tar.xz
main/libxxf86vm: modernise, fix deps, mark no test
-rw-r--r--main/libxxf86vm/APKBUILD27
1 files changed, 9 insertions, 18 deletions
diff --git a/main/libxxf86vm/APKBUILD b/main/libxxf86vm/APKBUILD
index 824e189a56..a849f45189 100644
--- a/main/libxxf86vm/APKBUILD
+++ b/main/libxxf86vm/APKBUILD
@@ -1,41 +1,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxxf86vm
pkgver=1.1.4
-pkgrel=0
+pkgrel=1
pkgdesc="X11 XFree86 video mode extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
-depends_dev="xf86vidmodeproto libx11-dev libxext-dev"
-makedepends="$depends_dev"
+makedepends="libx11-dev libxext-dev util-macros xf86vidmodeproto"
source="http://www.x.org/releases/individual/lib/libXxf86vm-$pkgver.tar.bz2
"
-_builddir="$srcdir"/libXxf86vm-$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"/libXxf86vm-$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
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="298b8fff82df17304dfdb5fe4066fe3a libXxf86vm-1.1.4.tar.bz2"