1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
3 pkgname=yle-downloader-gui
7 pkgdesc="Gui for rtmpdump-yle, a app to download videos from Yle-Areena"
9 url="http://mpartel.github.com/yle-downloader-gui/"
10 license=('PublicDomain')
11 depends=('rtmpdump-yle' 'qt')
12 source=(https://github.com/mpartel/yle-downloader-gui/tarball/v${pkgver})
16 cd "${srcdir}/mpartel-yle-downloader-gui-${_gitrev}"
18 lrelease yle-downloader-gui.pro
24 cd "${srcdir}/mpartel-yle-downloader-gui-${_gitrev}"
26 mkdir -p "${pkgdir}/usr/bin"
27 mkdir -p "${pkgdir}/usr/share/applications/"
29 cp yle-downloader-gui \
31 cp yle-downloader-gui.desktop \
32 "${pkgdir}/usr/share/applications/"
34 for png in 16 22 32 48 256; do
35 mkdir -p "${pkgdir}/usr/share/icons/hicolor/${png}x${png}/apps"
36 cp icons/${png}.png "${pkgdir}/usr/share/icons/hicolor/${png}x${png}/apps/yle-downloader-gui.png"
39 mkdir -p "${pkgdir}/usr/share/icons/hicolor/scaleable/apps"
40 cp icons/yle-downloader-gui.svg \
41 "${pkgdir}/usr/share/icons/hicolor/scaleable/apps/yle-downloader-gui.svg"
43 md5sums=('af5e48c3b3afa34ddef1127145ac3e26')