diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/midori-gtk3-libre/PKGBUILD | 69 | ||||
-rw-r--r-- | libre/midori-gtk3-libre/midori.install | 14 | ||||
-rw-r--r-- | libre/midori-libre/PKGBUILD | 66 | ||||
-rw-r--r-- | libre/midori-libre/midori.install | 14 | ||||
-rw-r--r-- | libre/qupzilla-libre/PKGBUILD | 4 |
5 files changed, 165 insertions, 2 deletions
diff --git a/libre/midori-gtk3-libre/PKGBUILD b/libre/midori-gtk3-libre/PKGBUILD new file mode 100644 index 000000000..868c578ab --- /dev/null +++ b/libre/midori-gtk3-libre/PKGBUILD @@ -0,0 +1,69 @@ +# $Id: PKGBUILD 95784 2013-08-16 19:36:19Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: rabyte <rabyte.at.gmail.dot.com> +# Contributor: Johannes Krampf <wuischke.at.amule.dot.org> +# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_pkgname=midori-gtk3 +pkgname=midori-gtk3-libre +pkgver=0.5.5 +pkgrel=1 +pkgdesc='Lightweight web browser (GTK3), without non-privacy search providers' +arch=('x86_64' 'i686') +url='http://www.midori-browser.org/' +license=('LGPL2.1') +install='midori.install' +replaces=$_pkgname +conflicts=('midori' "$_pkgname") +provides=('midori' "$_pkgname=$pkgver") +depends=('libzeitgeist' 'webkitgtk' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr') +makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg') +optdepends=('gst-plugins-base: HTML5 OGG videos support' + 'gst-plugins-good: HTML5 H264 and WebM videos support' + 'gst-libav: HTML5 H264 videos support' + 'aria2: download utility') +options=('!emptydirs') +source=("http://www.midori-browser.org/downloads/${_pkgname/-gtk3}_${pkgver}_all_.tar.bz2") +sha256sums=('ca69382a285222a86028abebd73fed1976735883027ff0adc094b627789bbd62') + +prepare() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + # remove non-privacy search providers + sed -i 's|Duck Duck Go|DuckDuckGo HTML| + s|duckduckgo[.]com|duckduckgo.com/html| + \|Yahoo|d + \|name=Yahoo|d + \|text=Yahoo Web Search|d + \|uri=http://search[.]yahoo[.]com/search?p=|d + \|token=y|d + \|Google|d + \|name=Google|d + \|text=Web Search|d + \|uri=http://www[.]google[.]com/search?q=%s|d + \|token=g|d + \|Localize text or URL|d + \|translate[.]google[.]com/?q=|d + ' config/search +} + +build() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --enable-gtk3 \ + --disable-granite + make +} + +package() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/midori-gtk3-libre/midori.install b/libre/midori-gtk3-libre/midori.install new file mode 100644 index 000000000..e6af79c5f --- /dev/null +++ b/libre/midori-gtk3-libre/midori.install @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/midori-libre/PKGBUILD b/libre/midori-libre/PKGBUILD new file mode 100644 index 000000000..dd1f9e36d --- /dev/null +++ b/libre/midori-libre/PKGBUILD @@ -0,0 +1,66 @@ +# $Id: PKGBUILD 95661 2013-08-15 11:42:31Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: rabyte <rabyte.at.gmail.dot.com> +# Contributor: Johannes Krampf <wuischke.at.amule.dot.org> +# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_pkgname=midori +pkgname=midori-libre +pkgver=0.5.5 +pkgrel=1 +pkgdesc='Lightweight web browser (GTK2), without non-privacy search providers' +arch=('x86_64' 'i686') +url='http://www.midori-browser.org/' +license=('LGPL2.1') +install='midori.install' +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +depends=('libzeitgeist' 'webkitgtk2' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique') +makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg') +optdepends=('gstreamer0.10-base-plugins: HTML5 OGG videos support' + 'gstreamer0.10-bad-plugins: HTML5 WebM videos support' + 'gstreamer0.10-ffmpeg: HTML5 H264 videos support' + 'aria2: download utility') +options=('!emptydirs') +source=("http://www.midori-browser.org/downloads/${_pkgname}_${pkgver}_all_.tar.bz2") +sha256sums=('ca69382a285222a86028abebd73fed1976735883027ff0adc094b627789bbd62') + +prepare() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + # remove non-privacy search providers + sed -i 's|Duck Duck Go|DuckDuckGo HTML| + s|duckduckgo[.]com|duckduckgo.com/html| + \|Yahoo|d + \|name=Yahoo|d + \|text=Yahoo Web Search|d + \|uri=http://search[.]yahoo[.]com/search?p=|d + \|token=y|d + \|Google|d + \|name=Google|d + \|text=Web Search|d + \|uri=http://www[.]google[.]com/search?q=%s|d + \|token=g|d + \|Localize text or URL|d + \|translate[.]google[.]com/?q=|d + ' config/search +} + +build() { + cd "$srcdir/$_pkgname-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgname-${pkgver}" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/midori-libre/midori.install b/libre/midori-libre/midori.install new file mode 100644 index 000000000..e6af79c5f --- /dev/null +++ b/libre/midori-libre/midori.install @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/qupzilla-libre/PKGBUILD b/libre/qupzilla-libre/PKGBUILD index d5bab2cde..ba0a64ed1 100644 --- a/libre/qupzilla-libre/PKGBUILD +++ b/libre/qupzilla-libre/PKGBUILD @@ -6,8 +6,8 @@ _name=QupZilla _pkgname=qupzilla pkgname=qupzilla-libre pkgver=1.4.4 -pkgrel=1 -pkgdesc="Cross-platform QtWebKit browser, with DuckDuckGo HTML support" +pkgrel=1.1 +pkgdesc="Cross-platform QtWebKit browser, without non-privacy search providers" arch=(i686 x86_64 mips64el) url="http://www.qupzilla.com/" license=('GPL3') |