summaryrefslogblamecommitdiff
path: root/user/gtksourceview-3.0/APKBUILD
blob: 94fe8ad5140211ac2c2dc33d2533d465fc699baf (plain) (tree)
1
2
3
4

                                                         
                         
              

































                                                                                           
                                                                                                                                                                           
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=gtksourceview-3.0
pkgver=3.24.11
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="3490b34c6432a2e2ef292ad5bf982fdd22d33b1472434549b4ea8ddae0fc8808e128ef947e4d0dcb41e8de5e601b202f52532bbbbfa11d35050acfc42f9936b2  gtksourceview-3.24.11.tar.xz"