diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/arora/PKGBUILD | 31 | ||||
-rw-r--r-- | pcr/arora/install | 12 |
2 files changed, 29 insertions, 14 deletions
diff --git a/pcr/arora/PKGBUILD b/pcr/arora/PKGBUILD index c3e39fcc8..34c00dc5e 100644 --- a/pcr/arora/PKGBUILD +++ b/pcr/arora/PKGBUILD @@ -1,27 +1,30 @@ # $Id: PKGBUILD 188496 2013-06-15 04:38:11Z bisson $ -# Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> -# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de> -# Contributor (Arch): Daniel J Griffiths <ghost1227@archlinux.us> -# Maintainer: André Silva <emulatorman@hyperbola.info> +# Maintainer (AUR): Gaetan Bisson <bisson@archlinux.org> +# Contributor (AUR): Pierre Schmitz <pierre@archlinux.de> +# Contributor (AUR): Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: André Silva <emulatorman@hyperbola.info> + +# parabola changes and rationale: +# - removed flash recommendation +# - removed nonfree search engines +# - changed to a new upstream url pkgname=arora pkgver=0.11.0 -pkgrel=4.parabola2 -pkgdesc='Lightweight cross-platform Web browser, without nonfree flash recommendation and non-privacy search engines' -url="http://code.google.com/p/$pkgname/" +pkgrel=4.parabola3 +pkgdesc='Lightweight cross-platform Web browser, without nonfree flash recommendation and nonfree search engines' +url='http://code.google.com/p/arora/' license=('GPL') -arch=('i686' 'x86_64') -replaces=($pkgname-libre) -conflicts=($pkgname-libre) +arch=('i686' 'x86_64' 'armv7h') depends=('qtwebkit' 'desktop-file-utils') -source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" +source=("$pkgname-$pkgver.tar.gz::https://github.com/Arora/${pkgname}/archive/${pkgver}.tar.gz" 'searchengines.qrc' 'libre.patch' 'duckduckgo-html.xml' 'seeks-search.xml' 'wikipedia-en.xml' 'yacy.xml') -sha1sums=('480cfd7482cccbb7ece866fa10afe9acace29b31' +sha1sums=('ed54f052bf3212ce612cd81b965148b4c54f4e90' 'd64bdfe9022f8b4b0745a0d9cc1094ee80bbc897' '3982032d669077644d485f4d04d4ae4891bdb0e3' 'e96f2d92b24daad0cfa28d02a003b92042651de0' @@ -29,11 +32,11 @@ sha1sums=('480cfd7482cccbb7ece866fa10afe9acace29b31' '3eea200350f7436bb2d744f8b6af1b5bbb758e51' '2d515947a8cbeea831490727e88c89ebee17c313') -#install=install +install=install prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - # remove non-privacy search engines + # remove nonfree search engines rm -r src/data/searchengines/* install -m644 $srcdir/searchengines.qrc src/data/searchengines install -m644 "$srcdir/"{duckduckgo-html,seeks-search,wikipedia-en,yacy}.xml src/data/searchengines diff --git a/pcr/arora/install b/pcr/arora/install new file mode 100644 index 000000000..b0409600c --- /dev/null +++ b/pcr/arora/install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null || true + update-desktop-database -q || true +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |