jobextra/librewolf/PKGBUILD

46 lines
1.7 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=librewolf
provides=($pkgname-bin $pkgname)
conflicts=($pkgname-bin $pkgname)
pkgver=101.0.1
pkgrel=01
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom -binary"
arch=(x86_64)
options=(!emptydirs)
install=librewolf.install
makedepends=(zstd sh)
proj_id=12875785
url=https://gitlab.com/api/v4/projects
info_url="https://librewolf-community.gitlab.io/"
source=($url/$proj_id/packages/generic/librewolf/$pkgver-1/$pkgname-$pkgver-1-x86_64.pkg.tar.zst
$url/$proj_id/packages/generic/librewolf/$pkgver-1/$pkgname-$pkgver-1-x86_64.pkg.tar.zst.sig
librewolf.install)
package() {
depends=(gtk3 libxt startup-notification mime-types dbus-glib
nss ttf-liberation libpulse ffmpeg)
optdepends=('libnotify: Notification integration'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, US English')
backup=( usr/lib/librewolf/librewolf.cfg
usr/lib/librewolf/distribution/policies.json)
cp -r "${srcdir}"/usr "${pkgdir}"/
}
#---- license gpg-key sha256sums ----
license=(MPL GPL LGPL)
validpgpkeys=(031F7104E932F7BD7416E7F6D2845E1305D6E801) # <1813007-ohfp@users.noreply.gitlab.com>
sha256sums=(b987feadb17bb94031d7934010c929b0e8744fc09545ebd400950d5620623259 # librewolf-101.0.1-1-x86_64.pkg.tar.zst
125df44f3a782b987ba02c09763eaf75a2dafa123ba34f0e96c0a4754a707211 # librewolf-101.0.1-1-x86_64.pkg.tar.zst.sig
c3d94f33b96944e80b6fe84e36eaa9b4179ab144fe7aa58c5aa2efae0e2004b9) # librewolf.install