diff options
Diffstat (limited to 'main/libgnomekbd')
-rw-r--r-- | main/libgnomekbd/APKBUILD | 29 |
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" |