summaryrefslogtreecommitdiff
path: root/community/qupzilla/PKGBUILD
blob: 0e19921fc129fbc7526331d3751fe3e8dbb75d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 71945 2012-06-03 23:57:58Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>

_name=QupZilla
pkgname=qupzilla
pkgver=1.2.0
pkgrel=1
pkgdesc="Cross-platform QtWebKit browser"
arch=(i686 x86_64)
url="http://www.qupzilla.com/"
license=('GPL3')
depends=('qtwebkit' 'gtk-update-icon-cache')
install="$pkgname.install"
source=("https://github.com/$_name/$pkgname/tarball/v$pkgver")
md5sums=('fc689dcda60a45d7b1aed32ecb851c1a')

build() {
  cd "$srcdir/$_name-$pkgname-"*

  # enable webgl support
  export USE_WEBGL=true

  qmake QUPZILLA_PREFIX=/usr/
  make
}

package() {
  cd "$srcdir/$_name-$pkgname-"*
  make INSTALL_ROOT="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: