mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
vivaldi-snapshot :: 1.0.94.2-1
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
This commit is contained in:
commit
9d8ddb67c6
7 changed files with 102 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = vivaldi-snapshot
|
||||
pkgdesc = A new browser for our friends (weekly snapshot)
|
||||
pkgver = 1.0.94.2
|
||||
pkgrel = 1
|
||||
url = https://vivaldi.com
|
||||
install = vivaldi.install
|
||||
arch = x86_64
|
||||
license = custom
|
||||
provides = vivaldi
|
||||
options = !strip
|
||||
options = !zipman
|
||||
source = https://vivaldi.com/download/snapshot/vivaldi.1.0.94.2_snapshot.deb
|
||||
sha256sums = 37ae3f105214f25662dead3f8d389b43f6a2f664a98eac684d0fcf779461cce1
|
||||
|
||||
pkgname = vivaldi-snapshot
|
||||
|
||||
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
src
|
||||
pkg
|
||||
*.log
|
||||
*.log.*
|
||||
*.pkg.tar.?z
|
||||
1
.pkgupdate
Normal file
1
.pkgupdate
Normal file
|
|
@ -0,0 +1 @@
|
|||
update_pkgver=$(curl -sS https://vivaldi.com/snapshots/linux-deb.html | grep '[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+' | sed -e 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/' | uniq)
|
||||
1
AUR
Normal file
1
AUR
Normal file
|
|
@ -0,0 +1 @@
|
|||
x11
|
||||
36
PKGBUILD
Normal file
36
PKGBUILD
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
|
||||
# Contributor: TZ86
|
||||
|
||||
pkgname=vivaldi-snapshot
|
||||
pkgver=1.0.94.2
|
||||
pkgrel=1
|
||||
pkgdesc='A new browser for our friends (weekly snapshot)'
|
||||
url="https://vivaldi.com"
|
||||
install=vivaldi.install
|
||||
options=(!strip !zipman)
|
||||
license=('custom')
|
||||
arch=('x86_64')
|
||||
source=("https://vivaldi.com/download/snapshot/vivaldi.${pkgver}_snapshot.deb")
|
||||
#depends=('gtk2' 'nss' 'libxtst' 'gconf' 'libxss' 'freetype2' 'ttf-font' 'desktop-file-utils' 'shared-mime-info')
|
||||
#optdepends=('ffmpeg: playback of proprietary formats')
|
||||
provides=('vivaldi')
|
||||
|
||||
package() {
|
||||
tar -xf data.tar.xz --exclude={usr/share/{lintian,menu},etc} -C "$pkgdir/"
|
||||
|
||||
# soname fix for libsystemd (udev)
|
||||
sed -e 's/libudev.so.0/libudev.so.1/g' \
|
||||
-i "$pkgdir/opt/vivaldi-unstable/vivaldi-bin"
|
||||
|
||||
# suid sanbox
|
||||
chmod 4755 "$pkgdir/opt/vivaldi-unstable/vivaldi-sandbox"
|
||||
|
||||
# install icons
|
||||
for res in 16 22 24 32 48 64 128 256; do
|
||||
install -Dm644 "$pkgdir/opt/vivaldi-unstable/product_logo_${res}.png" \
|
||||
"$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/vivaldi.png"
|
||||
done
|
||||
}
|
||||
|
||||
sha256sums=('359eabcc4c9f089f87c43c24dc8d1d4218212642e953c073771a1d863f598906')
|
||||
sha256sums=('37ae3f105214f25662dead3f8d389b43f6a2f664a98eac684d0fcf779461cce1')
|
||||
4
README.md
Normal file
4
README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
vivaldi-snapshot
|
||||
========================================
|
||||
|
||||
url = https://vivaldi.com
|
||||
39
vivaldi.install
Normal file
39
vivaldi.install
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue