makedeb


yumenikki-en 0.10-1


Surrealistic adventure game about exploring the dreams, aka "Dream Diary", English Ver.

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

Commit:


Hash: 3c75b34d0c974201f32b2b76e258abadc530eb31

Message: fix permissions

Diff


diff --git a/.SRCINFO b/.SRCINFO
index fa11627..55e9d7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = yumenikki-en
 pkgbase = yumenikki-en
 pkgdesc = Surrealistic adventure game about exploring the dreams, aka "Dream Diary", English Ver.
-pkgrel = 0
+pkgrel = 1
 pkgver = 0.10
 url = http://www3.nns.ne.jp/pri/tk-mto/
 arch = all
diff --git a/PKGBUILD b/PKGBUILD
index 292a7e9..e4844f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 _pkgname=yumenikki
 pkgname="${_pkgname}-en"
 pkgver=0.10
-pkgrel=0
+pkgrel=1
 pkgdesc="Surrealistic adventure game about exploring the dreams, aka \"Dream Diary\", English Ver."
 url='http://www3.nns.ne.jp/pri/tk-mto/'
 arch=('all')
@@ -40,7 +40,7 @@ package() {
   # Install data
   cp -R "${srcdir}/${pkgname}" "${pkgdir}/usr/share/games/"
   # 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"
   # doc
   mv "${pkgdir}/usr/share/games/${pkgname}/readme.txt" "${pkgdir}/usr/share/doc/${pkgname}/readme"
   # Icon and desktop file