Date: Wednesday, December 17, 2014 @ 16:59:00 Author: idevolder Revision: 124028
archrelease: copy trunk to community-x86_64 Added: opera/repos/community-x86_64/PKGBUILD (from rev 124027, opera/trunk/PKGBUILD) opera/repos/community-x86_64/default (from rev 124027, opera/trunk/default) opera/repos/community-x86_64/opera (from rev 124027, opera/trunk/opera) opera/repos/community-x86_64/opera.install (from rev 124027, 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 | 134 ++++++++++++++++++++++++++++---------------------------- default | 8 +-- opera | 26 +++++----- opera.install | 78 ++++++++++++++++---------------- 4 files changed, 125 insertions(+), 121 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-12-17 15:58:48 UTC (rev 124027) +++ PKGBUILD 2014-12-17 15:59:00 UTC (rev 124028) @@ -1,65 +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=26.0.1656.32 -pkgrel=1 -pkgdesc="A fast and secure web browser and Internet suite." -url="http://www.opera.com/" -install=${pkgname}.install -options=(!strip !zipman) -license=('custom:opera') -backup=("etc/$pkgname/default") -arch=('x86_64') -source=( - "http://deb.opera.com/opera/pool/non-free/o/${pkgname}-stable/${pkgname}-stable_${pkgver}_amd64.deb" - "opera" - "default" -) - -prepare() { - sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera" - sed -e "s/%operabin%/x86_64-linux-gnu\/$pkgname\/$pkgname/g" \ - -i "$srcdir/opera" -} - -package() { - depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'gcc-libs' 'alsa-lib' 'nss' 'freetype2' 'ttf-font') - optdepends=( - 'curl: opera crash reporter and autoupdate checker' - 'ffmpeg: playback of not really open formats' - ) - - tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/" - - # soname fix for libsystemd (udev) - sed -e 's/libudev.so.0/libudev.so.1/g' \ - -i "$pkgdir/usr/lib/x86_64-linux-gnu/$pkgname/$pkgname" - - # suid opera_sandbox - chmod 4755 "$pkgdir/usr/lib/x86_64-linux-gnu/$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/lib/x86_64-linux-gnu/$pkgname/opera_autoupdate.licenses" \ - "$pkgdir/usr/share/licenses/$pkgname/opera_autoupdate.licenses" -} - -sha256sums=('e2ea368709f2ac10c3997dd361440cb39b4735b6dfe77e29a271e27f6df78a6a' - '508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5' - '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027') Copied: opera/repos/community-x86_64/PKGBUILD (from rev 124027, opera/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-12-17 15:59:00 UTC (rev 124028) @@ -0,0 +1,69 @@ +# $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=26.0.1656.60 +pkgrel=1 +pkgdesc="A fast and secure web browser and Internet suite." +url="http://www.opera.com/" +install=${pkgname}.install +options=(!strip !zipman) +license=('custom:opera') +backup=("etc/$pkgname/default") +arch=('x86_64') +source=( + "http://deb.opera.com/opera/pool/non-free/o/${pkgname}-stable/${pkgname}-stable_${pkgver}_amd64.deb" + "opera" + "default" +) + +prepare() { + sed -e "s/%pkgname%/$pkgname/g" -i "$srcdir/opera" + sed -e "s/%operabin%/x86_64-linux-gnu\/$pkgname\/$pkgname/g" \ + -i "$srcdir/opera" +} + +package() { + depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'gcc-libs' 'alsa-lib' 'nss' 'freetype2' 'ttf-font') + optdepends=( + 'curl: opera crash reporter and autoupdate checker' + 'ffmpeg: playback of not really open formats' + ) + + tar -xf data.tar.xz --exclude=usr/share/{lintian,menu} -C "$pkgdir/" + + # soname fix for libsystemd (udev) + sed -e 's/libudev.so.0/libudev.so.1/g' \ + -i "$pkgdir/usr/lib/x86_64-linux-gnu/$pkgname/$pkgname" + + # suid opera_sandbox + chmod 4755 "$pkgdir/usr/lib/x86_64-linux-gnu/$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/lib/x86_64-linux-gnu/$pkgname/opera_autoupdate.licenses" \ + "$pkgdir/usr/share/licenses/$pkgname/opera_autoupdate.licenses" + + install -Dm644 \ + "$pkgdir/usr/share/doc/${pkgname}-stable/copyright" \ + "$pkgdir/usr/share/licenses/$pkgname/copyright" +} + +sha256sums=('d21e5c3878c610bc45bbb79d09c0e47fded7b8aabf0225153738473d247594be' + '508512464e24126fddfb2c41a1e2e86624bdb0c0748084b6a922573b6cf6b9c5' + '4913d97dec0ddc99d1e089b029b9123c2c86b7c88d631c4d1111b119b09da027') Deleted: default =================================================================== --- default 2014-12-17 15:58:48 UTC (rev 124027) +++ default 2014-12-17 15:59:00 UTC (rev 124028) @@ -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 124027, opera/trunk/default) =================================================================== --- default (rev 0) +++ default 2014-12-17 15:59:00 UTC (rev 124028) @@ -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 2014-12-17 15:58:48 UTC (rev 124027) +++ opera 2014-12-17 15:59:00 UTC (rev 124028) @@ -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 124027, opera/trunk/opera) =================================================================== --- opera (rev 0) +++ opera 2014-12-17 15:59:00 UTC (rev 124028) @@ -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 2014-12-17 15:58:48 UTC (rev 124027) +++ opera.install 2014-12-17 15:59:00 UTC (rev 124028) @@ -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 124027, opera/trunk/opera.install) =================================================================== --- opera.install (rev 0) +++ opera.install 2014-12-17 15:59:00 UTC (rev 124028) @@ -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 +}