# Contributor: Alex Yam # Maintainer: Alex Yam pkgname=gtksourceviewmm4 # Preview release for 4.0.0 pkgver=3.91.1 pkgrel=0 arch="all" pkgdesc="C++ wrapper for the gtksourceview widget library" url="https://developer.gnome.org/gtksourceviewmm/stable/" license="LGPL-2.1-or-later" makedepends="libtool mm-common gtksourceview4-dev" subpackages="$pkgname-doc $pkgname-dev" source="https://download.gnome.org/sources/gtksourceviewmm/${pkgver%.*}/gtksourceviewmm-$pkgver.tar.xz" builddir="$srcdir/${pkgname:0:-1}-$pkgver" prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } doc() { default_doc # move /usr/share/devhelp to -doc package # necessary until abuild's doc() detects 'devhelp' as doc # abuild MR: https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/87 amove /usr/share/devhelp } sha512sums="f28f5611ce21bf4bbe15008604a3963bab46a5a631aef1cb99197e7b397950dde0c6875948f433e9f27f279b669366b27623786ae07178391e3fa2b90665823e gtksourceviewmm-3.91.1.tar.xz"