aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtksourceview
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-07 17:25:29 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-07 17:25:29 +0000
commit753b75a523a375cf0f32e14ada700b99d4ac8302 (patch)
tree2182b40dbb8a2486fa4d72571ac3d22394c21e98 /community/gtksourceview
parentabcb8687bdabc3db02544ce80103fba0e0a33267 (diff)
downloadaports-753b75a523a375cf0f32e14ada700b99d4ac8302.tar.bz2
aports-753b75a523a375cf0f32e14ada700b99d4ac8302.tar.xz
community/gtksourceview: upgrade to 3.24.5 and modernize
Diffstat (limited to 'community/gtksourceview')
-rw-r--r--community/gtksourceview/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/community/gtksourceview/APKBUILD b/community/gtksourceview/APKBUILD
index 208bee071c..df117de463 100644
--- a/community/gtksourceview/APKBUILD
+++ b/community/gtksourceview/APKBUILD
@@ -1,37 +1,31 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview
-pkgver=3.24.1
+pkgver=3.24.5
pkgrel=0
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
url="http://live.gnome.org/GtkSourceView"
arch="all"
license="GPL"
replaces="gtksourceview"
-depends=
depends_dev="gtk+3.0-dev libxml2-dev"
makedepends="$depends_dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
-_builddir="$srcdir/gtksourceview-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--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="b95a3fcba87115098a7a5b72adda20a955268faf682b69eae5d3621bcb02662b8a7751cc6dc3d870119a3368eada9a2976be7f077c16c4b8d6835ff59f164f63 gtksourceview-3.24.1.tar.xz"
+sha512sums="bee5eaf12a9be0ae4eb7bf5256864859476526c51c19364f3274bd56c7ed480aceb1bb1bf84970fb35766e4230a06f44f9075c25992283c760f32fd81bd18cf7 gtksourceview-3.24.5.tar.xz"