aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxi/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-07 23:54:42 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-10-07 23:54:42 +0200
commit551f8c09e17d373e2ff6aef1e8de60f246361d39 (patch)
tree2c8392f73c94e1d053835a817d53e84a8ec7ed0a /main/libxi/APKBUILD
parent9c016fb28243226bfea1b6752ea21fea4e6400c1 (diff)
downloadaports-551f8c09e17d373e2ff6aef1e8de60f246361d39.tar.bz2
aports-551f8c09e17d373e2ff6aef1e8de60f246361d39.tar.xz
main/libxi: upgrade to 1.7.7
Diffstat (limited to 'main/libxi/APKBUILD')
-rw-r--r--main/libxi/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/main/libxi/APKBUILD b/main/libxi/APKBUILD
index 75b0611e83..e223887368 100644
--- a/main/libxi/APKBUILD
+++ b/main/libxi/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxi
-pkgver=1.7.6
+pkgver=1.7.7
pkgrel=0
pkgdesc="X11 Input extension library"
url="http://xorg.freedesktop.org"
@@ -11,39 +11,32 @@ depends=
depends_dev="inputproto libx11-dev libxext-dev libxfixes-dev"
makedepends="
$depends_dev
- pkgconfig
+ pkgconfig
xextproto
xproto
"
source="http://xorg.freedesktop.org/releases/individual/lib/libXi-$pkgver.tar.bz2"
-_builddir="$srcdir"/libXi-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build ()
-{
- cd "$_builddir"
+builddir="$srcdir"/libXi-$pkgver
+build () {
+ 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="510e555ecfffa8d2298a0f42b725e563 libXi-1.7.6.tar.bz2"
-sha256sums="1f32a552cec0f056c0260bdb32e853cec0673d2f40646ce932ad5a9f0205b7ac libXi-1.7.6.tar.bz2"
-sha512sums="229e1e6e1486808ffad9610a8fd7930bd3348fa5d11709adcb6239b5c01af877ac549072e8d3aec605a3835d8278fd48146db50577fa031407d20c1e871d8f4a libXi-1.7.6.tar.bz2"
+
+md5sums="cc0883a898222d50ff79af3f83595823 libXi-1.7.7.tar.bz2"
+sha256sums="996f834fa57b9b33ba36690f6f5c6a29320bc8213022943912462d8015b1e030 libXi-1.7.7.tar.bz2"
+sha512sums="2501ee104753c54cc067b71c07d8add35c4c2f961eb8041cc6aa1963ec34032fa827c2db4d88097ec3e667a591c759b75007f92daa3b6834db5c5485fc243557 libXi-1.7.7.tar.bz2"