summaryrefslogtreecommitdiff
path: root/extra/kino/PKGBUILD
blob: b107e8a9d9a8f623ba1f791cae84ac94071af705 (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
# $Id: PKGBUILD 198121 2013-10-30 12:54:59Z allan $
# 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')
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"
}