Update brave-bin from 1.42.88_1 to 1.43.82_1

A REMOVE script which restores opt if empty was also added.
This commit is contained in:
KF-Art 2022-08-26 14:46:16 -04:00
parent 21d03ec387
commit 3791f3264b
2 changed files with 16 additions and 2 deletions

14
srcpkgs/brave-bin/REMOVE Normal file
View file

@ -0,0 +1,14 @@
# REMOVE
case "$ACTION" in
post)
#
# After removing opt/brave.com/, xbps removes opt if empty!
# This script restores opt
#
mkdir -p opt
;;
esac

View file

@ -1,6 +1,6 @@
# Template file for 'brave-bin' # Template file for 'brave-bin'
pkgname=brave-bin pkgname=brave-bin
version=1.42.88 version=1.43.82
revision=1 revision=1
only_for_archs="x86_64" only_for_archs="x86_64"
repository="cereus-extra" repository="cereus-extra"
@ -10,7 +10,7 @@ hostmakedepends="tar xz"
license="Mozilla Public License Version 2.0" license="Mozilla Public License Version 2.0"
homepage="https://brave.com" homepage="https://brave.com"
distfiles="https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb" distfiles="https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"
checksum=3abdde4cbc1aa7a28584eee278bc805d2d0d2a06b97946dddcac85abf60d83e7 checksum=30ce48e51dc3c070b0763123b280ca0d3adc9a3aa5dbc0e9691aae70972f5a2f
do_extract() { do_extract() {
mkdir -p ${DESTDIR} mkdir -p ${DESTDIR}