summaryrefslogblamecommitdiff
path: root/user/libspectre/APKBUILD
blob: 0caa4b28465ecb6a80ec6ddce6b851f830eddebe (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15













                                                                              









                                         


                  


                                                                                                                                                                      
# 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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ebbe7f6adcbc7f7d6af61f24e23b114116c878755dbe90f1163546c1284a005b4d539be01986c1f940611e84141ca19768b8effc2abf1013606da7c93547da86  libspectre-0.2.8.tar.gz"