aboutsummaryrefslogblamecommitdiffstats
path: root/community/gtksourceview/APKBUILD
blob: d7a038d976612dc0e881d74e49c56bc0a5e65de8 (plain) (tree)
1
2
3
                                                   
                     
             































                                                                                                       
 
                                                                                                                                                                          
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview
pkgver=3.24.1
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="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"

_builddir="$srcdir/gtksourceview-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="b95a3fcba87115098a7a5b72adda20a955268faf682b69eae5d3621bcb02662b8a7751cc6dc3d870119a3368eada9a2976be7f077c16c4b8d6835ff59f164f63  gtksourceview-3.24.1.tar.xz"