summaryrefslogtreecommitdiff
path: root/libre/shntool/PKGBUILD
blob: cc88117d577076fa16b22fb36c664ed0092cba34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer (Arch): schuay <jakob.gruber@gmail.com>
# Contributor (Arch): Michal Hybner <dta081@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=shntool
pkgver=3.0.10
pkgrel=5
pkgrel+=.parabola1
pkgdesc="A multi-purpose WAVE data processing and reporting utility"
pkgdesc+=", without nonfree mac recommendation"
arch=('x86_64')
arch+=('i686' 'armv7h')
url="http://shnutils.freeshell.org/shntool/"
license=('GPL')
options=(!emptydirs)
depends=('glibc')
optdepends=('flac: support for flac format'
            'wavpack: support for wv format')
source=("http://shnutils.freeshell.org/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: