diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-07-24 20:04:37 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-28 22:43:00 +0200 |
commit | 5fa7d23873d9a25a8e394ee4c742fe7cbde72db0 (patch) | |
tree | dc0355da7d3d651fdeafc998adedcf6624ca6b40 /community/vte3 | |
parent | bddb49baaf504d22f9faf821a253a7f6231e2260 (diff) | |
download | aports-5fa7d23873d9a25a8e394ee4c742fe7cbde72db0.tar.bz2 aports-5fa7d23873d9a25a8e394ee4c742fe7cbde72db0.tar.xz |
community/vte3: upgrade to 0.48.3 and modernize abuild
Diffstat (limited to 'community/vte3')
-rw-r--r-- | community/vte3/APKBUILD | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/community/vte3/APKBUILD b/community/vte3/APKBUILD index d2d96ab04d..8a5766e354 100644 --- a/community/vte3/APKBUILD +++ b/community/vte3/APKBUILD @@ -1,13 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=vte3 -pkgver=0.48.2 +pkgver=0.48.3 pkgrel=0 pkgdesc="Virtual Terminal Emulator library" url="https://developer.gnome.org/vte/" arch="all" license="LGPL2+" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -depends= depends_dev="pango-dev gtk+3.0-dev" makedepends="$depends_dev intltool python2 ncurses-dev gobject-introspection-dev vala gnutls-dev linux-headers libxml2-utils pcre2-dev gperf @@ -16,22 +15,16 @@ source="http://ftp.gnome.org/pub/GNOME/sources/vte/${pkgver%.*}/vte-$pkgver.tar. allow_alt_in_terminal.patch werror.patch " +builddir="$srcdir/vte-$pkgver" -_builddir="$srcdir"/vte-$pkgver prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done - autoreconf -vif || return 1 + cd "$builddir" + default_prepare + autoreconf -vif } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS="$CFLAGS -D_GNU_SOURCE" ./configure \ --build=$CBUILD \ @@ -41,16 +34,15 @@ build() { --libexecdir=/usr/lib/$pkgname \ --localstatedir=/var \ --disable-static \ - --enable-introspection \ - || return 1 - make V=1 || return 1 + --enable-introspection + make V=1 } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="cbb2835618c554d72a790e16f1ac5b3c06a8a810d8d517c475ed7ca46eeb56d7c9f9226918e13c5c84c04ce1ccb5467e62af7c4453f317a0aad197a4c179d76a vte-0.48.2.tar.xz +sha512sums="3037b61a759cfcf56838bc7804df5a211da416bff9ddc5791f8a8d5157b90926985cfe57d7edbab42de64945d5e668470fe4129a218fb9c7af546648e1660c72 vte-0.48.3.tar.xz a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch ff199ede8e415d141d897e9c922db84d33c2c28d07958a5ec44b3688809809885f45275cc1aeed56fa2d8de46e9cc2527f5e9682a8ea28af7e39b275340c85c4 werror.patch" |