summaryrefslogtreecommitdiffstats
path: root/testing/gtksourceview/APKBUILD
blob: c4ed809a6d10ee01abed4a19b2451146559a814d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtksourceview
pkgver=2.8.2
pkgrel=0
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
url="http://live.gnome.org/GtkSourceView"
license="GPL"
depends=
makedepends="gtk+-dev intltool libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.8/gtksourceview-$pkgver.tar.bz2"

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

package() {
	cd "$srcdir"/gtksourceview-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="5ce481d3aa7d639fe4508530b184158c  gtksourceview-2.8.2.tar.bz2"