Advertisement
TZ86

Untitled

Apr 8th, 2014
827
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. # Maintainer: sxe <sxxe@gmx.de>
  2. # Contributor: Alexey D. <lq07829icatm@rambler.ru>
  3.  
  4. pkgname=qupzilla-git
  5. pkgver=20140407
  6. pkgrel=1
  7. pkgdesc="A new and very fast open source browser based on WebKit core, written in Qt Framework."
  8. arch=('i686' 'x86_64')
  9. url="http://www.qupzilla.com"
  10. license=('GPL')
  11. depends=( 'qt4' 'qtwebkit')
  12. makedepends=('git')
  13. provides=('qupzilla')
  14. conflicts=('qupzilla')
  15. source=('git+https://github.com/QupZilla/qupzilla.git'
  16.         'git+https://github.com/QupZilla/qupzilla-plugins.git')
  17. md5sums=('SKIP'
  18.          'SKIP')
  19.  
  20. pkgver() {
  21.     cd "$srcdir/qupzilla"
  22.  
  23.     git log -1 --format="%ci" HEAD | cut -d\  -f1 | tr -d '-'
  24. }
  25.  
  26. build() {
  27.     cd "$srcdir/qupzilla"
  28.  
  29.     export USE_WEBGL="true"
  30.     export KDE="true"
  31.     export QUPZILLA_SRCDIR="$PWD"
  32.     export QUPZILLA_PLUGINS_SRCDIR="$srcdir/qupzilla-plugins/plugins"
  33.  
  34.     qmake-qt4
  35.     make
  36. }
  37.  
  38. package() {
  39.     cd "$srcdir/qupzilla"
  40.  
  41.     make INSTALL_ROOT="$pkgdir/" install
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement