aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-07-16 17:47:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-16 17:49:25 +0000
commitf3dbb59035962c243c857642060a73b078c285c5 (patch)
tree69eee50a5b1b16e6ca4a96bab48f4e5095ae6426
parent232788d6ac7a39968eb393fc591a7f871b3caabf (diff)
downloadaports-f3dbb59035962c243c857642060a73b078c285c5.tar.bz2
aports-f3dbb59035962c243c857642060a73b078c285c5.tar.xz
main/libgnomekbd: upgrade to 3.26.0, modernize
-rw-r--r--main/libgnomekbd/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/main/libgnomekbd/APKBUILD b/main/libgnomekbd/APKBUILD
index fbcc3fcedc..604100b999 100644
--- a/main/libgnomekbd/APKBUILD
+++ b/main/libgnomekbd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=libgnomekbd
-pkgver=3.6.0
+pkgver=3.26.0
pkgrel=0
pkgdesc="GNOME keyboard library"
url="https://www.gnome.org/"
@@ -16,33 +16,20 @@ install=""
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
-_builddir="${srcdir}/${pkgname}-${pkgver}"
-prepare() {
- local i
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+buiddir="${srcdir}/${pkgname}-${pkgver}"
build() {
- cd "$_builddir"
+ cd "$buiddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc || return 1
- make || return 1
+ --sysconfdir=/etc
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$buiddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="2f000ed5aa11454936c846a784e484c7 libgnomekbd-3.6.0.tar.xz"
-sha256sums="c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09 libgnomekbd-3.6.0.tar.xz"
-sha512sums="27d0711eeebba91ca0dbed079c17acfec97116153a01f4f6e78cb30044afc534c438f655c6836b74b377acb8116d3b70e1f09578f182bb4fc51d8d05e89c6f17 libgnomekbd-3.6.0.tar.xz"
+sha512sums="dc3ee91468e570d038bc91c4458ddb49dc097639c671815eecc4308efea85e29c1121cfd959e62f970a2e8112f818296802be804e99b96ee89fd5de8136645d9 libgnomekbd-3.26.0.tar.xz"