File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ repo_root=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /../.." && pwd) "
5+ pkgbuild=" $repo_root /packaging/linux/arch/PKGBUILD"
6+
7+ test -f " $pkgbuild "
8+ bash -n " $pkgbuild "
9+
10+ grep -q ' ^pkgname=turtle-term$' " $pkgbuild "
11+ grep -q ' ^pkgver=0.1.0$' " $pkgbuild "
12+ grep -q " arch=('x86_64' 'aarch64')" " $pkgbuild "
13+ grep -q " license=('MIT')" " $pkgbuild "
14+ grep -q ' https://github.com/SourceOS-Linux/TurtleTerm' " $pkgbuild "
15+ grep -q ' TURTLE_TERM_STAGE_PREFIX' " $pkgbuild "
16+ grep -q ' packaging/scripts/stage-linux-package.sh' " $pkgbuild "
17+
18+ if grep -qi ' org.wezfurlong\|SourceOS-Linux/wezterm' " $pkgbuild " ; then
19+ echo ' PKGBUILD contains stale upstream product identity' >&2
20+ exit 1
21+ fi
22+
23+ echo " verified TurtleTerm Arch package metadata"
You can’t perform that action at this time.
0 commit comments