updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / newsflashplus-bin / PKGBUILD
blob761492c8cb036ce277589927e0a50dc7f56c0df1
1 # Maintainer: dryes <joswiseman@gmail>
2 pkgname='newsflashplus-bin'
3 pkgver='3.4.0b3'
4 pkgrel=1
5 pkgdesc='Newsflash Plus is a full fledged Usenet binary reader providing unbeatable performance.'
6 url='http://ensisoft.com/index.php'
7 arch=('i686' 'x86_64')
8 license=('Custom')
9 depends=('openssl' 'glibc')
10 [[ "${CARCH}" -eq 'x86_64' ]] && depends+=('lib32-libpng12' 'lib32-glib2' 'lib32-libsm' 'lib32-libxrender' 'lib32-fontconfig' 'lib32-libxext') || depends+=('libpng12')
11 provides=('newsflashplus')
12 source=("http://ensisoft.com/software/newsflash_plus_${pkgver}.tar.gz")
13 md5sums=('e84ee2307a800a5d66164cb8e256315e')
15 package() {
16   mkdir -p "${pkgdir}/"{opt,usr/bin}
17   cp -r "${srcdir}/dist_final" "${pkgdir}/opt/newsflashplus"
18   
19   echo -e "#!/bin/bash\n\ncd /opt/newsflashplus\n\nbash newsflash.sh \"\$@\"" >> "${pkgdir}/usr/bin/newsflashplus"
20   chmod 755 "${pkgdir}/usr/bin/newsflashplus"