aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdl/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-02-14 13:35:44 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-02-14 18:21:25 +0000
commit7b6d34c0f5665745f9966f82b083b9055e2afd73 (patch)
treefae7bedbff0ec78f495dabbdac0166f9cfc4e8b4 /main/gdl/APKBUILD
parentb018a152632caf0691f1d8bbf5d01bf0752f5080 (diff)
downloadaports-7b6d34c0f5665745f9966f82b083b9055e2afd73.tar.bz2
aports-7b6d34c0f5665745f9966f82b083b9055e2afd73.tar.xz
main/gdl: upgrade to 3.26.0 and modernize
Diffstat (limited to 'main/gdl/APKBUILD')
-rw-r--r--main/gdl/APKBUILD30
1 files changed, 9 insertions, 21 deletions
diff --git a/main/gdl/APKBUILD b/main/gdl/APKBUILD
index c0b89ce8b8..e23a5971cc 100644
--- a/main/gdl/APKBUILD
+++ b/main/gdl/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdl
-pkgver=3.22.0
+pkgver=3.26.0
pkgrel=0
pkgdesc="Gnome Devtool Libraries"
url="https://www.gnome.org/"
@@ -8,36 +8,24 @@ arch="all"
license="GPL"
makedepends="gtk+3.0-dev libxml2-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
- localedir.patch"
+source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- 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 \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-sha512sums="408fd75627497c658b65e9cd39b8779ad0db2fdc1f780e369237fbdd3f0ccc035cd86456ff72e1581c524f1d35673d3b31ebb074290babf025596d08d823833d gdl-3.22.0.tar.xz
-4e1138f1ec2e4f2d1eb85df653542195aa9caf512c759c54f6b275750a819d9684f590e0c8c01203050c1b3901f57ac6e113649f05ddc09b4d782307fd4e58d6 localedir.patch"
+sha512sums="f41a79e2c4657bacd20e48df5cacb2f52128229bc526aed6d2bdd2b30e8f33330f9f3b7fcb2dd9f71f7294e15727fae573d085b33b23d4c5caa1eeb691ef7cc6 gdl-3.26.0.tar.xz"