1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
6 pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
9 url="https://www.videolan.org/developers/libdca.html"
13 options=('!emptydirs')
14 source=(https://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
15 sha512sums=('dae15d77d066687c882833d5bed8d65a585c1fc0277b7276563c89ddd5a83b35389ec94cca445f38af28a9b01430b72647e9afd1b08f030959e711de1a08924a')
24 ./configure --prefix=/usr --mandir=/usr/share/man --disable-static
30 make DESTDIR="${pkgdir}" install
32 rm -f "${pkgdir}/usr/share/man/man1"/{extract_dts,dtsdec}.1
33 ln -s dcadec.1.gz "${pkgdir}/usr/share/man/man1/dtsdec.1.gz"
34 ln -s extract_dca.1.gz "${pkgdir}/usr/share/man/man1/extract_dts.1.gz"
35 rm -f "${pkgdir}/usr/lib/libdts.a"