diff options
author | root <root@rshg054.dnsready.net> | 2013-08-30 03:00:09 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-30 03:00:09 -0700 |
commit | 085ca01503ba86daeabd413ba802ccf5fc287f94 (patch) | |
tree | 9ec3e6cdd429b39054179a16078a74086fb8a428 /community/winff | |
parent | 0a2b1eeb31400e539041c83cc1a5952f1c880917 (diff) |
Fri Aug 30 02:57:58 PDT 2013
Diffstat (limited to 'community/winff')
-rw-r--r-- | community/winff/PKGBUILD | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/community/winff/PKGBUILD b/community/winff/PKGBUILD index 4ac9e154a..efbf80827 100644 --- a/community/winff/PKGBUILD +++ b/community/winff/PKGBUILD @@ -1,20 +1,21 @@ -# $Id: PKGBUILD 95219 2013-08-06 20:32:53Z arodseth $ +# $Id: PKGBUILD 96460 2013-08-29 16:47:40Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: yugrotavele <yugrotavele at archlinux dot us> # Contributor: Paolo Stivanin <admin AT polslinux DOT it> pkgname=winff -pkgver=1.5.1 +pkgver=1.5.2 pkgrel=1 pkgdesc='GUI for ffmpeg' url='http://code.google.com/p/winff/' license=('GPL3') arch=('x86_64' 'i686') depends=('ffmpeg' 'gtk2' 'xterm' 'hicolor-icon-theme') -makedepends=('lazarus' 'lazarus-gtk2' 'gendesk') +makedepends=('lazarus' 'lazarus-gtk2' 'gendesk' 'tar') install='winff.install' -source=("http://winff.googlecode.com/files/winff-$pkgver-source.tar.gz") -sha256sums=('9d0c46c4245633ed4754fcc0dc104c850daeeefb032a9c5690eda63e84cd367b') +source=("https://$pkgname.googlecode.com/files/WinFF-$pkgver-source.tar.gz") +noextract=("WinFF-$pkgver-source.tar.gz") +sha256sums=('9ee1c68173263dad8d07df2bd62e830d73e6546a0fa86b35de9be8b4c363434c') prepare() { gendesk -n \ @@ -22,6 +23,12 @@ prepare() { --pkgdesc "$pkgdesc" \ --genericname 'Video converter' \ --categories 'AudioVideo;AudioVideoEditing;GTK' + + # The file provided by upstream is an "exploding tarball" where the files + # are not extracted in a directory. Also everything is set as executable. m) + mkdir -p "$pkgname" + cd "$pkgname" + tar zxf "../WinFF-$pkgver-source.tar.gz" } build() { @@ -31,22 +38,24 @@ build() { } package() { - install -Dm755 "$srcdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" - install -dm755 "$pkgdir/usr/share/winff/" + cd "$pkgname" + + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -d "$pkgdir/usr/share/winff/" find . -name "*.xml" \ -exec install -Dm644 {} "$pkgdir/usr/share/winff/" \; &> /dev/null install -Dm644 "$srcdir/winff.desktop" \ "$pkgdir/usr/share/applications/winff.desktop" - install -Dm644 "$srcdir/$pkgname/winff-icons/48x48/winff.png" \ + install -Dm644 'winff-icons/48x48/winff.png' \ "$pkgdir/usr/share/pixmaps/winff.png" for size in 16x16 24x24 32x32 48x48; do - install -Dm644 "$srcdir/$pkgname/winff-icons/$size/winff.png" \ + install -Dm644 "winff-icons/$size/winff.png" \ "$pkgdir/usr/share/icons/hicolor/$size/apps/winff.png" done install -dm755 "$pkgdir/usr/share/winff/languages/" find . -name "*.po" \ -exec install -Dm644 {} "$pkgdir/usr/share/winff/languages/" \; &> /dev/null - rm -f "$srcdir/$pkgname/presets.xml" + rm -f 'presets.xml' } # vim:set ts=2 sw=2 et: |