2014-01-02 08:53:44 +08:00
|
|
|
# Contributor: Anke Boersma <abveritas@chakra-project.org>
|
|
|
|
# Maintainer: Bruce Liu <brli@users.sourceforge.net>
|
2011-10-18 04:35:31 +08:00
|
|
|
|
|
|
|
pkgname=qupzilla
|
2014-01-02 08:53:44 +08:00
|
|
|
pkgver=1.6.0
|
|
|
|
pkgrel=1
|
2011-10-18 04:35:31 +08:00
|
|
|
pkgdesc="A very fast open source browser based on WebKit core"
|
2012-02-02 10:07:43 +08:00
|
|
|
url="http://www.qupzilla.com"
|
2012-11-30 00:35:58 +08:00
|
|
|
arch=('x86_64')
|
2011-10-18 04:35:31 +08:00
|
|
|
license=('GPL3')
|
2013-02-20 09:18:22 +08:00
|
|
|
depends=('qtwebkit' 'qtwebkit-plugins')
|
2013-09-02 15:44:49 +08:00
|
|
|
optdepends=('bash-completion: bash completion support')
|
2012-04-25 01:04:25 +08:00
|
|
|
categories=('network')
|
2013-09-02 15:44:49 +08:00
|
|
|
install=${pkgname}.install
|
2013-12-19 23:30:19 +08:00
|
|
|
screenshot='http://www.qupzilla.com/screens/kde.png'
|
2013-05-20 02:41:44 +08:00
|
|
|
source=("https://github.com/QupZilla/qupzilla/archive/v${pkgver}.tar.gz"
|
2014-01-02 08:53:44 +08:00
|
|
|
'qupzilla.patch'
|
|
|
|
'start-white.png'
|
2013-09-02 15:44:49 +08:00
|
|
|
'qupzilla.changelog')
|
2014-01-02 08:53:44 +08:00
|
|
|
sha256sums=('67a12326c55de32434b3381f0574bf1be5858ca9f20eaa513feb720fd8f67dc4'
|
|
|
|
'932f0b84eaebbbc1b7f09877c100130bde0c56606f0c11b4a1876a2d3b4981e9'
|
|
|
|
'5bdac9f329c5d240e9aa58d7960f5f8b4c372e8908e2cf1080a02619a4695f09'
|
|
|
|
'6f3b069561d2b5512f10618f6b986a2e075901112da4c33febb083bc7679a309')
|
2011-10-18 04:35:31 +08:00
|
|
|
|
2013-09-02 15:44:49 +08:00
|
|
|
prepare() {
|
2014-01-02 08:53:44 +08:00
|
|
|
cd "${pkgname}-${pkgver}/src/lib"
|
|
|
|
patch -uNp1 -i $srcdir/qupzilla.patch
|
|
|
|
}
|
2013-09-02 15:44:49 +08:00
|
|
|
|
2011-10-18 04:35:31 +08:00
|
|
|
build() {
|
2013-09-02 15:44:49 +08:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
export USE_WEBGL="true"
|
|
|
|
export KDE="true"
|
|
|
|
|
|
|
|
qmake QupZilla.pro
|
|
|
|
make
|
2011-10-18 04:35:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-09-02 15:44:49 +08:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2013-12-19 23:30:19 +08:00
|
|
|
install -Dm 644 "${srcdir}/start-white.png" "${pkgdir}/usr/share/icons/start-white.png"
|
2013-09-02 15:44:49 +08:00
|
|
|
|
2014-01-02 08:53:44 +08:00
|
|
|
# shell completion
|
|
|
|
install -Dm644 linux/completion/_${pkgname} "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
|
|
|
|
install -Dm644 linux/completion/${pkgname} "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
|
2012-07-17 05:51:03 +08:00
|
|
|
}
|