Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/fixture/version/setup/github-tarball
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-tarball
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-tarball')
-rw-r--r--test/fixture/version/setup/github-tarball/PKGBUILD25
-rw-r--r--test/fixture/version/setup/github-tarball/nvchecker.assert.toml3
2 files changed, 28 insertions, 0 deletions
diff --git a/test/fixture/version/setup/github-tarball/PKGBUILD b/test/fixture/version/setup/github-tarball/PKGBUILD
new file mode 100644
index 0000000..935ac0d
--- /dev/null
+++ b/test/fixture/version/setup/github-tarball/PKGBUILD
@@ -0,0 +1,25 @@
+pkgname=git-smash
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Smash staged changes into previous commits to support your Git workflow'
+url='https://github.com/anthraxx/git-smash'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc' 'gcc-libs' 'git')
+makedepends=('cargo' 'scdoc')
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+ ${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig)
+options=('!makeflags')
+sha512sums=('64a8b6e2afa7007966245a4888e51251e8c35f0b82421f3cee634a3e7b82256a24459cba2941800a6e50a047766a0f8de20b435904d17df3fd456b6c09ac4c5f'
+ 'SKIP')
+b2sums=('acc46b7a87135380fe36c378e9055b8b7c9b88a818c955f04677161f50d5ccd5699ac05f0a858dd11ca7b42b3505c0ac037f50efcd690f9e5a76be395d5d6590'
+ 'SKIP')
+validpgpkeys=(
+ 'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak
+)
+
+package() {
+ :
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/test/fixture/version/setup/github-tarball/nvchecker.assert.toml b/test/fixture/version/setup/github-tarball/nvchecker.assert.toml
new file mode 100644
index 0000000..65877ac
--- /dev/null
+++ b/test/fixture/version/setup/github-tarball/nvchecker.assert.toml
@@ -0,0 +1,3 @@
+[git-smash]
+source = "git"
+git = "https://github.com/anthraxx/git-smash.git"