blob: f59ebc474668856bf6c675c62f96be5716a9c2e7 (
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
39
40
41
|
# Maintainer: Dominicentek <dominicentekgaming@gmail.com>
pkgname=saturn-studio
pkgver=1.6.0.1
pkgrel=1
pkgdesc="A cross-platform SFM-like video editor for Super Mario 64. Fork of Saturn by sm64rise."
arch=('x86_64')
optdepends=('ffmpeg: exporting video files')
depends=('sdl2' 'glew')
makedepends=('gcc' 'make' 'git' 'python3')
source=('https://github.com/Dominicentek/saturn-studio/archive/studio.tar.gz')
sha256sums=(
'SKIP'
)
build() {
make -j$(nproc)
}
package() {
V64SATURN=$HOME/.local/share/v64saturn
DESKTOP_ENTRY="$pkgdir/usr/share/applications/saturn-studio.desktop"
mkdir -p "$V64SATURN/res"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/lib"
mkdir -p "$pkgdir/usr/share/icons"
mkdir -p "$pkgdir/usr/share/applications"
cp "$srcdir/saturn-studio-studio/build/us_pc/saturn.us.f3dex2e" "$pkgdir/usr/bin/saturn-studio"
cp "$srcdir/saturn-studio-studio/build/us_pc/libdiscord_game_sdk.so" "$pkgdir/usr/lib"
cp "$srcdir/saturn-studio-studio/res/saturn-linuxicon.png" "$pkgdir/usr/share/icons/sm64-saturn.png"
cp -r "$srcdir/saturn-studio-studio/dynos" $V64SATURN
cp -r "$srcdir/saturn-studio-studio/fonts" $V64SATURN
chmod +x "$pkgdir/usr/bin/saturn-studio"
echo "[Desktop Entry]" >> $DESKTOP_ENTRY
echo "Name=Saturn Studio" >> $DESKTOP_ENTRY
echo "Comment=A cross-platform SFM-like video editor for Super Mario 64. Fork of Saturn by sm64rise." >> $DESKTOP_ENTRY
echo "Exec=saturn-studio" >> $DESKTOP_ENTRY
echo "Icon=sm64-saturn" >> $DESKTOP_ENTRY
echo "Path=$V64SATURN" >> $DESKTOP_ENTRY
echo "Terminal=false" >> $DESKTOP_ENTRY
echo "Categories=Game" >> $DESKTOP_ENTRY
}
|