summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhexptr2020-07-14 00:18:17 +0100
committerhexptr2020-07-14 00:18:17 +0100
commit112eaf4d682dff6c213f5fb2717e1bb4dc51f102 (patch)
tree323c94b743f1a4e4da92bda58146e5165b982e25
parentc37f47f33b9467773db07355635c90726e613947 (diff)
downloadaur-112eaf4d682dff6c213f5fb2717e1bb4dc51f102.tar.gz
add some post install/remove messages about the weird perms
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--etterna-git.install20
3 files changed, 22 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6390fcaf91f4..673092389b67 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = etterna-git
pkgdesc = Etterna: an advanced cross-platform rhythm game focused on keyboard play
pkgver = 0.70.0.r181.g832d37aa5d
- pkgrel = 1
+ pkgrel = 2
url = https://etternaonline.com
install = etterna-git.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 6e19fadcf15f..cd69f38f394f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=etterna-git
pkgver=0.70.0.r181.g832d37aa5d
-pkgrel=1
+pkgrel=2
pkgdesc="Etterna: an advanced cross-platform rhythm game focused on keyboard play"
arch=('i686' 'x86_64')
url="https://etternaonline.com"
diff --git a/etterna-git.install b/etterna-git.install
index 3075852b25c2..565fe99e92a0 100644
--- a/etterna-git.install
+++ b/etterna-git.install
@@ -1,7 +1,27 @@
function post_install {
desktop-file-install "/usr/share/applications/etterna.desktop"
+
+ cat <<"EOF"
+Etterna has been installed under "/opt/etterna-git".
+
+This AUR package (unlike the "etterna" non-VCS package) does *not* create the
+file "/opt/etterna-git/portable.ini". Without that file, Etterna will save your
+profiles, scores and songs under "~/.stepmania-5.0", not "/opt/etterna-git".
+
+NB: as of v0.70.1, even without portable mode on, the Etterna client is not
+hygienic about treating "/opt/etterna-git" as a read-only overlay. The song
+cache is still written there, not to your homedir. Hence, this package makes
+that directory world-writable.
+EOF
}
function post_upgrade {
post_install
}
+
+function post_remove {
+ cat <<"EOF"
+Etterna has been removed. However, there may still be some files left under
+"/opt/etterna-git", which you may wish to remove manually.
+EOF
+}