aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-24 23:24:44 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-25 01:41:23 +0100
commit9a30cf0128dd66337a0e14c7c17525c300267824 (patch)
treece7d03a48ad5ebf614876289676b08fad6c42a3c /testing
parent08d710407f8e4ae2a0ac08734414124f35aa1948 (diff)
downloadaports-9a30cf0128dd66337a0e14c7c17525c300267824.tar.bz2
aports-9a30cf0128dd66337a0e14c7c17525c300267824.tar.xz
testing/lasem: add symlink lasem.pc -> lasem-0.4.pc
Diffstat (limited to 'testing')
-rw-r--r--testing/lasem/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/lasem/APKBUILD b/testing/lasem/APKBUILD
index 829f7c488d..dcc73fb003 100644
--- a/testing/lasem/APKBUILD
+++ b/testing/lasem/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lasem
pkgver=0.4.3
-pkgrel=0
+pkgrel=1
pkgdesc="A library for rendering SVG and Mathml, implementing a DOM like API"
url="https://wiki.gnome.org/Projects/Lasem"
arch="all"
@@ -32,6 +32,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
+ # Some software expect pkg-config name without a version.
+ ln -s $pkgname-${pkgver%.*}.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc
+
rm -r "$pkgdir"/usr/share/gtk-doc \
"$pkgdir"/usr/doc
}