diff options
-rw-r--r-- | community/libmatekbd/APKBUILD | 36 |
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" |