summaryrefslogtreecommitdiff
path: root/user/gtksourceview-3.0/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-07 12:16:03 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-07 12:16:03 -0500
commita183df1c146910c7da7283c0cf13bdf853a37a88 (patch)
treefa2022757a1b41eca65a4273a290050ac99f1b3f /user/gtksourceview-3.0/APKBUILD
parente8ac311bb4af227e46b4a10784ad8b4f05e8476c (diff)
downloadpackages-a183df1c146910c7da7283c0cf13bdf853a37a88.tar.gz
packages-a183df1c146910c7da7283c0cf13bdf853a37a88.tar.bz2
packages-a183df1c146910c7da7283c0cf13bdf853a37a88.tar.xz
packages-a183df1c146910c7da7283c0cf13bdf853a37a88.zip
user/gtksourceview-3.0: new package
Diffstat (limited to 'user/gtksourceview-3.0/APKBUILD')
-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"