From d53388fb90ee9594e07b8f00cc45436e6318c972 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 6 Jan 2008 10:23:49 -0600 Subject: install: install prototype PKGBUILD and install to datadir Move the prototypes out of contrib/ and into the top level directory, and install them to what is usually /usr/share/pacman/ on a package install. Signed-off-by: Dan McGee --- proto.install | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 proto.install (limited to 'proto.install') diff --git a/proto.install b/proto.install new file mode 100644 index 00000000..074840e4 --- /dev/null +++ b/proto.install @@ -0,0 +1,36 @@ +# This is a default template for a post-install scriptlet. You can +# remove any functions you don't need (and this header). + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf