desktop/qupzilla/PKGBUILD

44 lines
1.3 KiB
Bash
Raw Normal View History

2011-10-18 04:35:31 +08:00
# Contributor: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=qupzilla
2012-04-06 00:54:54 +08:00
pkgver=1.2.0
pkgrel=1
2012-03-06 02:54:09 +08:00
commit=g${_commit}
2012-04-06 00:54:54 +08:00
_commit=ecec41d
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"
2011-10-18 04:35:31 +08:00
arch=('i686' 'x86_64')
license=('GPL3')
depends=('qt')
categories=('network')
2012-02-04 08:31:05 +08:00
source=("https://www.github.com/nowrep/QupZilla/tarball/master/nowrep-QupZilla-${commit}.tar.gz"
'searchenginesmanager.diff'
'speeddial.diff'
'preferences.diff'
'qupzilla.diff'
'start-white.png')
2012-04-06 00:54:54 +08:00
md5sums=('a088fe821eb87d2710d4cd901b3a75ef'
2012-03-06 04:05:16 +08:00
'a879b2f492264841d384e91dda611b4b'
2012-03-23 22:33:07 +08:00
'a7e72a88959c96088864d562a1d10950'
'ac98b9f9cc45df18070eabee518c0049'
2012-03-23 22:33:07 +08:00
'fc0aa2bef51e5488f129b4618ee18545'
2012-02-04 08:31:05 +08:00
'fc705d7aba952361a626a2c79726bbfa')
2011-10-18 04:35:31 +08:00
build() {
2012-02-15 00:38:34 +08:00
cd "${srcdir}/nowrep-QupZilla-${_commit}/"
2012-02-04 08:31:05 +08:00
patch -Np0 -i "${srcdir}/searchenginesmanager.diff"
patch -Np0 -i "${srcdir}/speeddial.diff"
patch -Np0 -i "${srcdir}/preferences.diff"
patch -Np0 -i "${srcdir}/qupzilla.diff"
2011-10-18 04:35:31 +08:00
export USE_WEBGL="true"
2011-12-15 08:18:39 +08:00
export KDE="true"
2011-10-18 04:35:31 +08:00
qmake QupZilla.pro
make
}
package() {
2012-02-15 00:38:34 +08:00
cd "${srcdir}/nowrep-QupZilla-${_commit}/"
2012-02-04 08:31:05 +08:00
mkdir -p ${pkgdir}/usr/share/icons
install -m 644 -p ${srcdir}/start-white.png ${pkgdir}/usr/share/icons/
2011-10-18 04:35:31 +08:00
make INSTALL_ROOT=$pkgdir install
}