Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/fixture/version/setup/github-git
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2024-03-04 23:37:49 +0100
committerChristian Heusel <christian@heusel.eu>2024-03-23 23:57:46 +0100
commit05bea3e922aa7aec5cba3242d3f34b5c10fad24e (patch)
treede09c15c36a0860e93eb664f16db694244218cd1 /test/fixture/version/setup/github-git
parentde0ea3b2f839c2f6ba074d7401d2a28118680da0 (diff)
test: add basic bats setup and test cases for `version setup`
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'test/fixture/version/setup/github-git')
-rw-r--r--test/fixture/version/setup/github-git/PKGBUILD17
-rw-r--r--test/fixture/version/setup/github-git/nvchecker.assert.toml3
2 files changed, 20 insertions, 0 deletions
diff --git a/test/fixture/version/setup/github-git/PKGBUILD b/test/fixture/version/setup/github-git/PKGBUILD
new file mode 100644
index 0000000..18e30bc
--- /dev/null
+++ b/test/fixture/version/setup/github-git/PKGBUILD
@@ -0,0 +1,17 @@
+pkgname=minisign
+pkgver=0.11
+pkgrel=1
+pkgdesc="A dead-simple tool to sign files and verify digital signatures"
+arch=('x86_64')
+url="https://github.com/jedisct1/minisign"
+license=('custom:ISC')
+depends=('libsodium')
+makedepends=('cmake' 'git')
+_commit=feefda7af87f64342bd07bf446ceb0467cbd0fb4 # git rev-parse $pkgver
+source=("git+https://github.com/jedisct1/minisign.git?signed#tag=$_commit")
+sha512sums=('SKIP')
+validpgpkeys=(54A2B8892CC3D6A597B92B6C210627AABA709FE1) # Frank Denis
+
+package() {
+ :
+}
diff --git a/test/fixture/version/setup/github-git/nvchecker.assert.toml b/test/fixture/version/setup/github-git/nvchecker.assert.toml
new file mode 100644
index 0000000..6d54f48
--- /dev/null
+++ b/test/fixture/version/setup/github-git/nvchecker.assert.toml
@@ -0,0 +1,3 @@
+[minisign]
+source = "git"
+git = "https://github.com/jedisct1/minisign.git"