tenzen-studio-bin: follow upstream bundle rename
This commit is contained in:
1 parent
43ecc2c6e3
commit
27ba83c3e7
2 files changed
+6
-6
No files matched your search
@@ -16,7 +16,7 @@ makedepends=('ostree' 'asar')
|
||||
provides=('tenzen-studio')
|
||||
conflicts=('tenzen-studio')
|
||||
options=('!strip' '!debug')
|
||||
_bundle="Tenzen-${pkgver}-linux-x64.flatpak"
|
||||
_bundle="Capture-Studio-${pkgver}-linux-x64.flatpak"
|
||||
source=("${_bundle}::https://downloads.tenzen.studio/desktop/stable/linux/${pkgver}/${_bundle}")
|
||||
noextract=("${_bundle}")
|
||||
sha256sums=('b7900c23314c01a88b7f539e84f68cd7a0f3f8f67f5ac647d39741f3c063bead')
|
||||
@@ -60,7 +60,7 @@ package() {
|
||||
# so what goes in is the reference to the terms it is used under, next to
|
||||
# the notices for everything bundled with it, which the app dir does carry.
|
||||
install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" <<'EOF'
|
||||
Tenzen Studio is proprietary software, distributed by Tenzen Studio.
|
||||
Capture Studio is proprietary software, distributed by Tenzen Studio.
|
||||
|
||||
It is not covered by a free-software licence: use is governed by the terms
|
||||
of service the vendor publishes, and redistribution of the build this
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# tenzen-studio-bin - Tenzen Studio (https://tenzen.studio), a proprietary
|
||||
# Electron app for recording and editing product demos.
|
||||
# tenzen-studio-bin - Capture Studio by Tenzen Studio (https://tenzen.studio),
|
||||
# a proprietary Electron app for recording and editing product demos.
|
||||
#
|
||||
# Upstream publishes no source, so there is only this -bin package. For Linux
|
||||
# it ships nothing but a Flatpak bundle, versioned on its own download host:
|
||||
@@ -22,10 +22,10 @@ latest_version() {
|
||||
refresh_checksums() {
|
||||
local ver="$1" pkgbuild="$2" sha
|
||||
|
||||
sha="$(curl -sf "$API" | jq -r --arg f "Tenzen-$ver-linux-x64.flatpak" \
|
||||
sha="$(curl -sf "$API" | jq -r --arg f "Capture-Studio-$ver-linux-x64.flatpak" \
|
||||
'.release.artifacts[] | select(.file_name == $f) | .sha256')"
|
||||
if [[ ! "$sha" =~ ^[0-9a-f]{64}$ ]]; then
|
||||
echo "the release API lists no Tenzen-$ver-linux-x64.flatpak" >&2
|
||||
echo "the release API lists no Capture-Studio-$ver-linux-x64.flatpak" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user