mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 19:37:14 +08:00
45 lines
1.4 KiB
Bash
45 lines
1.4 KiB
Bash
# Contributor: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# Contributor: Fabian Kosmale <0inkane@googlemail.com>
|
|
|
|
pkgname=qupzilla
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
_commit=0a7741c
|
|
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-${pkgver}.tar.gz"
|
|
'searchenginesmanager.diff'
|
|
'speeddial.diff'
|
|
'preferences.diff'
|
|
'qupzilla.diff'
|
|
'start-white.png')
|
|
md5sums=('fd4b8e0024acbb48b6464895caeb93f4'
|
|
'9ba76131a4480f421cea8116bf2fe684'
|
|
'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
|
|
}
|