diff options
Diffstat (limited to 'extra/lv2core')
-rw-r--r-- | extra/lv2core/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/lv2core/lv2core.changelog | 8 | ||||
-rw-r--r-- | extra/lv2core/lv2core.install | 3 |
3 files changed, 21 insertions, 7 deletions
diff --git a/extra/lv2core/PKGBUILD b/extra/lv2core/PKGBUILD index d483ab952..21cef7c66 100644 --- a/extra/lv2core/PKGBUILD +++ b/extra/lv2core/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 116670 2011-03-24 20:31:38Z schiv $ +# $Id: PKGBUILD 119725 2011-04-14 07:21:19Z schiv $ # Maintainer: Ray Rashif <schiv@archlinux.org> pkgname=lv2core pkgver=4.0 -pkgrel=1 +pkgrel=2 pkgdesc="LV2: Successor to the LADSPA audio plug-in standard" url="http://lv2plug.in/" license=('LGPL' 'custom') @@ -12,7 +12,7 @@ makedepends=('python2') provides=('lv2') changelog=$pkgname.changelog install=$pkgname.install -source=(http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2) +source=("http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2") md5sums=('5097d964f3559a1ecec2d2fc822ef53a') build() { @@ -27,7 +27,16 @@ package() { python2 waf install --destdir="$pkgdir" - install -Dm0644 COPYING \ + # do the work of lv2config to own symlinks; + # - generate lv2 headers + # - see FS#23514 + _ns=$(grep '^<http' manifest.ttl | sed 's|<http://\(.*\)>|\1|') + _name=${_ns/*\/} + _path="$pkgdir/usr/include/lv2/${_ns%/*}" + install -d "$_path" + ln -s "/usr/lib/lv2/$_name.lv2" "$_path/$_name" + + install -Dm644 COPYING \ "$pkgdir/usr/share/licenses/$pkgname/COPYING" } diff --git a/extra/lv2core/lv2core.changelog b/extra/lv2core/lv2core.changelog index 618e5921f..415cd0b59 100644 --- a/extra/lv2core/lv2core.changelog +++ b/extra/lv2core/lv2core.changelog @@ -1,7 +1,13 @@ +14 Apr 2011 (GMT+8) Ray Rashif <schiv@archlinux.org> + + * 4.0-2: + Do the work of lv2config in PKGBUILD manually + See https://bugs.archlinux.org/task/23514 + 25 Mar 2011 (GMT+8) Ray Rashif <schiv@archlinux.org> * 4.0-1 : - Upstream release + Upstream release 9 Aug 2010 (GMT+8) Ray Rashif <schiv@archlinux.org> diff --git a/extra/lv2core/lv2core.install b/extra/lv2core/lv2core.install index 6a9fdf33b..dbd9898d3 100644 --- a/extra/lv2core/lv2core.install +++ b/extra/lv2core/lv2core.install @@ -1,6 +1,5 @@ post_install() { \ldconfig - \lv2config } post_upgrade() { @@ -8,7 +7,7 @@ post_upgrade() { } post_remove() { - \ldconfig + post_install } # vim:set ts=2 sw=2 et: |