blob: ffdc78b878d5bcf336a7f9514b787e6c640dc87b (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Maintainer: Noa <coolreader18 at gmail dot com>
# Contributor: Emre Çetin <aur at ecetin dot dev>
# Please fetch this PKGBUILD manually and place a legally obtained ROM of Super Mario 64 in the
# same directory with the name `baserom.us.z64`. e.g.:
#
# git clone https://aur.archlinux.org/sm64plus-git.git
# # or with the `yay` AUR helper
# yay -G sm64plus-git
# cd sm64plus-git
# cp "/my_sm64_rom.z64" ./baserom.us.z64
# makepkg -si
#
# The ROM will be checksummed to ensure that it's the correct version.
# The sha1 should be: 9bef1128717f958171a4afac3ed78ee2bb4e86ce
pkgname=sm64plus-git
pkgver=3.1.0
pkgrel=1
pkgdesc="A standalone fork of the Super Mario 64 PC Port with quality of life improvements"
arch=(x86_64)
url="https://github.com/MorsGames/sm64plus"
license=('reverse-engineered and unlicensed')
groups=()
depends=(sdl2)
makedepends=(git python imagemagick)
provides=("sm64plus")
conflicts=("sm64plus")
replaces=()
backup=()
options=()
install=
source=('sm64plus::git+https://github.com/MorsGames/sm64plus' sm64plus-wrapper.sh sm64plus.desktop file://baserom.us.z64)
noextract=()
sha1sums=('SKIP'
'31ed4551ebf6db2baebc330168f493b8cca5c847'
'4e70d3f09e1c1bd06cac62994ac4da9fcf17706b'
'9bef1128717f958171a4afac3ed78ee2bb4e86ce')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd "$srcdir/sm64plus"
printf "%s" "$(cat VERSION | sed 's/^v//')"
}
build() {
cd "$srcdir/sm64plus"
cp "$srcdir/baserom.us.z64" "$srcdir/sm64plus"
SM64PLUS_BASEROM_us="$srcdir/baserom.us.z64" make -j "$(nproc)"
convert star.ico[1] star.png
}
package() {
cd "$srcdir/sm64plus"
mkdir -p "$pkgdir/opt/sm64plus"
cp -r build/us_pc/* -t "$pkgdir/opt/sm64plus"
install build/us_pc/sm64.us "$pkgdir/opt/sm64plus"
install -D "$srcdir/sm64plus-wrapper.sh" "$pkgdir/usr/bin/sm64plus"
install -D "$srcdir/sm64plus.desktop" -t "$pkgdir/usr/share/applications"
install -D star.png "$pkgdir/usr/share/pixmaps/sm64plus.png"
}
|