PKGBUILDs/extra/libdca/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
918 B
Bash

# $Id: PKGBUILD 49765 2009-08-15 15:10:25Z jgc $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libdca
pkgver=0.0.5
pkgrel=2
pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
arch=(i686 x86_64)
license=('GPL')
url="http://www.videolan.org/developers/libdca.html"
source=(http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
provides=('libdts')
replaces=('libdts')
options=('!libtool' '!emptydirs')
md5sums=('dab6b2795c66a82a6fcd4f8343343021')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/man/man1"/{extract_dts,dtsdec}.1
ln -s dcadec.1.gz "${pkgdir}/usr/share/man/man1/dtsdec.1.gz" || return 1
ln -s extract_dca.1.gz "${pkgdir}/usr/share/man/man1/extract_dts.1.gz" || return 1
}