diff options
author | gardenapple | 2020-11-10 14:01:00 +0200 |
---|---|---|
committer | gardenapple | 2020-11-10 14:01:00 +0200 |
commit | d174d0c381280a27919613539805c66adaf26900 (patch) | |
tree | dbc2cd747d2140d3e6000032238d3b9017ad90ac | |
parent | c4fb5a8d5c7ddb63488fdb68b9c5263369ffab5d (diff) | |
download | aur-d174d0c381280a27919613539805c66adaf26900.tar.gz |
Fine-tune persmissions
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | open-hexagon-git.install | 4 |
3 files changed, 11 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = open-hexagon-git pkgdesc = Free software clone of Super Hexagon - a music-based arcade game pkgver = 2.0.preview.r1766.gd4e93de4 - pkgrel = 5 + pkgrel = 6 epoch = 1 url = https://openhexagon.org/ install = open-hexagon-git.install @@ -23,7 +23,7 @@ pkgbase = open-hexagon-git source = open-hexagon.desktop sha256sums = SKIP sha256sums = c58bf04778d29ade2b76ea5402671f95ede634fb67f44d707b2f9580054caaa7 - sha256sums = 5e147e333661b56cb13957729a9fc32660523cadccac0c429ce89b5b8b4f87d9 + sha256sums = 34b305981bf95f9d8c7de14ad5fb916d94c9e60a63d4e69d7c21f08e0874fa64 sha256sums = a3558245d72250aadaaef32b087474a671a54fcca8267b5746d5bce56ce71397 sha256sums = a3f4ef5296619903b487ccd8d894e28b2d9fad3a9152683f642b43aeb88b7928 @@ -1,8 +1,8 @@ # Maintainer: Yurii <yu.hrysh@posteo.net> pkgname=open-hexagon-git -pkgver=2.0.preview.r1766.gd4e93de4 -pkgrel=5 +pkgver=2.0.preview.r1772.g380f7a3d +pkgrel=6 epoch=1 pkgdesc='Free software clone of Super Hexagon - a music-based arcade game' url='https://openhexagon.org/' @@ -22,7 +22,7 @@ source=('git+https://github.com/SuperV1234/SSVOpenHexagon.git' install="$pkgname.install" sha256sums=('SKIP' 'c58bf04778d29ade2b76ea5402671f95ede634fb67f44d707b2f9580054caaa7' - '5e147e333661b56cb13957729a9fc32660523cadccac0c429ce89b5b8b4f87d9' + '34b305981bf95f9d8c7de14ad5fb916d94c9e60a63d4e69d7c21f08e0874fa64' 'a3558245d72250aadaaef32b087474a671a54fcca8267b5746d5bce56ce71397' 'a3f4ef5296619903b487ccd8d894e28b2d9fad3a9152683f642b43aeb88b7928') @@ -71,11 +71,10 @@ package() { ln -s "/var/lib/open-hexagon/scores.json" rm users.json ln -s "/var/lib/open-hexagon/users.json" - mkdir "$pkgdir/var/lib/open-hexagon/Profiles" + mkdir -m=777 "$pkgdir/var/lib/open-hexagon/Profiles" ln -s "/var/lib/open-hexagon/Profiles" - mkdir "$pkgdir/var/lib/open-hexagon/Replays" + mkdir -m=777 "$pkgdir/var/lib/open-hexagon/Replays" ln -s "/var/lib/open-hexagon/Replays" - chmod -R a+w "$pkgdir/var/lib/open-hexagon" # Executables diff --git a/open-hexagon-git.install b/open-hexagon-git.install index ce3bfec166d2..dbba70877425 100644 --- a/open-hexagon-git.install +++ b/open-hexagon-git.install @@ -2,9 +2,13 @@ _create_files() { # Ensure that these files exist and are owned by root, but the package should not own them. cd /var/lib/open-hexagon/ touch log.txt + chmod a+w log.txt touch config.json + chmod a+w config.json touch scores.json + chmod a+w scores.json touch users.json + chmod a+w users.json } post_upgrade() { _create_files |