aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-03 14:46:55 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:39 +0000
commit864c9abace01d8d3bc554e662a52bd70b78eef9d (patch)
treed49026b3e987369c072c3617b46a97ca0aaf1aba
parenta6b5de87d553d4144b86d67ef590ffde5516e781 (diff)
downloadaports-864c9abace01d8d3bc554e662a52bd70b78eef9d.tar.gz
aports-864c9abace01d8d3bc554e662a52bd70b78eef9d.tar.bz2
aports-864c9abace01d8d3bc554e662a52bd70b78eef9d.tar.xz
main/libxrandr: modernise, mark as having no test suite
-rw-r--r--main/libxrandr/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/libxrandr/APKBUILD b/main/libxrandr/APKBUILD
index 040fdb0900..b44fc6ad28 100644
--- a/main/libxrandr/APKBUILD
+++ b/main/libxrandr/APKBUILD
@@ -1,15 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxrandr
pkgver=1.5.1
-pkgrel=0
+pkgrel=1
pkgdesc="X11 RandR extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
+options="!check" # No test suite.
depends=
depends_dev="randrproto libxext-dev"
-makedepends="$depends_dev libx11-dev libxrender-dev xproto"
+makedepends="$depends_dev libx11-dev libxrender-dev xproto util-macros"
source="http://www.x.org/releases/individual/lib/libXrandr-$pkgver.tar.bz2
"
@@ -22,14 +23,13 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}