desktop/qupzilla/PKGBUILD
2012-04-24 19:09:47 +00:00

44 lines
1.3 KiB
Bash

# Contributor: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=qupzilla
pkgver=1.2.0
pkgrel=2
commit=g${_commit}
_commit=642f424
pkgdesc="A very fast open source browser based on WebKit core"
url="http://www.qupzilla.com"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('qt')
categories=('network')
source=("https://github.com/QupZilla/QupZilla/tarball/master/QupZilla-qupzilla-v1.2.0-53-g642f424.tar.gz"
'searchenginesmanager.diff'
'speeddial.diff'
'preferences.diff'
'qupzilla.diff'
'start-white.png')
md5sums=('2b939284130c853175ebbd7ee3388c4f'
'a879b2f492264841d384e91dda611b4b'
'05550d47d4c84efada2f65b31a3ab148'
'ac98b9f9cc45df18070eabee518c0049'
'fc0aa2bef51e5488f129b4618ee18545'
'fc705d7aba952361a626a2c79726bbfa')
build() {
cd "${srcdir}/QupZilla-qupzilla-${_commit}/"
patch -Np0 -i "${srcdir}/searchenginesmanager.diff"
patch -Np0 -i "${srcdir}/speeddial.diff"
patch -Np0 -i "${srcdir}/preferences.diff"
patch -Np0 -i "${srcdir}/qupzilla.diff"
export USE_WEBGL="true"
export KDE="true"
qmake QupZilla.pro
make
}
package() {
cd "${srcdir}/QupZilla-qupzilla-${_commit}/"
mkdir -p ${pkgdir}/usr/share/icons
install -m 644 -p ${srcdir}/start-white.png ${pkgdir}/usr/share/icons/
make INSTALL_ROOT=$pkgdir install
}