Package Details: alephone-eternalx 1.2.1-2

Git Clone URL: https://aur.archlinux.org/alephone-eternalx.git (read-only, click to copy)
Package Base: alephone-eternalx
Description: A free scenario for Aleph One that continues the story of the Marathon trilogy
Upstream URL: http://eternal.bungie.org/
Licenses: unknown
Submitter: None
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 8
Popularity: 0.000000
First Submitted: 2008-07-26 02:47 (UTC)
Last Updated: 2024-09-16 15:54 (UTC)

Latest Comments

FredBezies commented on 2024-09-16 15:55 (UTC)

@hildigerr: patch applied. Thanks a lot!

hildigerr commented on 2024-09-16 04:05 (UTC)

Sure thing:

diff --git a/.SRCINFO b/.SRCINFO
index a70d710..5864809 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
 pkgbase = alephone-eternalx
        pkgdesc = A free scenario for Aleph One that continues the story of the Marathon trilogy
        pkgver = 1.2.1
-       pkgrel = 1
+       pkgrel = 2
        url = http://eternal.bungie.org/
+       install = eternalx.install
        arch = any
        license = unknown
        depends = alephone
diff --git a/PKGBUILD b/PKGBUILD
index adb3305..f008e60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,13 @@

 pkgname=alephone-eternalx
 pkgver=1.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A free scenario for Aleph One that continues the story of the Marathon trilogy"
 arch=('any')
 url="http://eternal.bungie.org/"
 license=('unknown')
 depends=('alephone')
+install=eternalx.install
 source=("http://eternal.bungie.org/files/_releases/EternalXv${pkgver//./}.zip"
         "$pkgname.sh"
         "$pkgname.desktop")
@@ -27,6 +28,7 @@ package() {
   cp -r "Eternal $pkgver" "$pkgdir"/usr/share/AlephOne/scenarios/eternalx

   # sane permissions
+  chmod 755 "$pkgdir"/usr/share/AlephOne/scenarios/eternalx
   find "$pkgdir"/usr/share/AlephOne/scenarios/eternalx -type f -exec chmod 644 {} \;

   # launcher script and .desktop file

The eternalx.install file is needed to update the directory permissions without having to uninstall first:

## arg 1:  the new package version
## arg 2:  the old package version
pre_upgrade() {
  chmod 755 "$pkgdir"/usr/share/AlephOne/scenarios/eternalx
}

FredBezies commented on 2024-09-15 13:23 (UTC)

@hildigger: can you provide a patch for this issue? Thanks!

hildigerr commented on 2024-09-13 19:10 (UTC)

The scenario directory turns out with 700 permissions rather than 755 as other scenarios. This makes it so regular users can't access the Info & Credits pdf for example.

carstene1ns commented on 2015-03-05 18:38 (UTC)

Package adopted and updated.

Toney commented on 2015-01-13 12:51 (UTC)

Need to add 'package()' section to PKGBUILD