Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-12-21 15:48:57 +0100
committerAllan McRae <allan@archlinux.org>2015-01-11 18:58:24 +1000
commit287f7a575e8d09d695a9a3e9a95c0196f03648f4 (patch)
tree387cfb347036bd6f65640e02d46a7726d0e493c3 /test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD
parentdfacd8473e6d83042f5d01f2cfc61b7bd43a7617 (diff)
test makepkg-template: Add keep-old-version
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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;
+}