makedeb


violated-heroine-en 210112-1


Hentai 2D action RPG game. English Ver.

Click here to go back to the commit logs for violated-heroine-en.

Commit:


Hash: 8998d53de254a06dfbda4b2930ac21c3fff5e2fe

Message: fix permissions

Diff


diff --git a/.SRCINFO b/.SRCINFO
index f6edbd7..a9eb3b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = violated-heroine-en
 pkgbase = violated-heroine-en
 pkgdesc = Hentai 2D action RPG game. English Ver.
-pkgrel = 0
+pkgrel = 1
 pkgver = 210112
 url = https://jbbs.shitaraba.net/otaku/14912/
 arch = all
diff --git a/PKGBUILD b/PKGBUILD
index bcc1694..b67599e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 _pkgname=violated-heroine
 pkgname="${_pkgname}-en"
 pkgver=210112
-pkgrel=0
+pkgrel=1
 pkgdesc="Hentai 2D action RPG game. English Ver."
 url='https://jbbs.shitaraba.net/otaku/14912/'
 arch=('all')
@@ -52,7 +52,7 @@ package() {
   # Install data
   cp -R "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/usr/share/games/${pkgname}"
   # bug: fix permissions, can't chmod the extracted files directly. 
-  chmod -R 644 "${pkgdir}/usr/share/games"
+  chmod -R u=rw,go=r,a+X "${pkgdir}/usr/share/games"
   # Icon and desktop file
   install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
   install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/96x96/apps/${pkgname}.png"