diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-05-13 12:32:58 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 20:03:48 +0000 |
commit | 91ed7342cbe6233b324053ceb41bbeaf18142746 (patch) | |
tree | 143e670827e2b7970211b1f47feced87634e1f77 /main/libxkbcommon | |
parent | e8ab287c5ea1827ffda717a3f51f2596dc2baa25 (diff) | |
download | aports-91ed7342cbe6233b324053ceb41bbeaf18142746.tar.bz2 aports-91ed7342cbe6233b324053ceb41bbeaf18142746.tar.xz |
main/libxkbcommon: upgrade to 0.7.1 and modernize
Diffstat (limited to 'main/libxkbcommon')
-rw-r--r-- | main/libxkbcommon/APKBUILD | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/main/libxkbcommon/APKBUILD b/main/libxkbcommon/APKBUILD index cee3192790..6ef35f8a00 100644 --- a/main/libxkbcommon/APKBUILD +++ b/main/libxkbcommon/APKBUILD @@ -1,32 +1,20 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=libxkbcommon -pkgver=0.6.1 +pkgver=0.7.1 pkgrel=0 pkgdesc="a keyboard handling library" url="http://www.xkbcommon.org/" arch="all" license="MIT" -depends="" -depends_dev="" makedepends="$depends_dev bison flex libxcb-dev" -install="" subpackages="$pkgname-dev" source="http://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz" -_builddir="$srcdir"/libxkbcommon-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/libxkbcommon-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,16 +22,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="67a8f322b5fa32352272e811bb90dd73 libxkbcommon-0.6.1.tar.xz" -sha256sums="5b0887b080b42169096a61106661f8d35bae783f8b6c58f97ebcd3af83ea8760 libxkbcommon-0.6.1.tar.xz" -sha512sums="5eab309d711ef3f4ce6d98ddd72f7f67fb6374eeea5fa13d37019830847a48a100d5b61b0312787966020c85b180b3ee8a5fd8e7acd3a8a9220ca53dcc411370 libxkbcommon-0.6.1.tar.xz" +sha512sums="9f209214d5d7f9334cabb2cd7e0d9b9b0392c1fae06b60e92a03398875399fe48754b543389f78b8b06dd28a86dfd440720e534bae309ca8ef882eb874dce4e1 libxkbcommon-0.7.1.tar.xz" |