summaryrefslogblamecommitdiff
path: root/user/gtksourceview-3.0/APKBUILD
blob: ca4fd1c327907f0371f356e8585e59fcfcb6141a (plain) (tree)






































                                                                                                                                                                          
# 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"