summaryrefslogtreecommitdiffstats
path: root/testcorpus/git-multi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testcorpus/git-multi/PKGBUILD')
-rw-r--r--testcorpus/git-multi/PKGBUILD19
1 files changed, 19 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)"
+}