From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/libdca/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 extra/libdca/PKGBUILD (limited to 'extra/libdca') diff --git a/extra/libdca/PKGBUILD b/extra/libdca/PKGBUILD new file mode 100644 index 000000000..5a8e195d2 --- /dev/null +++ b/extra/libdca/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 49760 2009-08-15 15:07:38Z jgc $ +# Maintainer: Andreas Radke + +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 +} -- cgit v1.2.3-54-g00ecf