summaryrefslogtreecommitdiffstats
path: root/abs/core/libdca
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-05-05 19:30:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-05-05 19:30:35 (GMT)
commit1d696ceb329c5f6e5d78f1a364c70b234a3d3f43 (patch)
tree3f0ae54f20455e969101fafeea32727cee1045d7 /abs/core/libdca
parent37bd316cbdda00ab174603c3103f68a9d499adc9 (diff)
downloadlinhes_pkgbuild-1d696ceb329c5f6e5d78f1a364c70b234a3d3f43.zip
linhes_pkgbuild-1d696ceb329c5f6e5d78f1a364c70b234a3d3f43.tar.gz
linhes_pkgbuild-1d696ceb329c5f6e5d78f1a364c70b234a3d3f43.tar.bz2
libdca: update pkg
Diffstat (limited to 'abs/core/libdca')
-rw-r--r--abs/core/libdca/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/abs/core/libdca/PKGBUILD b/abs/core/libdca/PKGBUILD
index 4794c02..2d05c00 100644
--- a/abs/core/libdca/PKGBUILD
+++ b/abs/core/libdca/PKGBUILD
@@ -1,22 +1,31 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libdca
pkgver=0.0.5
-pkgrel=1
+pkgrel=4
pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
-arch=(i686 x86_64)
+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)
-md5sums=('dab6b2795c66a82a6fcd4f8343343021')
+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 $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --disable-static
+ 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"
+ ln -s extract_dca.1.gz "${pkgdir}/usr/share/man/man1/extract_dts.1.gz"
}