Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for quiterss (define PREFIX)

By: a guest on May 31st, 2013  |  syntax: Bash  |  size: 0.86 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributer: giacomogiorgianni@gmail.com
  2.  
  3. pkgname=quiterss
  4. _name=QuiteRSS
  5. code=2375
  6. pkgver=0.13.0
  7. pkgrel=4
  8. pkgdesc="QuiteRSS is fast and light rss ,feed reader written in C++/Qt4"
  9. arch=('any')
  10. url="http://code.google.com/p/quite-rss/"
  11. license=('GPL')
  12. depends=('qtwebkit')
  13. makedepends=('cmake' 'gettext' 'automoc4')
  14. options=('')
  15. source=(http://quite-rss.googlecode.com/files/${_name}-${pkgver}-src.tar.bz2)
  16. sha1sums=('ca54d5efec490c2c8ace8d29a76271a15d1e1ca5')
  17. install=$pkgname.install
  18.  
  19. build() {
  20.    
  21.   cd "${srcdir}/${_name}-${pkgver}-src"
  22.   sed -i '1,1i#include  <QSslError>|' src/webpage.cpp
  23.   qmake-qt4 ${srcdir}/${_name}-${pkgver}-src/$_name.pro \
  24.   "CONFIG+=LINUX_INTEGRATED" \
  25.   "INSTALL_ROOT_PATH=${pkgdir}" \
  26.   "PREFIX=/usr"
  27.  
  28.   make
  29. }
  30.  
  31. package() {
  32.   cd "${srcdir}/${_name}-${pkgver}-src"
  33.   make INSTALL_ROOT=${pkgdir} install
  34. }
clone this paste RAW Paste Data