summaryrefslogtreecommitdiffstats
path: root/proto.install
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-06 17:23:49 +0100
committerDan McGee <dan@archlinux.org>2008-01-06 17:23:49 +0100
commitd53388fb90ee9594e07b8f00cc45436e6318c972 (patch)
tree0c1f025fd7adaec0f787adca3393ef3a9ba51451 /proto.install
parente0e33c329ff249d7862a0e7ec508794faa98efd8 (diff)
downloadpacman-d53388fb90ee9594e07b8f00cc45436e6318c972.tar.gz
pacman-d53388fb90ee9594e07b8f00cc45436e6318c972.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'proto.install')
-rw-r--r--proto.install36
1 files changed, 36 insertions, 0 deletions
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: