summaryrefslogtreecommitdiff
path: root/pcr/renpy/renpy.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-30 10:02:24 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-30 10:02:24 -0200
commitd731a980f156ec8d47292e47b63a17bced3d0268 (patch)
tree3fba346e748678ad51ca66042af0427d9167e7b1 /pcr/renpy/renpy.install
parentfc4714ea1f54e9248645e043207f17261ae12652 (diff)
downloadabslibre-d731a980f156ec8d47292e47b63a17bced3d0268.tar.gz
abslibre-d731a980f156ec8d47292e47b63a17bced3d0268.tar.bz2
abslibre-d731a980f156ec8d47292e47b63a17bced3d0268.zip
renpy: adding new package to [pcr] repo.
Diffstat (limited to 'pcr/renpy/renpy.install')
-rw-r--r--pcr/renpy/renpy.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/renpy/renpy.install b/pcr/renpy/renpy.install
new file mode 100644
index 000000000..9630a255f
--- /dev/null
+++ b/pcr/renpy/renpy.install
@@ -0,0 +1,21 @@
+post_install() {
+ ln -sf "/usr/share/doc/renpy" "/usr/share/renpy/doc"
+
+ cat << EOF
+This package sets global environment variable RENPY_BASE, forcing all RenPy
+games, including incompatible ones, to use system-wide interpreter. Undefine
+this variable to launch games, you downloaded somewhere, with their built-in
+versions of interpreter.
+
+To run two example games: The Question and RenPy Tutorial you should be
+member of "games" group.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm "/usr/share/renpy/doc"
+}