aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtksourceview/APKBUILD
blob: df117de463957d2cb10084909a624d521ce7f9da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview
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_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/$pkgname-$pkgver"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="bee5eaf12a9be0ae4eb7bf5256864859476526c51c19364f3274bd56c7ed480aceb1bb1bf84970fb35766e4230a06f44f9075c25992283c760f32fd81bd18cf7  gtksourceview-3.24.5.tar.xz"