Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: trashstar on Jun 4th, 2013  |  syntax: None  |  size: 0.91 KB  |  views: 28  |  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. # Maintainer: Renan Fernandes <renan@kauamanga.com.br>
  2.  
  3. pkgname=cutycapt-svn
  4. pkgver=6
  5. pkgrel=2
  6. pkgdesc="A Qt and WebKit based command-line utility that captures WebKit's rendering of a web page."
  7. arch=('any')
  8. url="http://cutycapt.sourceforge.net/"
  9. license=('GPL')
  10. depends=('qt4')
  11. makedepends=('subversion' 'gcc' 'make' 'patch')
  12. provides=('cutycapt' 'cutycapt-svn')
  13. conflicts=('cutycapt')
  14. source=('cutycapt.patch')
  15. md5sums=('dda35d210879565f737306eac5230e4b')
  16. _svntrunk="https://cutycapt.svn.sourceforge.net/svnroot/cutycapt"
  17. _svnmod="cutycapt"
  18.  
  19. build() {
  20.     svn co $_svntrunk "${srcdir}/$_svnmod"
  21.     msg "SVN checkout done or server timeout"
  22.     cd "${srcdir}/${_svnmod}/CutyCapt"
  23.     patch -p0 < "${srcdir}/cutycapt.patch"
  24.     qmake-qt4
  25.     make
  26. }
  27.  
  28. package() {
  29.     cd "${srcdir}/${_svnmod}/CutyCapt"
  30.     install -m755 -d "${pkgdir}/usr/bin"
  31.     install -m755 "CutyCapt" "${pkgdir}/usr/bin/"
  32. }