From a183df1c146910c7da7283c0cf13bdf853a37a88 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 7 Sep 2018 12:16:03 -0500 Subject: user/gtksourceview-3.0: new package --- user/gtksourceview-3.0/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/gtksourceview-3.0/APKBUILD (limited to 'user/gtksourceview-3.0/APKBUILD') 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2