SHARE
TWEET

flareGet PKGBUILD

a guest May 17th, 2013 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Author: Syed Adnan Kamili <adnan DOT kamili AT gmail "DOT" com>
  2.  
  3. pkgname=flareget
  4. _rel=1.4
  5. _subrel=9
  6. pkgver=${_rel}.${_subrel}
  7. pkgrel=1
  8. pkgdesc="A full featured, advanced, multi-threaded, multisegment download manager and accelerator."
  9. arch=('i686' 'x86_64')
  10. url="http://flareget.com"
  11. license=('custom')
  12. depends=('glibc>=2.13' 'qt4>=4.8.1' 'libpcap>=0.9.8')
  13. makedepends=('rpmextract')
  14. install=${pkgname}.install
  15.  
  16. if [ "${CARCH}" = "x86_64" ]; then
  17.     source=("http://www.flareget.com/files/flareget/rpms/amd64/${pkgname}-${_rel}-${_subrel}.x86_64.rpm")
  18.     md5sums=('6830926b0a87844001609beb252b3957')
  19.     pkg_arch=$CARCH
  20. elif  [ "${CARCH}" = "i686" ]; then
  21.     source=("http://www.flareget.com/files/flareget/rpms/i386/${pkgname}-${_rel}-${_subrel}.i386.rpm")
  22.     md5sums=('cbfc611a6fcfecea806e95feec12ef3f')
  23.     pkg_arch=i386
  24. fi
  25.  
  26. package() {
  27.    cd $pkgdir
  28.  
  29.    # Extract .rpm package
  30.    rpmextract.sh $srcdir/${pkgname}-${_rel}-${_subrel}.${pkg_arch}.rpm
  31.  
  32.    cd $srcdir
  33.    # License
  34.    install -Dm644 $pkgdir/usr/share/doc/$pkgname/COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
  35.  
  36.    rm $pkgdir/usr/share/doc/$pkgname/COPYING
  37. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top