commit 0ed12f7536c219e44436e90289263cfbb4520a9c Author: horstderheld Date: Sat Apr 2 23:09:16 2022 +0200 initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..44abbc9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = render96ex-git + pkgdesc = Super Mario 64 PC Port (sm64ex) fork including Render96 Textures and Models + pkgver = 3.2.r754.8e2eea10 + pkgrel = 1 + url = https://github.com/Render96/Render96ex + arch = x86_64 + license = Unlicense + makedepends = git + makedepends = python + makedepends = audiofile + depends = sdl2 + depends = hicolor-icon-theme + provides = render96ex + source = git+https://github.com/Render96/Render96ex.git#branch=alpha + source = git+https://github.com/pokeheadroom/RENDER96-HD-TEXTURE-PACK.git + source = https://github.com/Render96/ModelPack/releases/download/3.2/Render96_DynOs_v3.2.7z + source = render96ex.sh + source = render96ex.desktop + source = render96ex.png + source = file://baserom.us.z64 + sha256sums = SKIP + sha256sums = SKIP + sha256sums = d95ef25a694b1cd2e82785418aebf2aa8fd3a6b394b350fe51971474d19664b2 + sha256sums = 0198c73bec5d904d58a8dd4ca608cc41a00526d1bb2bb3a3fdf68544ca43d500 + sha256sums = d717c1dd41169185aed3de19fefd93eff7be12d1f38114b12c6c3c44e3e94e73 + sha256sums = 51dadd209c0ba63c3abbf42c7c9abfd5335268cd614d503221524853f05f9191 + +pkgname = render96ex-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..61a4610 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: lod (aur@cyber-anlage.de) + +# Please put a legally purchased ROM of Super Mario 64 into the same directory with the name 'baserom.us.z64'. +# The ROM is checksummed to ensure that it is the correct version. + +pkgname=render96ex-git +pkgver=3.2.r754.8e2eea10 +pkgrel=1 +pkgdesc='Super Mario 64 PC Port (sm64ex) fork including Render96 Textures and Models' +arch=('x86_64') +url='https://github.com/Render96/Render96ex' +license=('Unlicense') +makedepends=('git' 'python' 'audiofile') +depends=('sdl2' 'hicolor-icon-theme') +provides=(${pkgname%%-*}) + +_gitname=${pkgname%%-*} && _gitname=${_gitname^} + +source=(git+https://github.com/Render96/Render96ex.git#branch=alpha + git+https://github.com/pokeheadroom/RENDER96-HD-TEXTURE-PACK.git + https://github.com/Render96/ModelPack/releases/download/${pkgver%%.r*}/Render96_DynOs_v${pkgver%%.r*}.7z + ${pkgname%%-*}.sh + ${pkgname%%-*}.desktop + ${pkgname%%-*}.png + file://baserom.us.z64) + +sha256sums=('SKIP' + 'SKIP' + 'd95ef25a694b1cd2e82785418aebf2aa8fd3a6b394b350fe51971474d19664b2' + '0198c73bec5d904d58a8dd4ca608cc41a00526d1bb2bb3a3fdf68544ca43d500' + 'd717c1dd41169185aed3de19fefd93eff7be12d1f38114b12c6c3c44e3e94e73' + '51dadd209c0ba63c3abbf42c7c9abfd5335268cd614d503221524853f05f9191') + +pkgver() { + cd $srcdir/$_gitname + printf "${pkgver%%.r*}.r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD) +} + +prepare() { + cd $srcdir/$_gitname + cp ../baserom.us.z64 ./ +} + +build() { + cd $srcdir/$_gitname + make VERSION=us EXTERNAL_DATA=1 TEXTURE_FIX=1 $MAKEFLAGS +} + +package() { + install -Dm755 ${pkgname%%-*}.sh $pkgdir/usr/bin/${pkgname%%-*} + install -Dm644 $srcdir/${pkgname%%-*}.desktop $pkgdir/usr/share/applications/${pkgname%%-*}.desktop + install -Dm644 $srcdir/${pkgname%%-*}.png $pkgdir/usr/share/icons/hicolor/256x256/apps/${pkgname%%-*}.png + install -Dm755 $srcdir/$_gitname/build/us_pc/sm64.us.* $pkgdir/usr/share/${pkgname%%-*}/${pkgname%%-*} + cp -r --no-preserve=mode,ownership $srcdir/$_gitname/build/us_pc/res $pkgdir/usr/share/${pkgname%%-*}/ + cp -r --no-preserve=mode,ownership $srcdir/$_gitname/build/us_pc/dynos $pkgdir/usr/share/${pkgname%%-*}/ + cp -r --no-preserve=mode,ownership $srcdir/RENDER96-HD-TEXTURE-PACK/gfx/ $pkgdir/usr/share/${pkgname%%-*}/res + cp -r --no-preserve=mode,ownership $srcdir/Render96_DynOs_v${pkgver%%.r*}/ $pkgdir/usr/share/${pkgname%%-*}/dynos/packs +} diff --git a/render96ex.desktop b/render96ex.desktop new file mode 100755 index 0000000..ea77b42 --- /dev/null +++ b/render96ex.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=3.2 +Name=Super Mario 64 Render 96 +GenericName=Super Mario 64 Render 96 +Comment=Native Open Source Port of Super Mario 64 including Render 96 Mods +Exec=render96ex +Icon=render96ex +Terminal=false +Type=Application +Categories=Game;Retro;Emulator; diff --git a/render96ex.png b/render96ex.png new file mode 100644 index 0000000..81a02b2 Binary files /dev/null and b/render96ex.png differ diff --git a/render96ex.sh b/render96ex.sh new file mode 100644 index 0000000..92073ed --- /dev/null +++ b/render96ex.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +cd /usr/share/render96ex || exit +./render96ex