diff options
Diffstat (limited to 'testcorpus/git-multi')
| -rw-r--r-- | testcorpus/git-multi/PKGBUILD | 19 | ||||
| -rw-r--r-- | testcorpus/git-multi/manifest.json | 12 |
2 files changed, 31 insertions, 0 deletions
diff --git a/testcorpus/git-multi/PKGBUILD b/testcorpus/git-multi/PKGBUILD new file mode 100644 index 0000000..3f55f20 --- /dev/null +++ b/testcorpus/git-multi/PKGBUILD @@ -0,0 +1,19 @@ +pkgbase=git-multi +pkgver=r1.0 +pkgrel=1 +pkgdesc="synthetic fixture with two upstream repos" +url="https://example.invalid/git-multi" +license=(MIT) +arch=(x86_64) +source=("git+file://@UPSTREAM_DIR@" "git+file://@UPSTREAM2_DIR@") +sha256sums=("SKIP" "SKIP") +makedepends=("git") +build() { + echo building git-multi +} +package_git-multi() { + echo packaging git-multi +} +pkgver() { + printf "r%s" "$(git -C @UPSTREAM_DIR@ rev-list --count HEAD)" +} diff --git a/testcorpus/git-multi/manifest.json b/testcorpus/git-multi/manifest.json new file mode 100644 index 0000000..bedfd29 --- /dev/null +++ b/testcorpus/git-multi/manifest.json @@ -0,0 +1,12 @@ +{ + "name": "git-multi", + "build": "succeed", + "sig": true, + "packages": [], + "installed": [ + { "name": "glibc", "version": "2.39-1", "arch": "x86_64" } + ], + "log_lines": ["==> Making package."], + "vercheck": "r1-1", + "expect": { "notes": "two VCS sources, two pin entries (ยง5.2: probe every source, not just the first)" } +} |
