aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtksourceview
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-07 05:23:13 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-07 05:23:13 +0000
commit4f6577d0d1b9d8336da484272a3fc8299770b198 (patch)
treeddcd59b1a50cfffbc3b7efa57ad36097eae578a7 /community/gtksourceview
parent7b83ff4860ed813997241b00b0f835f1e3d63f04 (diff)
downloadaports-4f6577d0d1b9d8336da484272a3fc8299770b198.tar.bz2
aports-4f6577d0d1b9d8336da484272a3fc8299770b198.tar.xz
testing/gtksourceview: move to community
Diffstat (limited to 'community/gtksourceview')
-rw-r--r--community/gtksourceview/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/gtksourceview/APKBUILD b/community/gtksourceview/APKBUILD
new file mode 100644
index 0000000000..2f6a1e8a3f
--- /dev/null
+++ b/community/gtksourceview/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gtksourceview
+pkgver=3.18.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
+}
+md5sums="b7600b6cc06ec96ce1d028bf7a44d14b gtksourceview-3.18.1.tar.xz"
+sha256sums="7be95faf068b9f0ac7540cc1e8d607baa98a482850ef11a6471b53c9327aede6 gtksourceview-3.18.1.tar.xz"
+sha512sums="dacee02c1d7232279b560bfa362c65837a981d50fdc28ae966835ead7b0d99310d503b816895c77c5b61967778299e4c9385697de5210259a97f664703bc905f gtksourceview-3.18.1.tar.xz"