summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastien Duthil2016-02-14 10:14:54 -0500
committerSebastien Duthil2016-02-14 10:14:55 -0500
commitd221be99e421b5b2461d0b449271a180fba02418 (patch)
tree560d78b06da37080aeb9a5d4f992f3fe0b17758d /PKGBUILD
parent32e006ed9872921f6b7298d9f52100f773919f3e (diff)
downloadaur-d221be99e421b5b2461d0b449271a180fba02418.tar.gz
add permissions to /usr/share/factorio
reason: the in-game updater needs to create /usr/share/factorio/scenario-pack when installing the scenarios pack
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 605fa5d8b5c1..9ae66aee6a86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=factorio
pkgver=0.12.20
-pkgrel=1
+pkgrel=2
pkgdesc="A 2D game about building and maintaining factories."
arch=('i686' 'x86_64')
url="http://www.factorio.com/"
@@ -58,7 +58,7 @@ package() {
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/applications"
- install -d "${pkgdir}/usr/share/factorio"
+ install -g games -m 775 -d "${pkgdir}/usr/share/factorio"
install -d "${pkgdir}/usr/share/licenses/factorio"
install -m755 "bin/${__factorio_arch}/factorio" "$pkgdir/usr/bin/factorio"