summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author5anya2020-04-28 04:35:37 +0300
committer5anya2020-04-28 04:35:37 +0300
commitb6e8b550a9e4687140bac6fdd6625825c0a4adc1 (patch)
treed26ef59348d864f0cb798ec0f4118f11159318bb
parent1bd8dae7de3c0509becd3f938d060cb5030ff9ec (diff)
downloadaur-b6e8b550a9e4687140bac6fdd6625825c0a4adc1.tar.gz
preserve user data between upgrades
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7600f6fd8c3..bf56219da2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ _pkgname=crypt-of-the-necrodancer
epoch=1
pkgver=1.29.14917
_pkgver=1_29_14917
-pkgrel=4
+pkgrel=5
pkgdesc="A roguelike rhythm game! Move on the beat to navigate ever changing dungeons"
arch=('i686' 'x86_64')
license=('custom')
@@ -23,6 +23,9 @@ sha256sums=(SKIP
'9753ea711a428a24333cb37be1f11a3a35860072723e89dd7599d1842f0f4f89'
'99136db3939cbab2ae33181479e069c3d25298096758327a41d002494c8ae54c')
PKGEXT=".pkg.tar"
+backup=("opt/gog/$_pkgname/game/data/{played.dat,save_data.xml,save_data.xml_TEMP}"
+ "opt/gog/$_pkgname/game/replays/"
+ "opt/gog/$_pkgname/game/logs/")
package() {
depends_i686=('libglvnd' 'openal' 'libxrandr' 'libpulse')