diff options
author | spider-mario | 2016-02-14 14:33:00 +0100 |
---|---|---|
committer | spider-mario | 2016-02-14 14:33:00 +0100 |
commit | 57e05b3d7dc74678b6be3880213636fa7c3c3352 (patch) | |
tree | b68fec259654ac275d2557b4d11858bf8e9fd05b | |
download | aur-57e05b3d7dc74678b6be3880213636fa7c3c3352.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..12888a60bcf3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sun Feb 14 13:32:46 UTC 2016 +pkgbase = mingw-w64-lv2 + pkgdesc = Successor to the LADSPA audio plug-in standard (mingw-w64) + pkgver = 1.12.0 + pkgrel = 1 + url = http://lv2plug.in/ + arch = any + license = LGPL + license = custom + makedepends = python2 + depends = mingw-w64-crt + optdepends = mingw-w64-pkg-config + optdepends = mingw-w64-gcc + source = http://lv2plug.in/spec/lv2-1.12.0.tar.bz2 + md5sums = 665580dc761de40b0d335001a204496a + +pkgname = mingw-w64-lv2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a29406d6ead --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: spider-mario <spidermario@free.fr> +# Maintainer of `lv2`: Ray Rashif <schiv@archlinux.org> + +pkgname=mingw-w64-lv2 +pkgver=1.12.0 +pkgrel=1 +pkgdesc="Successor to the LADSPA audio plug-in standard (mingw-w64)" +url="http://lv2plug.in/" +license=('LGPL' 'custom') +arch=('any') +depends=('mingw-w64-crt') +optdepends=('mingw-w64-pkg-config' 'mingw-w64-gcc') +makedepends=('python2') +source=("http://lv2plug.in/spec/lv2-$pkgver.tar.bz2") +md5sums=('665580dc761de40b0d335001a204496a') + +_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') + +package() { + cd lv2-$pkgver + + for _arch in "${_architectures[@]}"; do + # No need to build, we only install headers and static files. + python2 waf configure --prefix=/usr/"$_arch" --no-plugins + python2 waf install --destdir="$pkgdir" + rm -fr "$pkgdir"/usr/*/{bin,share} + done + + install -Dm644 COPYING \ + "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: |