summaryrefslogtreecommitdiff
path: root/extra/libdca/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libdca/PKGBUILD')
-rw-r--r--extra/libdca/PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/extra/libdca/PKGBUILD b/extra/libdca/PKGBUILD
index 578ca3866..cfac10ae8 100644
--- a/extra/libdca/PKGBUILD
+++ b/extra/libdca/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 137736 2011-09-10 14:39:31Z pierre $
+# $Id: PKGBUILD 198146 2013-10-30 13:04:19Z allan $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libdca
pkgver=0.0.5
-pkgrel=3.2
+pkgrel=4
pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -11,23 +11,21 @@ url="http://www.videolan.org/developers/libdca.html"
depends=('sh')
provides=('libdts')
replaces=('libdts')
-options=('!libtool' '!emptydirs')
+options=('!emptydirs')
source=("http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('dab6b2795c66a82a6fcd4f8343343021')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --disable-static
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ 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"
ln -s extract_dca.1.gz "${pkgdir}/usr/share/man/man1/extract_dts.1.gz"
- # remove dangling symlink
- rm "${pkgdir}/usr/lib/libdts.a"
}