summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederic Bezies2021-05-14 21:22:45 +0200
committerFrederic Bezies2021-05-14 21:22:45 +0200
commitfa7d013e3c623b7344ea8eb18c3704464ace8138 (patch)
tree7400077f49b686239bb71b7022c87c2b604f4e23 /PKGBUILD
parent638105377ac0384af9d488c2d7f6992dcd67eebc (diff)
downloadaur-fa7d013e3c623b7344ea8eb18c3704464ace8138.tar.gz
May 14th, 2021 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ff6400978ee..cf61a9c1574 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,36 +2,35 @@
pkgname=fractalus
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc='A fan remake of Rescue on Fractalus, a classic game developed by Lucasfilm Games originally released on Atari, Commodore 64 and other platforms in 1984.'
url=https://www.lsdwa.com/projects/fractalus/
-source=(
- "http://downloads.lsdwa.com/projects/fractalus/fractalus-$pkgver-linux.tgz"
- "${pkgname}.desktop"
- "fractalus"
- )
+source=("http://downloads.lsdwa.com/projects/fractalus/fractalus-$pkgver-linux.tgz"
+ "$pkgname.desktop"
+ "fractalus")
arch=('x86_64')
+depends=('bash' 'zlib')
sha256sums=('1581b6102f940bd07efbb4b1f829398cae59fe60862098f73664fb0e350e8a03'
'2b6ed647553bc49888b5ad87e37e461b6cdae71c5b43ee396b52d41466a9c77d'
'0cd092338bff018f91ebaea19cf032ede20f3c03971b713dfbe1470243d4f668')
license=("unknown")
prepare() {
- mkdir ${srcdir}/Fractalus-Game
- cd ${srcdir}/Fractalus-Game
- bsdtar -xf "${srcdir}/fractalus-1.0.0-linux.tgz"
+ mkdir "$srcdir"/Fractalus-Game
+ cd "$srcdir"/Fractalus-Game
+ bsdtar -xf "$srcdir"/fractalus-1.0.0-linux.tgz
}
package(){
- cd ${srcdir}/Fractalus-Game
- install -dm755 ${pkgdir}/opt
- install -dm755 ${pkgdir}/usr/bin
- mkdir -p ${pkgdir}/opt/${pkgname}
- mkdir -p ${pkgdir}/usr/bin
- cp -R * ${pkgdir}/opt/${pkgname}
- chmod 775 ${pkgdir}/opt/${pkgname}
- chown :games ${pkgdir}/opt/${pkgname}
- install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/"
+ cd "$srcdir"/Fractalus-Game
+ install -dm755 "$pkgdir"/opt
+ install -dm755 "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/opt/$pkgname
+ mkdir -p "$pkgdir"/usr/bin
+ cp -R * "$pkgdir"/opt/$pkgname
+ chmod 775 "$pkgdir"/opt/$pkgname
+ chown :games "$pkgdir"/opt/$pkgname
+ install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/"
msg2 "\e[1;32mYou'll have to be in the 'games' group to be able to play this game."
}