desktop/winff/PKGBUILD

36 lines
1.7 KiB
Bash
Raw Normal View History

2012-05-25 04:42:15 +08:00
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
pkgname=winff
2014-02-26 13:43:51 +08:00
pkgver=1.5.3
2012-05-25 04:42:15 +08:00
pkgrel=1
pkgdesc="WinFF is a GUI for the command line video converter, FFMPEG. It will convert most any video file that FFmpeg will convert. WinFF does multiple files in multiple formats at one time."
2013-08-08 17:09:25 +08:00
arch=('x86_64')
2012-05-25 04:42:15 +08:00
url="http://winff.org/"
license=('GPL')
depends=('fpc-qtbindings' 'ffmpeg')
makedepends=('lazarus' 'fpc')
2014-02-26 13:43:51 +08:00
source=("${pkgname}-${pkgver}.tar.gz::https://docs.google.com/uc?authuser=0&id=0B8HoAIi30ZDkMHlvVkVtNHJnLVE&export=download"
2012-05-25 04:42:15 +08:00
'winff.desktop')
2014-02-26 13:50:21 +08:00
md5sums=('4707630b55c8c6e45d9d2a7f83067be3'
2012-05-25 04:42:15 +08:00
'd74b924cd98995ada520f3333c845459')
2013-08-08 17:09:25 +08:00
screenshot="http://winff.org/images/2013/screenshot-1.5-ubuntu.jpg"
2012-05-25 04:42:15 +08:00
build() {
2014-02-26 13:43:51 +08:00
cd ${srcdir}/${pkgname}
2013-08-08 17:09:25 +08:00
lazbuild --lazarusdir=/usr/lib/lazarus winff.lpr --ws=qt
2012-05-25 04:42:15 +08:00
}
package() {
2014-02-26 13:43:51 +08:00
cd ${srcdir}/${pkgname}
install -Dm 755 ${srcdir}/${pkgname}/${pkgname} ${pkgdir}/usr/bin/winff
2013-08-08 17:09:25 +08:00
install -dm 755 ${pkgdir}/usr/share/winff/
find . -name "*.xml" -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/ \; &> /dev/null
2014-02-26 13:43:51 +08:00
install -Dm 644 ${srcdir}/winff.desktop ${pkgdir}/usr/share/applications/winff.desktop
install -Dm 644 winff-icons/16x16/winff.png ${pkgdir}/usr/share/icons/hicolor/16x16/apps/winff.png
install -Dm 644 winff-icons/24x24/winff.png ${pkgdir}/usr/share/icons/hicolor/24x24/apps/winff.png
install -Dm 644 winff-icons/32x32/winff.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/winff.png
install -Dm 644 winff-icons/48x48/winff.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/winff.png
2013-08-08 17:09:25 +08:00
install -dm 755 ${pkgdir}/usr/share/winff/languages/
find . -name "*.po" -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/languages/ \; &> /dev/null
2012-05-25 04:42:15 +08:00
}