aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-07 23:54:58 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-10-08 09:57:34 +0200
commitea379928a3c4ff7aff29dbf872184fd364b72da6 (patch)
treed9fd4e7854459b5230eb64ff353bb9dab0298e17
parent551f8c09e17d373e2ff6aef1e8de60f246361d39 (diff)
downloadaports-ea379928a3c4ff7aff29dbf872184fd364b72da6.tar.gz
aports-ea379928a3c4ff7aff29dbf872184fd364b72da6.tar.bz2
aports-ea379928a3c4ff7aff29dbf872184fd364b72da6.tar.xz
main/libxrandr: upgrade to 1.5.1
-rw-r--r--main/libxrandr/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/main/libxrandr/APKBUILD b/main/libxrandr/APKBUILD
index 39ebc4a053..772a620eb5 100644
--- a/main/libxrandr/APKBUILD
+++ b/main/libxrandr/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxrandr
-pkgver=1.5.0
+pkgver=1.5.1
pkgrel=0
pkgdesc="X11 RandR extension library"
url="http://xorg.freedesktop.org/"
@@ -8,38 +8,31 @@ arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
-depends_dev="randrproto libx11-dev libxext-dev"
-makedepends="$depends_dev libxrender-dev xproto"
+depends_dev="randrproto libxext-dev"
+makedepends="$depends_dev libx11-dev libxrender-dev xproto"
source="http://xorg.freedesktop.org/releases/individual/lib/libXrandr-$pkgver.tar.bz2
"
-
-_builddir="$srcdir"/libXrandr-$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"/libXrandr-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="309762867e41c6fd813da880d8a1bc93 libXrandr-1.5.0.tar.bz2"
-sha256sums="6f864959b7fc35db11754b270d71106ef5b5cf363426aa58589cb8ac8266de58 libXrandr-1.5.0.tar.bz2"
-sha512sums="f488b55ffa47977fdf6c662348f4ca9f56e44032a0bb83fedc2ff9c26c003f2694c5ad677ab5dcd9b1c3e3f72fcd33b25b68ededec9c8e86f5146b9fb5b2d3cc libXrandr-1.5.0.tar.bz2"
+
+md5sums="28e486f1d491b757173dd85ba34ee884 libXrandr-1.5.1.tar.bz2"
+sha256sums="1ff9e7fa0e4adea912b16a5f0cfa7c1d35b0dcda0e216831f7715c8a3abcf51a libXrandr-1.5.1.tar.bz2"
+sha512sums="ddcee1c50da8810412fd747b05a073ee5522b2f3b0a74e6a9b48b489ce9712356d1bc3009f8898aeee85671cdb44e2dafa04c8caf23d97963b36b1af9174445a libXrandr-1.5.1.tar.bz2"