summaryrefslogtreecommitdiff
path: root/libre/qupzilla-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-24 03:23:35 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-24 03:23:35 +0000
commitf28fb29dd903558bdb2765f573eaf149897e7d1c (patch)
tree4d8f3e982dc298681adb478e83b0bef70bf436c6 /libre/qupzilla-libre/PKGBUILD
parentb8646c38f9f0f867b019d1be98cb6ddd506e0efd (diff)
Mon Mar 24 03:19:40 UTC 2014
Diffstat (limited to 'libre/qupzilla-libre/PKGBUILD')
-rw-r--r--libre/qupzilla-libre/PKGBUILD93
1 files changed, 0 insertions, 93 deletions
diff --git a/libre/qupzilla-libre/PKGBUILD b/libre/qupzilla-libre/PKGBUILD
deleted file mode 100644
index 7a526cd5f..000000000
--- a/libre/qupzilla-libre/PKGBUILD
+++ /dev/null
@@ -1,93 +0,0 @@
-# $Id: PKGBUILD 105935 2014-02-19 15:37:19Z speps $
-# Maintainer: speps <speps at aur dot archlinux dot org>
-# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-
-_pkgbase=qupzilla
-pkgbase=qupzilla-libre
-pkgname=(qupzilla-libre qupzilla-libre-qt5)
-pkgver=1.6.3
-pkgrel=1
-arch=(i686 x86_64 mips64el)
-url="http://www.qupzilla.com/"
-license=('GPL3')
-makedepends=('qtwebkit' 'qt5-webkit' 'qt5-script' 'hunspell' 'kdelibs' 'libgnome-keyring')
-optdepends=('bash-completion: bash completion support')
-install="$_pkgbase.install"
-source=("$_pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz"
- 'searchenginesmanager.cpp.sed'
- 'speeddial.cpp.sed'
- 'start.html.sed')
-noextract=("$_pkgbase-$pkgver.tar.gz")
-md5sums=('37d962c924a58c616104d0cc732bf69f'
- '1d926e97a5b287d40fb695f6516f2a06'
- '0f166fa102af975b3b8ac030d477e9b8'
- '77120a0c39ba8254e5b2c273910f029a')
-
-prepare() {
- # extract
- mkdir -p qt{4,5}
- bsdtar --strip-components 1 -zxf $_pkgbase-$pkgver.tar.gz -C qt4
- bsdtar --strip-components 1 -zxf $_pkgbase-$pkgver.tar.gz -C qt5
-
- # configure
- export USE_WEBGL=true \
- QUPZILLA_PREFIX=/usr/ \
- KDE_INTEGRATION=true \
- GNOME_INTEGRATION=true
-
- # remove Google and Youtube support, replaces it to DDG HTML
- cd qt4
- sed -i -f $srcdir/searchenginesmanager.cpp.sed src/lib/opensearch/searchenginesmanager.cpp
- sed -i -f $srcdir/speeddial.cpp.sed src/lib/plugins/speeddial.cpp
- sed -i -f $srcdir/start.html.sed src/lib/data/html/start.html
-
- cd ../qt5
- sed -i -f $srcdir/searchenginesmanager.cpp.sed src/lib/opensearch/searchenginesmanager.cpp
- sed -i -f $srcdir/speeddial.cpp.sed src/lib/plugins/speeddial.cpp
- sed -i -f $srcdir/start.html.sed src/lib/data/html/start.html
-}
-
-build() {
- cd qt4
- qmake-qt4
- make
-
- cd ../qt5
- qmake
- make
-}
-
-package_qupzilla-libre() {
- pkgdesc="Cross-platform QtWebKit browser, without non-privacy search providers"
- depends=('qtwebkit' 'hunspell')
- optdepends=('kdelibs: kwallet integration'
- 'libgnome-keyring: gnome keyring integration')
- provides=(qupzilla=$pkgver)
- conflicts=qupzilla
- replaces=qupzilla
-
- cd qt4
- make INSTALL_ROOT="$pkgdir/" install
-
- # zsh completion
- install -Dm644 linux/completion/_$_pkgbase \
- "$pkgdir/usr/share/zsh/site-functions/_$_pkgbase"
-}
-
-package_qupzilla-libre-qt5() {
- pkgdesc="Cross-platform QtWebKit browser (Qt5), without non-privacy search providers"
- depends=('qt5-webkit' 'qt5-script' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
- optdepends=('libgnome-keyring: gnome keyring integration')
- provides=('qupzilla-libre' "qupzilla-qt5=$pkgver")
- conflicts=('qupzilla-libre' 'qupzilla-qt5')
- replaces=qupzilla-qt5
-
- cd qt5
- make INSTALL_ROOT="$pkgdir/" install
-
- # zsh completion
- install -Dm644 linux/completion/_$_pkgbase \
- "$pkgdir/usr/share/zsh/site-functions/_$_pkgbase"
-}
-
-# vim:set ts=2 sw=2 et: