updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / videocut / PKGBUILD
blobdaa2657b1cb6e9f4d0da49d75ff231d4750dc283
1 # Contributor: Nezmer <Nezmer@gmail.com>
2 # Thanks to judfilm for making the build process more professional
4 pkgname=videocut
5 pkgver=0.2.0
6 pkgrel=3
7 pkgdesc="An open-source desktop application specialized for creating compositions of screenshots from video files"
8 url="http://code.google.com/p/videocut/"
9 arch=('i686' 'x86_64')
10 license=('GPL2')
11 depends=('qt' 'xine-lib')
12 makedepends=('pkgconfig' 'qt')
13 source=(http://videocut.googlecode.com/files/${pkgname}_${pkgver}.tar.gz 
14         fileformat.patch)
15 md5sums=('470effa63836545391d6ff08c7e6e40e'
16          'ec42eb7141958f5bd63f3f8f2c6bb477')
18 build() {
19   cd ${srcdir}/${pkgname}-${pkgver}.orig
20   patch -p0 <${srcdir}/fileformat.patch || return 1
21   qmake || return 2
22   make || return 3
23   install -d ${pkgdir}/usr/bin
24   install -d ${pkgdir}/usr/share/applications
25   install -d ${pkgdir}/usr/share/icons
26   install -D -m755 build/result/videocut ${pkgdir}/usr/bin
27   install -D -m644 videocut.desktop ${pkgdir}/usr/share/applications/videocut.desktop
28   install -D -m644 videocut.svg ${pkgdir}/usr/share/icons/videocut.svg