updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / binreader / PKGBUILD
blob435b9a968fc0db0c4174e1a6d90d27885c406d04
1 # Maintainer:  Backfist <chalvadori@gmx.de>
3 pkgname=binreader
4 pkgver=1.0beta3
5 pkgrel=1
6 pkgdesc="Simple No-nonsense NZB download manager."
7 url="http://www.binreader.com/"
8 license=('custom')
9 makedepends=()
10 arch=(i686 x86_64)
11 depends=('qt' 'glibc' 'libxdmcp' 'libxcb' 'openssl' 'libpng' 'freetype2' 'libxrender' 'libx11' 'par2cmdline') 
13 if [[ $CARCH == 'x86_64' ]];
14 then
15         
16 source=(http://www.binreader.com/${pkgname}_${pkgver}_amd64.deb)
17         md5sums=('cf0351ca215aa40a24001c4faefcda3b');
18 else
19         source=(http://www.binreader.com/${pkgname}_${pkgver}_i386.deb)
20         md5sums=('1563486ebedbb3959711d6f2a339f567');
23 optdepends=()
25 build() {
26  if [[ $CARCH == 'x86_64' ]];
27  then
28         ar p ${srcdir}/${pkgname}_${pkgver}_amd64.deb data.tar.gz | tar xz
29  else
30         ar p ${srcdir}/${pkgname}_${pkgver}_i386.deb data.tar.gz | tar xz
31  fi
32   
33   cp -R ${srcdir}/usr ${pkgdir}/