aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-09 16:02:17 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-31 06:36:30 +0000
commit0389a591d6ef9454b17131beaa59ebad5bfa3a25 (patch)
treebbfa3516f52bf68172c0a4eea1b573b03391658f
parent377731b2f43e7e247e88edd54b2b5052b269ae0f (diff)
downloadaports-0389a591d6ef9454b17131beaa59ebad5bfa3a25.tar.bz2
aports-0389a591d6ef9454b17131beaa59ebad5bfa3a25.tar.xz
community/gtksourceview: upgrade to 3.24.11
-rw-r--r--community/gtksourceview/APKBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/community/gtksourceview/APKBUILD b/community/gtksourceview/APKBUILD
index e9b67d7f5e..0b24798c0d 100644
--- a/community/gtksourceview/APKBUILD
+++ b/community/gtksourceview/APKBUILD
@@ -1,22 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview
-pkgver=3.24.9
+pkgver=3.24.11
pkgrel=0
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
-url="http://live.gnome.org/GtkSourceView"
+url="https://wiki.gnome.org/action/show/Projects/GtkSourceView"
arch="all"
-license="GPL"
+license="LGPL-2.1-or-later"
replaces="gtksourceview"
depends_dev="gtk+3.0-dev libxml2-dev"
-makedepends="$depends_dev gobject-introspection-dev"
+makedepends="$depends_dev gobject-introspection-dev automake autoconf libtool"
+checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
-options="!check" # testsuite requires graphical interface
-builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ default_prepare
+ autoreconf -fi
+}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -25,8 +27,11 @@ build() {
make
}
+check() {
+ xvfb-run make check
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="29b58afba1c0b473205cf7070997139d2ca07cf68d40185aa76fa59c900ad21c03ccb79dec9970e5f96743cfdb5a7d926b21a9947244bc8cf8cbd1033467cd01 gtksourceview-3.24.9.tar.xz"
+sha512sums="3490b34c6432a2e2ef292ad5bf982fdd22d33b1472434549b4ea8ddae0fc8808e128ef947e4d0dcb41e8de5e601b202f52532bbbbfa11d35050acfc42f9936b2 gtksourceview-3.24.11.tar.xz"