2014-01-02 08:53:44 +08:00
|
|
|
# Contributor: Anke Boersma <abveritas@chakra-project.org>
|
|
|
|
# Maintainer: Bruce Liu <brli@users.sourceforge.net>
|
2014-05-13 09:12:01 +08:00
|
|
|
_pkgname=QupZilla
|
2011-10-18 04:35:31 +08:00
|
|
|
pkgname=qupzilla
|
2014-09-28 09:34:59 +08:00
|
|
|
pkgver=1.8.0
|
2014-10-01 22:34:57 +08:00
|
|
|
pkgrel=2
|
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')
|
2014-01-07 23:04:11 +08:00
|
|
|
depends=('qtwebkit' 'qtwebkit-plugins' 'kdelibs')
|
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'
|
2014-05-13 09:12:01 +08:00
|
|
|
source=("https://github.com/QupZilla/qupzilla/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.xz"
|
2014-01-02 08:53:44 +08:00
|
|
|
'qupzilla.patch'
|
2014-01-07 23:58:37 +08:00
|
|
|
'start-white.png')
|
2014-09-28 09:34:59 +08:00
|
|
|
sha1sums=('96efcea416ea417a28c84a29a28a4481597afbac'
|
2014-10-01 22:34:57 +08:00
|
|
|
'956649151977cd6cb89a2d84f8e187175c21cdca'
|
2014-04-19 03:20:18 +08:00
|
|
|
'6ec67993bda3054d4210cc08177b124f873774e3')
|
2011-10-18 04:35:31 +08:00
|
|
|
|
2013-09-02 15:44:49 +08:00
|
|
|
prepare() {
|
2014-09-28 09:34:59 +08:00
|
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
|
|
patch -Np1 -i ${srcdir}/qupzilla.patch
|
2014-04-19 11:37:52 +08:00
|
|
|
}
|
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
|
|
|
export USE_WEBGL="true"
|
2014-01-07 23:04:11 +08:00
|
|
|
export KDE_INTEGRATION="true"
|
2013-09-02 15:44:49 +08:00
|
|
|
|
2014-05-13 09:12:01 +08:00
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}/"
|
2014-04-19 11:37:52 +08:00
|
|
|
qmake
|
2013-09-02 15:44:49 +08:00
|
|
|
make
|
2011-10-18 04:35:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-05-13 09:12:01 +08:00
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}/"
|
2013-09-02 15:44:49 +08:00
|
|
|
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2014-10-01 22:34:57 +08:00
|
|
|
install -Dm 644 "${srcdir}/start-white.png" "${pkgdir}/usr/share/pixmaps/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
|
|
|
}
|