1 # Maintainer: dryes <joswiseman@gmail>
2 pkgname='newsflashplus-bin'
5 pkgdesc='Newsflash Plus is a full fledged Usenet binary reader providing unbeatable performance.'
6 url='http://ensisoft.com/index.php'
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')
16 mkdir -p "${pkgdir}/"{opt,usr/bin}
17 cp -r "${srcdir}/dist_final" "${pkgdir}/opt/newsflashplus"
19 echo -e "#!/bin/bash\n\ncd /opt/newsflashplus\n\nbash newsflash.sh \"\$@\"" >> "${pkgdir}/usr/bin/newsflashplus"
20 chmod 755 "${pkgdir}/usr/bin/newsflashplus"