diff options
author | Noah | 2023-05-23 20:09:23 +1000 |
---|---|---|
committer | GitHub | 2023-05-23 20:09:23 +1000 |
commit | dd2995337a1a2f631876b4ebfaf1a5c15089b739 (patch) | |
tree | 11a8757f3fc36a14c5eda71bb0f1258a175ba50b | |
parent | 6436c67215aab55d076fc40e4d70cd710ccd0fc0 (diff) | |
parent | 81966c63298974a6ae41adf641a50cf651d60c4c (diff) | |
download | aur-dd2995337a1a2f631876b4ebfaf1a5c15089b739.tar.gz |
Merge pull request #2 from pfych/XDG_CONFIG_HOME
Finalize changes to merge XDG_CONFIG_HOME fixes.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = lr2oraja pkgdesc = The latest build of beatoraja, but compiled using LR2 judges and gauges. pkgver = build4501107977 - pkgrel = 1 + pkgrel = 2 arch = x86_64 license = GPL3 license = GPL3 @@ -1,7 +1,7 @@ # Maintainer: Pfych <contact at pfy dot ch> pkgname=lr2oraja pkgver=build4501107977 -pkgrel=1 +pkgrel=2 pkgdesc="The latest build of beatoraja, but compiled using LR2 judges and gauges." arch=('x86_64') depends=('liberica-jre-8-full-bin') @@ -66,6 +66,10 @@ package() { echo "Name=LR2oraja" >> "$desktopEntry" echo "Categories=Games;" >> "$desktopEntry" echo "Icon=lr2oraja-icon" >> "$desktopEntry" + + if [ -z "$XDG_CONFIG_HOME" ]; then + XDG_CONFIG_HOME="$HOME/.config" + fi # Create config symlink ln -sfn "$pkgdir/opt/beatoraja" "$XDG_CONFIG_HOME/beatoraja" |