Correct waterfox-g4-bin version format

A post installation message has also been added informing about the new generation of Waterfox.
This commit is contained in:
KF-Art 2022-11-13 19:06:21 -05:00
parent 27e7aa9153
commit afe651a79f
No known key found for this signature in database
GPG key ID: E29639549C32EE00
2 changed files with 9 additions and 10 deletions

View file

@ -0,0 +1,2 @@
The newest generation of Waterfox is G5.
You can find it in our repository as waterfox-g5-bin.

View file

@ -1,7 +1,6 @@
# Template file for 'waterfox-g4-bin'
pkgname=waterfox-g4-bin
version=1.5
_generation=G4
version=4.1.5
revision=1
archs="x86_64"
repository="cereus-extra"
@ -12,16 +11,15 @@ short_desc="Fourth generation of customizable privacy-conscious web browser - bi
maintainer="KF-Art <https://github.com/KF-Art>"
license="MPL-2.0"
homepage="https://github.com/WaterfoxCo/Waterfox"
changelog="https://github.com/WaterfoxCo/Waterfox/releases/tag/${_generation}.${version}"
distfiles="${homepage}/releases/download/${_generation}.${version}/waterfox-${_generation}.${version}.en-US.linux-x86_64.tar.bz2"
changelog="https://www.waterfox.net/docs/releases/G${version}"
distfiles="${homepage}/releases/download/G${version}/waterfox-G${version}.en-US.linux-x86_64.tar.bz2"
checksum=13f3c584a90c50ad0fe9006d1fe0906edfdaa02ced99f0f027090d226ed0f942
do_extract() {
vmkdir opt
bsdtar -C ${DESTDIR}/opt/ -xf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/waterfox-${_generation}.${version}.en-US.linux-x86_64.tar.bz2"
}
conflicts="waterfox-g5-bin"
do_install() {
vmkdir opt
bsdtar -xf waterfox-G${version}.en-US.linux-x86_64.tar.bz2 \
-C ${DESTDIR}/opt/
vmkdir usr/bin
ln -rfs ${DESTDIR}/opt/waterfox/waterfox ${DESTDIR}/usr/bin
@ -59,4 +57,3 @@ END
}
END
}