summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/gtksourceview-3.0/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/gtksourceview-3.0/APKBUILD b/user/gtksourceview-3.0/APKBUILD
new file mode 100644
index 000000000..ca4fd1c32
--- /dev/null
+++ b/user/gtksourceview-3.0/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=gtksourceview-3.0
+pkgver=3.24.9
+pkgrel=0
+pkgdesc="Source viewer widget for GTK+ 3.0"
+url="https://gnome.org"
+arch="all"
+options="!check" # testsuite requires X
+license="LGPL-2.1+"
+makedepends="gtk+3.0-dev libxml2-dev vala-dev gobject-introspection-dev"
+checkdepends="libxml2-utils"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-$pkgver.tar.xz"
+builddir="$srcdir/gtksourceview-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="29b58afba1c0b473205cf7070997139d2ca07cf68d40185aa76fa59c900ad21c03ccb79dec9970e5f96743cfdb5a7d926b21a9947244bc8cf8cbd1033467cd01 gtksourceview-3.24.9.tar.xz"