Skip to content

Instantly share code, notes, and snippets.

@nowrep
Created November 6, 2015 18:42
Show Gist options
  • Save nowrep/fbf8d4eb5321891791fe to your computer and use it in GitHub Desktop.
Save nowrep/fbf8d4eb5321891791fe to your computer and use it in GitHub Desktop.
# Maintainer: Peter Mattern <pmattern at arcor dot de>
_pkgname=qupzilla
pkgname=$_pkgname-qtwebkit-git
pkgver=1.8.6.32
pkgrel=1
pkgdesc="Cross-platform Qt web browser. Legacy QtWebKit branch."
arch=("i686" "x86_64")
url="http://www.qupzilla.com"
license=("GPL3" "custom")
makedepends=("git" "qt5-tools")
depends=("qt5-webkit" "qt5-script")
provides=("$_pkgname" "$_pkgname-qt4" "$_pkgname-qt5" "$_pkgname-git" "$_pkgname-qt5-qtwebkit-git")
conflicts=("$_pkgname" "$_pkgname-qt4" "$_pkgname-qt5" "$_pkgname-git" "$_pkgname-qt5-qtwebkit-git")
replaces=("$_pkgname-qt5-qtwebkit-git")
source=("git+https://github.com/QupZilla/qupzilla.git#branch=v1.8")
sha256sums=("SKIP")
pkgver() {
cd $_pkgname
git describe --always | sed 's/^v//;s/-/./g'
}
build() {
cd $_pkgname
export DEBUG_BUILD="true"
export KDE_INTEGRATION="true"
export QUPZILLA_PREFIX="/usr/"
qmake-qt5
make clean
make
}
package() {
cd $_pkgname
make INSTALL_ROOT="${pkgdir}" install
install -D -m644 $srcdir/$_pkgname/COPYRIGHT \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment