updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / winff / PKGBUILD
blob37ee0891d9f36920b193078435eab1dc99cd67b8
1 # Maintainer: Paolo Stivanin <admin AT polslinux DOT it>
3 pkgname=winff
4 pkgver=1.4.0
5 pkgrel=4
6 pkgdesc="GUI for ffmpeg"
7 url="http://code.google.com/p/winff/"
8 license=('GPL3')
9 arch=('i686' 'x86_64')
10 depends=('ffmpeg' 'gtk2' 'xterm')
11 makedepends=('svn' 'lazarus')
12 source=(http://winff.googlecode.com/files/winff-$pkgver-source.tar.gz
13         winff.desktop)
14 md5sums=('90798f2c300c41edef417ff9d70a09ea'
15          '8ebcd86fdcd5ffaefe793a98a4c5b8bc')
17 build() {
18   cd $srcdir/$pkgname
19   lazbuild winff.lpr --ws=gtk2
22 package() {
23   cd ${srcdir}/
24   install -Dm 755 $srcdir/$pkgname/$pkgname $pkgdir/usr/bin/winff
25   install -dm 755 ${pkgdir}/usr/share/winff/
26   find . -name "*.xml" -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/ \; &> /dev/null
27   install -Dm 644 $srcdir/winff.desktop $pkgdir/usr/share/applications/winff.desktop
28   install -Dm 644 $srcdir/$pkgname/winff-icons/16x16/winff.png $pkgdir/usr/share/icons/hicolor/16x16/apps/winff.png
29   install -Dm 644 $srcdir/$pkgname/winff-icons/24x24/winff.png $pkgdir/usr/share/icons/hicolor/24x24/apps/winff.png
30   install -Dm 644 $srcdir/$pkgname/winff-icons/32x32/winff.png $pkgdir/usr/share/icons/hicolor/32x32/apps/winff.png
31   install -Dm 644 $srcdir/$pkgname/winff-icons/48x48/winff.png $pkgdir/usr/share/icons/hicolor/48x48/apps/winff.png
32   install -dm 755 ${pkgdir}/usr/share/winff/languages/
33   find . -name "*.po"  -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/languages/ \; &> /dev/null
34   rm ${srcdir}/$pkgname/presets.xml