mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-26 14:52:13 +08:00
50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Anke Boersma <abveritas@chakra-project.org>
|
|
# contributor: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# contributor: Fabian Kosmale <0inkane@googlemail.com>
|
|
|
|
pkgname=qupzilla
|
|
pkgver=1.3.5
|
|
pkgrel=3
|
|
_commit=85d09c8
|
|
pkgdesc="A very fast open source browser based on WebKit core"
|
|
url="http://www.qupzilla.com"
|
|
arch=('x86_64')
|
|
license=('GPL3')
|
|
depends=('qtwebkit')
|
|
categories=('network')
|
|
source=("https://github.com/QupZilla/QupZilla/tarball/master/QupZilla-qupzilla-${pkgver}.tar.gz"
|
|
#"https://github.com/downloads/QupZilla/qupzilla/QupZilla-${pkgver}.tar.gz"
|
|
'searchenginesmanager.diff'
|
|
'speeddial.diff'
|
|
'preferences.diff'
|
|
'qupzilla.diff'
|
|
'start-white.png')
|
|
md5sums=('3b394ad578e6ce0cbfc62169cc06dbc8'
|
|
'c5c0f9e3640d0f5695034aef63648967'
|
|
'b58d03f2e52ea3391e63c0eeea3e82a4'
|
|
'c2bf22cac2fcdd6ea82ab7fcdd08a706'
|
|
'152c8168e80e3a1c8987aa895d9f0d48'
|
|
'fc705d7aba952361a626a2c79726bbfa')
|
|
|
|
build() {
|
|
cd "${srcdir}/QupZilla-qupzilla-${_commit}/"
|
|
patch -p0 -i "${srcdir}/searchenginesmanager.diff"
|
|
patch -p0 -i "${srcdir}/speeddial.diff"
|
|
patch -p0 -i "${srcdir}/preferences.diff"
|
|
patch -p0 -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
|
|
}
|