Own ARM-compatible recipes and sync upstream directly

This commit is contained in:
Ryan Hughes committed 2026-09-03 22:04:04 -04:00
1 parent c3c1f8fbab
commit d9705d0e2f
21 files changed
+204 -43

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
{
"source": "aur",
"upstream_commit": "c6fe8f2c6dc43a5c2f0c95df5656037b351dacb7"
"source": "local"
}
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
# Tensaku publishes semver tags but no source checksum manifest. Select the
# newest tag using pacman's ordering and hash its source archive.
set -euo pipefail
REPO="https://github.com/jondkinney/tensaku.git"
version=""
while read -r tag; do
tag=${tag%\^\{\}}
[[ $tag =~ ^v([0-9]+\.[0-9]+\.[0-9]+)$ ]] || continue
candidate=${BASH_REMATCH[1]}
if [[ -z $version || $(vercmp "$candidate" "$version") -gt 0 ]]; then
version=$candidate
fi
done < <(git ls-remote --tags "$REPO" | sed 's#^.*refs/tags/##')
[[ -n $version ]] || { echo "No usable Tensaku version tag found" >&2; exit 1; }
current=$(grep -m1 '^pkgver=' PKGBUILD | cut -d= -f2- | tr -d "\"'")
if [[ $(vercmp "$version" "$current") -le 0 ]]; then
echo '{}'
exit 0
fi
sum=$(curl -fsSL "https://github.com/jondkinney/tensaku/archive/refs/tags/v${version}.tar.gz" | sha256sum | cut -d' ' -f1)
jq -n --arg pkgver "$version" --arg sha256 "$sum" \
'{pkgver: $pkgver, sha256sums: {any: [$sha256]}}'
+1 -1
View File
@@ -9,7 +9,7 @@ pkgname=tensaku
pkgver=0.28.0
pkgrel=1
pkgdesc='Modern screenshot annotation tool for Wayland'
arch=('x86_64')
arch=('x86_64' 'aarch64')
url='https://github.com/jondkinney/tensaku'
license=('MPL-2.0')
depends=('gtk4' 'gtk4-layer-shell' 'libadwaita' 'libepoxy' 'fontconfig')