summaryrefslogtreecommitdiffstats
path: root/test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD')
-rw-r--r--test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD b/test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD
new file mode 100644
index 00000000..09da2e03
--- /dev/null
+++ b/test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD
@@ -0,0 +1,15 @@
+pkgname=foo
+pkgver=1
+
+build() {
+# template start; name=perl-module; version=1.0;
+echo "before bla template"
+# template start; name=perl-bla; version=1.2;
+bla bla
+# template end;
+echo "after bla template"
+perl Makefile.pl
+make
+make install
+# template end;
+}