updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / webreader / PKGBUILD
blob2df2ad414ce6f8f886c722bd252828a221db4c17
1 # Contributor: Wido <widowild [at] myopera [dot] com>
3 pkgname=webreader
4 _buildver=0.8.80
5 buildver=0_8_80
6 _release=beta
7 pkgver=${_buildver}_${_release}
8 pkgrel=1
9 pkgdesc="it'is the most popular cross platform rss reader and is a full featured Google reader desktop client."
10 arch=('any')
11 url="http://www.getwebreader.com"
12 license=('custom')
13 depends=('adobe-air')
14 makedepends=('unzip')
15 source=(http://www.getwebreader.com/app/air/download/WebReader_${buildver}.zip 'webreader.desktop' 'webreader.sh')
17 build()
19    cd ${srcdir}/
20    true
23 package()
25     cd ${srcdir}/
27    install -m644 -D ${srcdir}/WebReader_${buildver}/WebReader_${buildver}.air \
28        ${startdir}/pkg/opt/$pkgname/$pkgname.air
30    unzip -x ${srcdir}/WebReader_${buildver}/WebReader_${buildver}.air
32    install -m644 -D ${srcdir}/assets/img/app/web_reader_128.png \
33         ${startdir}/pkg/usr/share/pixmaps/$pkgname.png
35    install -m755 -D ${srcdir}/$pkgname.sh \
36        ${startdir}/pkg/usr/bin/$pkgname
38    install -m644 -D ${srcdir}/$pkgname.desktop \
39        ${startdir}/pkg/usr/share/applications/$pkgname.desktop
42 md5sums=('00911394014dd0e7268b0ead58ef7ce7'
43          '310dac40980bf130c70ae2be7766e0d9'
44          '2523a59173c48bcb742318364fe8d88d')