blob: 9f3be04f0002b37326dce39ac86c570d5e3b4460 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Marcin Nowak <marcin.j.nowak+aur AT gmail DOT com>
pkgname=fractalus
pkgver=1.1.0
pkgrel=1
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")
arch=('x86_64')
depends=('bash' 'zlib')
sha256sums=('9c87acfdf67c6367f8c22fbb7715cd6f21b317b8e0c6fff65f214b4e45d04599'
'2b6ed647553bc49888b5ad87e37e461b6cdae71c5b43ee396b52d41466a9c77d'
'0cd092338bff018f91ebaea19cf032ede20f3c03971b713dfbe1470243d4f668')
license=("unknown")
prepare() {
mkdir "$srcdir"/Fractalus-Game
cd "$srcdir"/Fractalus-Game
bsdtar -xf "$srcdir"/fractalus-1.1.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/"
msg2 "\e[1;32mYou'll have to be in the 'games' group to be able to play this game."
}
|