updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / flvplay / PKGBUILD
blob6cc5f33492e35643cae74f072e96e9392e484e46
1 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
2 pkgname=flvplay
3 pkgver=1.20
4 pkgrel=1
5 pkgdesc="Adobe AIR media player that plays local or remote flv/mp4 videos"
6 arch=('i686' 'x86_64')
7 url="http://www.riaforge.co.uk/go/flvplay/index.html"
8 license=('unknown')
9 depends=('adobe-air')
10 makedepends=('unzip')
11 source=(http://www.riaforge.co.uk/go/flvplay/flvplay.zip ${pkgname} ${pkgname}.desktop)
12 md5sums=('2a5f9957452b2641ff444b125b8b9bcb'
13          'ff33c4c7d700a2d8d63d0d7621420e28'
14          '152a541775e101423692486bb294a661')
16 build() {
17   cd ${srcdir}/
18   
19   install -d ${pkgdir}/{opt/${pkgname},usr/{bin,share/{applications,pixmaps}}}
20   unzip FLVPlay.air
21   install -Dm644 assets/runtime/icons/icon48.png ${pkgdir}/usr/share/pixmaps/flvplay.png
22   install FLVPlay.air ${pkgdir}/opt/${pkgname}/FLVPlay.air
23   install ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
24   install -m755 flvplay ${pkgdir}/usr/bin/flvplay