summaryrefslogtreecommitdiff
path: root/extra/kino/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kino/PKGBUILD')
-rw-r--r--extra/kino/PKGBUILD27
1 files changed, 19 insertions, 8 deletions
diff --git a/extra/kino/PKGBUILD b/extra/kino/PKGBUILD
index a32733fd7..432c6b015 100644
--- a/extra/kino/PKGBUILD
+++ b/extra/kino/PKGBUILD
@@ -1,26 +1,37 @@
-# $Id: PKGBUILD 56265 2009-10-20 20:59:02Z giovanni $
+# $Id: PKGBUILD 141101 2011-10-23 23:38:04Z andrea $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Robert Emil Berge <robert@rebi.no>
pkgname=kino
pkgver=1.3.4
-pkgrel=2
-pkgdesc="A non-linear DV editor."
+pkgrel=4
+pkgdesc="A non-linear DV editor"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kinodv.org/"
license=('GPL')
depends=('libavc1394' 'libiec61883' 'libdv' 'libglade' 'libxv' 'libsamplerate' 'libsm')
-makedepends=('intltool')
+makedepends=('intltool' 'v4l-utils')
options=('!libtool')
install=kino.install
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('52f8ce690e45a089e3edc6c7af61a05c')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'videodev-header.patch')
+md5sums=('52f8ce690e45a089e3edc6c7af61a05c'
+ '940404c0eec3c9d954c289ceb52d15a6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 -i "${srcdir}"/videodev-header.patch
+
./configure --prefix=/usr \
--with-udev-rules-dir=/lib/udev/rules.d
- make || return 1
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- chown root:root -R $pkgdir/usr/share/kino/help
+
+ # Fix permissions
+ chown -R root:root "${pkgdir}/usr/share/kino/help"
}