Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/fixture/version/setup/pkgbase-with-dot
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/pkgbase-with-dot
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/pkgbase-with-dot')
-rw-r--r--test/fixture/version/setup/pkgbase-with-dot/PKGBUILD27
-rw-r--r--test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml3
2 files changed, 30 insertions, 0 deletions
diff --git a/test/fixture/version/setup/pkgbase-with-dot/PKGBUILD b/test/fixture/version/setup/pkgbase-with-dot/PKGBUILD
new file mode 100644
index 0000000..d4ab22c
--- /dev/null
+++ b/test/fixture/version/setup/pkgbase-with-dot/PKGBUILD
@@ -0,0 +1,27 @@
+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')
+optdepends=(
+ 'skim: selection menu alternative'
+ 'fzf: selection menu alternative'
+)
+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() {
+ :
+}
diff --git a/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml b/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml
new file mode 100644
index 0000000..38e881b
--- /dev/null
+++ b/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml
@@ -0,0 +1,3 @@
+["git.smash"]
+source = "git"
+git = "https://github.com/anthraxx/git-smash.git"