Commit ed8e5d14 authored by Neofytos Kolokotronis's avatar Neofytos Kolokotronis

libdca: rebuilt for multimedia group

parent c818e844
# $Id: PKGBUILD 49765 2009-08-15 15:10:25Z jgc $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libdca
pkgname=libdca
pkgver=0.0.5
pkgrel=2
pkgrel=3
pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
arch=(i686 x86_64)
arch=(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)
......@@ -15,12 +14,16 @@ 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
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
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
ln -s dcadec.1.gz "${pkgdir}/usr/share/man/man1/dtsdec.1.gz"
ln -s extract_dca.1.gz "${pkgdir}/usr/share/man/man1/extract_dts.1.gz"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment