Date: Tuesday, September 15, 2015 @ 11:04:07 Author: idevolder Revision: 140314
archrelease: copy trunk to community-x86_64 Added: opera/repos/community-x86_64/PKGBUILD (from rev 140313, opera/trunk/PKGBUILD) opera/repos/community-x86_64/default (from rev 140313, opera/trunk/default) opera/repos/community-x86_64/opera (from rev 140313, opera/trunk/opera) opera/repos/community-x86_64/opera.install (from rev 140313, opera/trunk/opera.install) Deleted: opera/repos/community-x86_64/PKGBUILD opera/repos/community-x86_64/default opera/repos/community-x86_64/opera opera/repos/community-x86_64/opera.install ---------------+ PKGBUILD | 136 ++++++++++++++++++++++++++++---------------------------- default | 8 +-- opera | 26 +++++----- opera.install | 78 ++++++++++++++++---------------- 4 files changed, 124 insertions(+), 124 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-09-15 09:03:59 UTC (rev 140313) +++ PKGBUILD 2015-09-15 09:04:07 UTC (rev 140314) @@ -1,68 +0,0 @@ -# $Id$ -# vim:set ft=sh: -# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com > -# Contributor: Bartłomiej Piotrowski <barthal...@gmail.com> -# Contributor: Mateusz Herych <heni...@gmail.com> -# Contributor: ruario <ruario AT opera DOT com> -# Contributor: Daniel Isenmann <daniel AT archlinux DOT org> -# Contributor: dorphell <dorphell AT archlinux DOT org> -# Contributor: Sigitas Mazaliauskas <sigis AT gmail DOT com> -# Contributor: eworm - -pkgname=opera -pkgver=31.0.1889.174 -pkgrel=1 -pkgdesc="A fast and secure web browser" -url="http://www.opera.com/" -install=${pkgname}.install -options=(!strip !zipman) -license=('custom:opera') -backup=("etc/$pkgname/default") -depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify') -optdepends=( - 'curl: opera crash reporter and autoupdate checker' -) -arch=('x86_64') -source_x86_64=( - "http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_amd64.deb" -) -source=( - "opera" - "default" -) -sha256sums=('508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5' - '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027') -sha256sums_x86_64=('4459bfa8b4469fe2ef68373dfd61616919266c87a18125973afee60c06beaf29') - -prepare() { - sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera" - sed -e "s/%operabin%/$pkgname\/$pkgname/g" \ - -i "$srcdir/opera" -} - -package() { - tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/" - - # get rid of the extra subfolder {i386,x86_64}-linux-gnu - ( - cd "$pkgdir/usr/lib/"*-linux-gnu/ - mv "$pkgname" ../ - ) - rm -rf "$pkgdir/usr/lib/"*-linux-gnu - - # suid opera_sandbox / can be removed with linux > 3.16 (we still have lts) - chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox" - - # install default options - install -Dm644 "$srcdir/default" "$pkgdir/etc/$pkgname/default" - - # install opera wrapper - rm "$pkgdir/usr/bin/$pkgname" - install -Dm755 "$srcdir/opera" "$pkgdir/usr/bin/$pkgname" - - # license - install -Dm644 \ - "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \ - "$pkgdir/usr/share/licenses/$pkgname/copyright" -} - Copied: opera/repos/community-x86_64/PKGBUILD (from rev 140313, opera/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-09-15 09:04:07 UTC (rev 140314) @@ -0,0 +1,68 @@ +# $Id$ +# vim:set ft=sh: +# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Bartłomiej Piotrowski <barthal...@gmail.com> +# Contributor: Mateusz Herych <heni...@gmail.com> +# Contributor: ruario <ruario AT opera DOT com> +# Contributor: Daniel Isenmann <daniel AT archlinux DOT org> +# Contributor: dorphell <dorphell AT archlinux DOT org> +# Contributor: Sigitas Mazaliauskas <sigis AT gmail DOT com> +# Contributor: eworm + +pkgname=opera +pkgver=32.0.1948.25 +pkgrel=1 +pkgdesc="A fast and secure web browser" +url="http://www.opera.com/" +install=${pkgname}.install +options=(!strip !zipman) +license=('custom:opera') +backup=("etc/$pkgname/default") +depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify') +optdepends=( + 'curl: opera crash reporter and autoupdate checker' +) +arch=('x86_64') +source_x86_64=( + "http://get.geo.opera.com/pub/${pkgname}/desktop/${pkgver}/linux/${pkgname}-stable_${pkgver}_amd64.deb" +) +source=( + "opera" + "default" +) +sha256sums=('508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5' + '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027') +sha256sums_x86_64=('4157732e784d13128a991b640c2d549aa9597d9f6900fc30c768ad17e9e1a2c1') + +prepare() { + sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera" + sed -e "s/%operabin%/$pkgname\/$pkgname/g" \ + -i "$srcdir/opera" +} + +package() { + tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/" + + # get rid of the extra subfolder {i386,x86_64}-linux-gnu + ( + cd "$pkgdir/usr/lib/"*-linux-gnu/ + mv "$pkgname" ../ + ) + rm -rf "$pkgdir/usr/lib/"*-linux-gnu + + # suid opera_sandbox / can be removed with linux > 3.16 (we still have lts) + chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox" + + # install default options + install -Dm644 "$srcdir/default" "$pkgdir/etc/$pkgname/default" + + # install opera wrapper + rm "$pkgdir/usr/bin/$pkgname" + install -Dm755 "$srcdir/opera" "$pkgdir/usr/bin/$pkgname" + + # license + install -Dm644 \ + "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \ + "$pkgdir/usr/share/licenses/$pkgname/copyright" +} + Deleted: default =================================================================== --- default 2015-09-15 09:03:59 UTC (rev 140313) +++ default 2015-09-15 09:04:07 UTC (rev 140314) @@ -1,4 +0,0 @@ -# Default settings for chromium. This file is sourced by /usr/bin/chromium - -# Options to pass to chromium -OPERA_FLAGS="" Copied: opera/repos/community-x86_64/default (from rev 140313, opera/trunk/default) =================================================================== --- default (rev 0) +++ default 2015-09-15 09:04:07 UTC (rev 140314) @@ -0,0 +1,4 @@ +# Default settings for chromium. This file is sourced by /usr/bin/chromium + +# Options to pass to chromium +OPERA_FLAGS="" Deleted: opera =================================================================== --- opera 2015-09-15 09:03:59 UTC (rev 140313) +++ opera 2015-09-15 09:04:07 UTC (rev 140314) @@ -1,13 +0,0 @@ -#!/bin/bash - -# Allow users to override command-line options -# Based on Gentoo's chromium package (and by extension, Debian's) -if [[ -f /etc/%pkgname%/default ]]; then - . /etc/%pkgname%/default -fi - -# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system -# default CHROMIUM_FLAGS (from /etc/chromium/default) -OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS} - -exec /usr/lib/%operabin% $OPERA_FLAGS "$@" Copied: opera/repos/community-x86_64/opera (from rev 140313, opera/trunk/opera) =================================================================== --- opera (rev 0) +++ opera 2015-09-15 09:04:07 UTC (rev 140314) @@ -0,0 +1,13 @@ +#!/bin/bash + +# Allow users to override command-line options +# Based on Gentoo's chromium package (and by extension, Debian's) +if [[ -f /etc/%pkgname%/default ]]; then + . /etc/%pkgname%/default +fi + +# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system +# default CHROMIUM_FLAGS (from /etc/chromium/default) +OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS} + +exec /usr/lib/%operabin% $OPERA_FLAGS "$@" Deleted: opera.install =================================================================== --- opera.install 2015-09-15 09:03:59 UTC (rev 140313) +++ opera.install 2015-09-15 09:04:07 UTC (rev 140314) @@ -1,39 +0,0 @@ -available() -{ - command -v $1 >/dev/null 2>&1 -} - -integration() { - - # Setup Menus - if available update-desktop-database - then - update-desktop-database -q /usr/share/applications - fi - - # Setup MIME types - if available update-mime-database - then - update-mime-database /usr/share/mime >/dev/null - fi - - # Setup Icons - touch -c /usr/share/icons/hicolor - if available gtk-update-icon-cache - then - gtk-update-icon-cache -tq /usr/share/icons/hicolor - fi - -} - -post_install() { - integration -} - -post_upgrade() { - integration -} - -post_remove() { - integration -} Copied: opera/repos/community-x86_64/opera.install (from rev 140313, opera/trunk/opera.install) =================================================================== --- opera.install (rev 0) +++ opera.install 2015-09-15 09:04:07 UTC (rev 140314) @@ -0,0 +1,39 @@ +available() +{ + command -v $1 >/dev/null 2>&1 +} + +integration() { + + # Setup Menus + if available update-desktop-database + then + update-desktop-database -q /usr/share/applications + fi + + # Setup MIME types + if available update-mime-database + then + update-mime-database /usr/share/mime >/dev/null + fi + + # Setup Icons + touch -c /usr/share/icons/hicolor + if available gtk-update-icon-cache + then + gtk-update-icon-cache -tq /usr/share/icons/hicolor + fi + +} + +post_install() { + integration +} + +post_upgrade() { + integration +} + +post_remove() { + integration +}