diff options
author | Feakster | 2021-02-13 19:13:55 +0000 |
---|---|---|
committer | Feakster | 2021-02-13 19:13:55 +0000 |
commit | 707b61178e658cb17e0ce23cf988ef8205e24196 (patch) | |
tree | 3c6c181eb270a8dc802c49ebd4915dcd2e72e905 | |
parent | 506483ebea9d37b1d7928898681848bc6d962b2a (diff) | |
download | aur-707b61178e658cb17e0ce23cf988ef8205e24196.tar.gz |
Tidied up the installation & package metadata a bit
- Updated the license field of the PKGBUILD.
- Removed some files from the pkg.tar.zst file that serve no function on Arch-based systems.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | vivaldi-arm-bin.install | 1 |
3 files changed, 10 insertions, 8 deletions
@@ -1,13 +1,13 @@ pkgbase = vivaldi-arm-bin pkgdesc = An advanced browser made with the power user in mind pkgver = 3.6.2165.36 - pkgrel = 2 + pkgrel = 3 url = https://vivaldi.com install = vivaldi-arm-bin.install arch = armv6h arch = armv7h arch = aarch64 - license = custom + license = custom:Vivaldi EULA depends = alsa-lib depends = desktop-file-utils depends = gtk3 @@ -8,12 +8,12 @@ pkgname=vivaldi-arm-bin _pkgname=${pkgname%-arm-bin} pkgver=3.6.2165.36 -pkgrel=2 +pkgrel=3 _pkgrel=1 pkgdesc='An advanced browser made with the power user in mind' arch=('armv6h' 'armv7h' 'aarch64') url="https://vivaldi.com" -license=('custom') +license=('custom:Vivaldi EULA') provides=('vivaldi' 'www-browser') depends=('alsa-lib' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libcups' 'libxss' 'mesa' 'nss' 'shared-mime-info' 'ttf-font') optdepends=( @@ -39,10 +39,10 @@ prepare() { package() { ## Copy Directory Structure ## cp --parents -a {opt,usr/bin,usr/share} "$pkgdir" - + ## SUID Sandbox ## chmod 4755 "$pkgdir"/opt/$_pkgname/${_pkgname}-sandbox - + ## Symlink Binary ## ln -fs \ /opt/vivaldi/vivaldi \ @@ -62,10 +62,13 @@ package() { /opt/$_pkgname/product_logo_${res}.png \ "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/apps/$_pkgname.png done - + ## License ## install -dm0755 "$pkgdir"/usr/share/licenses/$_pkgname ln -fs \ /opt/$_pkgname/LICENSE.html \ "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE.html + + ## Remove Unnecessary Directories/Files ## + rm -rf "$pkgdir"/opt/vivaldi/{cron,update-widevine,WidevineCdm} } diff --git a/vivaldi-arm-bin.install b/vivaldi-arm-bin.install index 39b6aa995db3..302937602a87 100644 --- a/vivaldi-arm-bin.install +++ b/vivaldi-arm-bin.install @@ -10,7 +10,6 @@ post_install() { ./update-ffmpeg } - ### Post Upgrade ### post_upgrade() { ## Update ffmpeg ## |