summaryrefslogtreecommitdiffstats
path: root/abs/core/libdv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libdv/PKGBUILD')
-rw-r--r--abs/core/libdv/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/abs/core/libdv/PKGBUILD b/abs/core/libdv/PKGBUILD
index bd54a0d..fdeec4a 100644
--- a/abs/core/libdv/PKGBUILD
+++ b/abs/core/libdv/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 4510 2008-07-07 21:13:34Z ronald $
-# Maintainer: Jason Chu <jason@archlinux.org>
+# $Id: PKGBUILD 150457 2012-02-17 23:44:16Z allan $
+# Maintainer:
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=libdv
pkgver=1.0.0
-pkgrel=2
+pkgrel=4
pkgdesc="The Quasar DV codec (libdv) is a software codec for DV video"
arch=('i686' 'x86_64')
-depends=('popt' 'gtk')
-makedepends=('pkgconfig' 'gtk')
+url="http://libdv.sourceforge.net/"
+license=('LGPL')
+depends=('popt')
+makedepends=('pkg-config' 'gtk' 'libxv')
+optdepends=('gtk: for using playdv' 'libxv: for using playdv')
+options=('!libtool')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f895162161cfa4bb4a94c070a7caa6c7')
-url="http://libdv.sourceforge.net/"
-license=('GPL')
-options=(!libtool)
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}