diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-27 16:04:44 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-27 17:07:05 -0300 |
commit | 365d2858103fdf1abce36d321c449d46a2c74b3e (patch) | |
tree | 5fe79a65714066aa3271f7670556252676c5500d | |
parent | d84b09da9695d98ed955f0ddf32f5b870f916169 (diff) | |
download | abslibre-365d2858103fdf1abce36d321c449d46a2c74b3e.tar.gz abslibre-365d2858103fdf1abce36d321c449d46a2c74b3e.tar.bz2 abslibre-365d2858103fdf1abce36d321c449d46a2c74b3e.zip |
shntool: add new package to [libre] - Freedom issue #1004 -> https://labs.parabola.nu/issues/1004
-rw-r--r-- | libre/shntool/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libre/shntool/PKGBUILD b/libre/shntool/PKGBUILD new file mode 100644 index 000000000..923c1ba92 --- /dev/null +++ b/libre/shntool/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer (Arch): schuay <jakob.gruber@gmail.com> +# Contributor (Arch): Michal Hybner <dta081@gmail.com> + +pkgname=shntool +pkgver=3.0.10 +pkgrel=4.parabola1 +pkgdesc="A multi-purpose WAVE data processing and reporting utility, without nonfree mac recommendation" +arch=('i686' 'x86_64') +url="http://www.etree.org/shnutils/shntool/" +license=('GPL') +options=(!emptydirs) +depends=('glibc') +optdepends=('flac: support for flac format' + 'wavpack: support for wv format') +source=("http://www.etree.org/shnutils/shntool/dist/src/${pkgname}-${pkgver}.tar.gz" + 'shntool-3.0.10-large-size.diff' + 'shntool-3.0.10-large-times.diff') + +# Patches taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684600 + +prepare() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -Np1 < "${srcdir}/shntool-3.0.10-large-size.diff" + patch -Np1 < "${srcdir}/shntool-3.0.10-large-times.diff" +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} + +md5sums=('5d41f8f42c3c15e3145a7a43539c3eae' + '4265935ef1d684a4b49041278ffda7de' + '6f0d61ddbf8cbee5c0b51a99e987ddda') + +# vim:set ts=2 sw=2 et: |