aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 13:06:50 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commit7707e64f3addbd4a9e84e139b338d03fb7693cb7 (patch)
tree6ea3868523d6eeb1dc2208bf8e54462f81261d13
parent5f783ebb4bca0a2b276b4b3584e20ca08d414c0e (diff)
downloadaports-7707e64f3addbd4a9e84e139b338d03fb7693cb7.tar.gz
aports-7707e64f3addbd4a9e84e139b338d03fb7693cb7.tar.bz2
aports-7707e64f3addbd4a9e84e139b338d03fb7693cb7.tar.xz
community/libmatekbd: upgrade to 1.19.0, modernized APKBUILD, added check()
-rw-r--r--community/libmatekbd/APKBUILD36
1 files changed, 14 insertions, 22 deletions
diff --git a/community/libmatekbd/APKBUILD b/community/libmatekbd/APKBUILD
index dc611d6e44..840e0d0fe4 100644
--- a/community/libmatekbd/APKBUILD
+++ b/community/libmatekbd/APKBUILD
@@ -1,44 +1,36 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=libmatekbd
-pkgver=1.18.2
+pkgver=1.19.0
pkgrel=0
pkgdesc="MATE keyboard library"
url="https://github.com/mate-desktop/libmatekbd"
arch="all"
license="GPL2"
depends="mate-common freetype"
-depends_dev=""
-makedepends="$depends_dev libxklavier-dev libtool intltool gtk+3.0-dev"
-install=""
+makedepends="libxklavier-dev libtool intltool gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-
-_builddir="$srcdir/$pkgname-$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/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="${pkgdir}" install || return 1
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
}
-sha512sums="97971fc406fac09e0a652ccb5f811194eeff695a4a8b093b24225230cb64ceebd221d91aab071b0ca7ffd20b1b38e13d428d68fc8249101a3b3f8342fbb1f71e libmatekbd-1.18.2.tar.xz"
+sha512sums="a3c189965f01deb0035be7dac59e63fb522c256f49b39dcaedeefb77324a758d3abffb4271687ce4ee81af529ecae6e201f6655e6c448ea4934951dcdd085940 libmatekbd-1.19.0.tar.xz"