diff options
author | Nicola Murino | 2017-01-24 17:15:59 +0100 |
---|---|---|
committer | Nicola Murino | 2017-01-24 17:15:59 +0100 |
commit | 316b025ace96585975e8f743c503bd4d73dfc9bb (patch) | |
tree | b377233076af66a7421003dfe6efdbce228162aa | |
download | aur-316b025ace96585975e8f743c503bd4d73dfc9bb.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..38a309fb098c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Tue Jan 24 16:15:43 UTC 2017 +pkgbase = mingw-w64-wavpack + pkgdesc = Audio compression format with lossless, lossy and hybrid compression modes (mingw-w64) + pkgver = 5.1.0 + pkgrel = 1 + url = http://www.wavpack.com/ + arch = any + license = BSD + makedepends = mingw-w64-configure + depends = mingw-w64-crt + options = !strip + options = !buildflags + options = staticlibs + source = http://www.wavpack.com/wavpack-5.1.0.tar.bz2 + sha1sums = ed96443e3fc915128e1002a0f9f2c7ae9bcdc09b + +pkgname = mingw-w64-wavpack + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0efd7688f038 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: drakkan <nicola.murino at gmail dot com> +pkgname=mingw-w64-wavpack +pkgver=5.1.0 +pkgrel=1 +pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes (mingw-w64)" +arch=('any') +url="http://www.wavpack.com/" +license=('BSD') +makedepends=('mingw-w64-configure') +depends=('mingw-w64-crt') +options=('!strip' '!buildflags' 'staticlibs') +source=(http://www.wavpack.com/wavpack-${pkgver}.tar.bz2) +sha1sums=('ed96443e3fc915128e1002a0f9f2c7ae9bcdc09b') + +_architectures="i686-w64-mingw32 x86_64-w64-mingw32" + +build() { + cd "${srcdir}/wavpack-$pkgver/" + for _arch in ${_architectures}; do + mkdir -p build-${_arch} && pushd build-${_arch} + ${_arch}-configure --disable-apps .. + make + popd + done +} + +package() { + for _arch in ${_architectures}; do + cd "${srcdir}/wavpack-$pkgver/build-${_arch}" + make DESTDIR="${pkgdir}" install + rm -rf "$pkgdir"/usr/${_arch}/share/man + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll + ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a + done +} + +# vim: ts=2 sw=2 et: |