summaryrefslogblamecommitdiff
path: root/user/libspectre/APKBUILD
blob: 2e43f6abc906afaa120cd378bf28c7ac095de211 (plain) (tree)




































                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libspectre
pkgver=0.2.8
pkgrel=0
pkgdesc="Library for rendering PostScript documents"
url="https://www.freedesktop.org/wiki/Software/libspectre/"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="cairo-dev gnu-ghostscript-dev"
subpackages="$pkgname-dev"
source="https://libspectre.freedesktop.org/releases/libspectre-$pkgver.tar.gz"

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="ebbe7f6adcbc7f7d6af61f24e23b114116c878755dbe90f1163546c1284a005b4d539be01986c1f940611e84141ca19768b8effc2abf1013606da7c93547da86  libspectre-0.2.8.tar.gz"