aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtksourceview/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gtksourceview/APKBUILD')
-rw-r--r--main/gtksourceview/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/gtksourceview/APKBUILD b/main/gtksourceview/APKBUILD
new file mode 100644
index 0000000000..8e080b2077
--- /dev/null
+++ b/main/gtksourceview/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gtksourceview
+pkgver=2.10.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 gobject-introspection"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/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="56c849c0adea56228287abbabc7b70b9 gtksourceview-2.10.2.tar.bz2"