aboutsummaryrefslogtreecommitdiffstats
path: root/community/libspectre/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libspectre/APKBUILD')
-rw-r--r--community/libspectre/APKBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/community/libspectre/APKBUILD b/community/libspectre/APKBUILD
index 31508467ce..dddde2dbf6 100644
--- a/community/libspectre/APKBUILD
+++ b/community/libspectre/APKBUILD
@@ -1,24 +1,21 @@
# Contributor: Andrew Hills <ahills@ednos.net>
-# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
-# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
+# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
+# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=libspectre
pkgver=0.2.8
-pkgrel=2
+pkgrel=3
pkgdesc="A small library for rendering Postscript documents"
url="http://www.freedesktop.org/wiki/Software/libspectre"
arch="all"
-license="GPL-2.0"
+license="LGPL-2.0-or-later"
makedepends="ghostscript-dev doxygen graphviz"
checkdepends="cairo-dev file"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://libspectre.freedesktop.org/releases/$pkgname-$pkgver.tar.gz
+source="https://libspectre.freedesktop.org/releases/libspectre-$pkgver.tar.gz
test.ps
"
-builddir="$srcdir/$pkgname-$pkgver"
-
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,14 +29,13 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
doc() {
- mkdir -m 0755 -p "$subpkgdir"/usr/share/doc/libspectre
- install -m 0644 "$builddir"/doc/html/* \
- "$subpkgdir"/usr/share/doc/libspectre/
+ mkdir -p "$subpkgdir/usr/share/doc/$pkgname"
+ install -m644 "$builddir"/doc/html/* \
+ "$subpkgdir/usr/share/doc/$pkgname/"
}
check() {