aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtksourceview/APKBUILD
blob: e9b67d7f5e0fbf2681e8450c8d227b3d4fe7999b (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
32
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview
pkgver=3.24.9
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"
options="!check" # testsuite requires graphical interface

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="29b58afba1c0b473205cf7070997139d2ca07cf68d40185aa76fa59c900ad21c03ccb79dec9970e5f96743cfdb5a7d926b21a9947244bc8cf8cbd1033467cd01  gtksourceview-3.24.9.tar.xz"