blob: b4a06e1295580c19fcd0083969304c55b56f4b7c (
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
37
38
|
# Maintainer: Zagamun <courteouscastellan at gmail dot com>
pkgname=stationhub
pkgver=0.4
pkgrel=2
pkgdesc="The Station Hub for Unitystation, an open source remake of Space Station 13 on the Unity engine."
arch=('x86_64')
url="https://unitystation.org/"
license=('AGPL v3')
install=stationhub.install
options=(staticlibs)
source=("https://unitystationfile.b-cdn.net/StationHubLinux.zip"
"stationhub.desktop"
"stationhub.png")
sha256sums=('SKIP'
'0373d2ccaa58f12b11e0a1be70de63f27858b5dc46346ae7a6a8727a74dbcaba'
'ddfc55857b2243a732b6003f0ba1e0fb8ee7f16562a4abc572f09461b6494625')
package() {
#Install Main Files
cd $srcdir
install -dm 777 $pkgdir/opt/$pkgname
cp -r $srcdir/* $pkgdir/opt/$pkgname
#Write and Executable Permissions
find $pkgdir/opt/$pkgname -type d -exec chmod 777 {} +
find $pkgdir/opt/$pkgname -type f -exec chmod 666 {} +
chmod 777 $pkgdir/opt/$pkgname/StationHub
#Desktop file
install -Dm644 $srcdir/stationhub.desktop $pkgdir/usr/share/applications/stationhub.desktop
install -Dm644 $srcdir/stationhub.png $pkgdir/usr/share/pixmaps/stationhub.png
#Remove Holdovers
rm $pkgdir/opt/$pkgname/StationHubLinux.zip
rm $pkgdir/opt/$pkgname/stationhub.desktop
rm $pkgdir/opt/$pkgname/stationhub.png
}
|