summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Beste2018-04-14 09:46:39 -0500
committerDan Beste2018-04-14 09:49:37 -0500
commitcce1dec05c106c847df3322335f59476423f1829 (patch)
treea4bcb269fc04687c548c779547a5e0025b0ae042
parent4ab23cb6dd7981c0d03729feefbc33f2802cad30 (diff)
downloadaur-cce1dec05c106c847df3322335f59476423f1829.tar.gz
v1.3.6564.30139
+ "Fix" permissions / line terminators on ini files...
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 19 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53cab8158fe..b975b334547 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,20 @@
pkgbase = gog-owlboy
pkgdesc = Owlboy is a 'hi-bit' adventure game, where you can fly and explore a brand new world in the clouds!
- pkgver = 2.2.0.3
+ pkgver = 1.3.6564.30139
pkgrel = 1
+ epoch = 1
url = http://www.owlboygame.com/
arch = i686
arch = x86_64
license = custom
- optdepends = firejail: Automatically sandbox this application from your OS
+ makedepends = dos2unix
+ optdepends = firejail: Sandbox this application from your OS
source = gog-owlboy
source = gog-owlboy.desktop
- source = file://gog_owlboy_2.2.0.3.sh
+ source = file://gog_owlboy_1.3.6564.30139.sh
sha256sums = 160b4d0fb275d3c1d4d6d574ca4085579e944e67dd32bd0a0c6e79f2e3d105a6
sha256sums = 8574e2463800004ddf97e49d2760d834413bf51fda4b1a57ead8cc10b07ac4f2
- sha256sums = 41cc985f9399bb59a4da78a0ffbeae9d8ec7fda8dee3f409b93c9d978a8f8562
+ sha256sums = 65ab113d3e465ab0aa4bec514ba36f91219b38743361f508af8c96b7f5ba4b3d
pkgname = gog-owlboy
diff --git a/PKGBUILD b/PKGBUILD
index ff58af19554..508e3acb4a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,15 +7,15 @@
# - https://github.com/Sude-/lgogdownloader
pkgname='gog-owlboy'
-pkgver=2.2.0.3
+pkgver=1.3.6564.30139
pkgrel=1
+epoch=1
pkgdesc="Owlboy is a 'hi-bit' adventure game, where you can fly and explore a brand new world in the clouds!"
url="http://www.owlboygame.com/"
license=('custom')
arch=('i686' 'x86_64')
-optdepends=(
- 'firejail: Automatically sandbox this application from your OS'
-)
+makedepends=('dos2unix')
+optdepends=('firejail: Sandbox this application from your OS')
source=(
"${pkgname}"
"${pkgname}.desktop"
@@ -24,7 +24,7 @@ source=(
sha256sums=(
'160b4d0fb275d3c1d4d6d574ca4085579e944e67dd32bd0a0c6e79f2e3d105a6'
'8574e2463800004ddf97e49d2760d834413bf51fda4b1a57ead8cc10b07ac4f2'
- '41cc985f9399bb59a4da78a0ffbeae9d8ec7fda8dee3f409b93c9d978a8f8562'
+ '65ab113d3e465ab0aa4bec514ba36f91219b38743361f508af8c96b7f5ba4b3d'
)
package() {
@@ -56,6 +56,14 @@ package() {
install -m 644 \
"${srcdir}/${pkgname}.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+ # Plebians...
+ while read -r ini; do
+ chmod g+w "${ini}"
+ file "${ini}" | grep -Ei 'CRLF' && dos2unix "${ini}"
+ done < <(find "${pkgdir}" -name *.ini)
+ # Don't even get me started on why the fuck I have to do this...
+ chgrp -R games "${pkgdir}"
}
# vim: ts=2 sw=2 et: