diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/kino |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/kino')
-rw-r--r-- | extra/kino/PKGBUILD | 26 | ||||
-rw-r--r-- | extra/kino/kino.install | 14 |
2 files changed, 40 insertions, 0 deletions
diff --git a/extra/kino/PKGBUILD b/extra/kino/PKGBUILD new file mode 100644 index 000000000..eedf2910f --- /dev/null +++ b/extra/kino/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 56265 2009-10-20 20:59:02Z giovanni $ +# 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." +arch=('i686' 'x86_64') +url="http://www.kinodv.org/" +license=('GPL') +depends=('libavc1394' 'libiec61883' 'libdv' 'libglade' 'libxv' 'libsamplerate' 'libsm') +makedepends=('intltool') +options=('!libtool') +install=kino.install +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('52f8ce690e45a089e3edc6c7af61a05c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --with-udev-rules-dir=/lib/udev/rules.d + make || return 1 + make DESTDIR="${pkgdir}" install + chown root:root -R $pkgdir/usr/share/kino/help +} diff --git a/extra/kino/kino.install b/extra/kino/kino.install new file mode 100644 index 000000000..7dc309965 --- /dev/null +++ b/extra/kino/kino.install @@ -0,0 +1,14 @@ +post_install() { + echo "update desktop mime database..." + update-mime-database usr/share/mime 1> /dev/null + update-desktop-database -q +} +post_upgrade() { + post_install $1 +} + +post_remove() { + echo "update desktop mime database..." + update-mime-database usr/share/mime 1> /dev/null + update-desktop-database -q +} |