summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhawkeye1164772023-09-20 13:07:45 +0200
committerhawkeye1164772023-09-20 13:07:45 +0200
commitcd7e4858c48d8670e6022d39480bd00dd34adc84 (patch)
treee2de96892cf5f15a77b834534eca9ba6b2e24bc1
parent91aa776cb2383407210c93c02f1d14144c462d2c (diff)
downloadaur-cd7e4858c48d8670e6022d39480bd00dd34adc84.tar.gz
Update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1651bc8401f0..66a28794f1ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -22,6 +22,8 @@ pkgbase = waterfox-bin
provides = waterfox-g=6.0
provides = waterfox=G6.0
conflicts = waterfox-g
+ noextract = waterfox.desktop
+ noextract = waterfox-G6.0.tar.bz2
source = waterfox.desktop
source = https://cdn1.waterfox.net/waterfox/releases/G6.0/Linux_x86_64/waterfox-G6.0.tar.bz2
sha512sums = d0ff0445021b975d52eee7dac27dfdc0d170da07f8a8dc1676ba53387c2006f0598c163b36b07abdbb411cfb61bf52b8222fc5882bdfa8dfcd13d99cb44c92b6
diff --git a/PKGBUILD b/PKGBUILD
index 6a87372c9377..b4e3be6d50ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,13 @@ provides=("waterfox-g=${_pkgver}" "waterfox=${pkgver}")
conflicts=('waterfox-g')
source=('waterfox.desktop'
'https://cdn1.waterfox.net/waterfox/releases/'"${pkgver}"'/Linux_x86_64/waterfox-'"${pkgver}"'.tar.bz2')
+noextract=("${source[@]##*/}")
+
+prepare() {
+ # Extract archive
+ mkdir "${srcdir}"/waterfox
+ tar -xf "${srcdir}"/waterfox-"${pkgver}".tar.bz2 -C "${srcdir}"/waterfox
+}
package() {
# Create the necessary directories.