aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 21:14:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-25 00:33:36 -0300
commit3f0a2b106bc398fbdfa073bb2c494a80ea981230 (patch)
treea2923af884f62c3904c0ba10c19ab947a37c1234
parentec2a53593aa24f77ed2cda4c6862a76a2d605cf1 (diff)
downloadaports-3f0a2b106bc398fbdfa073bb2c494a80ea981230.tar.gz
aports-3f0a2b106bc398fbdfa073bb2c494a80ea981230.tar.bz2
aports-3f0a2b106bc398fbdfa073bb2c494a80ea981230.tar.xz
community/gtksourceview2: fix license=, modernize
-rw-r--r--community/gtksourceview2/APKBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/community/gtksourceview2/APKBUILD b/community/gtksourceview2/APKBUILD
index aa5050c2b8..6b7c7a2af3 100644
--- a/community/gtksourceview2/APKBUILD
+++ b/community/gtksourceview2/APKBUILD
@@ -1,40 +1,36 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview2
pkgver=2.10.5
-pkgrel=0
+pkgrel=1
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
url="http://live.gnome.org/GtkSourceView"
arch="all"
-license="GPL"
+license="LGPL-2.1-or-later"
replaces="gtksourceview"
-depends=
depends_dev="gtk+2.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.bz2"
-_builddir="$srcdir/gtksourceview-$pkgver"
+builddir="$srcdir/gtksourceview-$pkgver"
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ default_prepare
+ update_config_sub
}
build() {
- 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
+ make DESTDIR="$pkgdir" install
}
sha512sums="6f64acef6196bfc5953e0b148d7e460d366073b5e21367c01b01fc4d1c86ffe8aca71ecd77cf0814e47d8fc3085495f25bbbdc69e746987b02fd02fcda64886d gtksourceview-2.10.5.tar.bz2"