PKGBUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Maintainer (Arch): schuay <jakob.gruber@gmail.com>
  2. # Contributor (Arch): Michal Hybner <dta081@gmail.com>
  3. # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
  4. pkgname=shntool
  5. pkgver=3.0.10
  6. pkgrel=5
  7. pkgrel+=.parabola1
  8. pkgdesc="A multi-purpose WAVE data processing and reporting utility"
  9. pkgdesc+=", without nonfree mac recommendation"
  10. arch=('x86_64')
  11. arch+=('i686' 'armv7h')
  12. url="http://shnutils.freeshell.org/shntool/"
  13. license=('GPL')
  14. options=(!emptydirs)
  15. depends=('glibc')
  16. optdepends=('flac: support for flac format'
  17. 'wavpack: support for wv format')
  18. source=("http://shnutils.freeshell.org/shntool/dist/src/${pkgname}-${pkgver}.tar.gz"
  19. 'shntool-3.0.10-large-size.diff'
  20. 'shntool-3.0.10-large-times.diff')
  21. # Patches taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684600
  22. prepare() {
  23. cd "${srcdir}"/${pkgname}-${pkgver}
  24. patch -Np1 < "${srcdir}/shntool-3.0.10-large-size.diff"
  25. patch -Np1 < "${srcdir}/shntool-3.0.10-large-times.diff"
  26. }
  27. build() {
  28. cd "${srcdir}"/${pkgname}-${pkgver}
  29. ./configure --prefix=/usr
  30. make
  31. }
  32. package() {
  33. cd "${srcdir}"/${pkgname}-${pkgver}
  34. make DESTDIR="${pkgdir}" install
  35. }
  36. md5sums=('5d41f8f42c3c15e3145a7a43539c3eae'
  37. '4265935ef1d684a4b49041278ffda7de'
  38. '6f0d61ddbf8cbee5c0b51a99e987ddda')
  39. # vim:set ts=2 sw=2 et: