From 287f7a575e8d09d695a9a3e9a95c0196f03648f4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 21 Dec 2014 15:48:57 +0100 Subject: test makepkg-template: Add keep-old-version Signed-off-by: Florian Pritz --- .../makepkg-template-tests/keep-old-version/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD (limited to 'test/scripts/makepkg-template-tests/keep-old-version/PKGBUILD') 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; +} -- cgit v1.2.3-70-g09d2