summaryrefslogtreecommitdiff
path: root/extra/kino/PKGBUILD
blob: 29087cc23d89c155f536f67d7c0a1cece135f38e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 155907 2012-04-09 00:36:43Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=kino
pkgver=1.3.4
pkgrel=5
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' 'desktop-file-utils')
makedepends=('intltool' 'v4l-utils')
options=('!libtool')
install=kino.install
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=/usr/lib/udev/rules.d
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  # Fix permissions
  chown -R root:root "${pkgdir}/usr/share/kino/help"
}