# proton-ge - Proton with extra patches, for Steam
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=proton-ge
version=GE-Proton10-30
release=1
desc="Proton with extra patches, for Steam"
url="https://github.com/GloriousEggroll/proton-ge-custom"
license="LGPL-2.1-or-later"
depend="wine dxvk vkd3d-proton"
makedepend=""
source="https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton10-30/GE-Proton10-30.tar.gz"
sha256="SKIP"

# Repackaged upstream build. Arctic prefers to compile from source, but a few
# things ship only as binaries; those live here with the licence stated plainly.
options="!strip"

package() {
	cd "GE-Proton10-30"
	install -d "$pkgdir/opt/proton-ge"
	cp -a . "$pkgdir/opt/proton-ge/"
	install -d "$pkgdir/usr/bin"
	ln -sf "/opt/proton-ge/proton-ge" "$pkgdir/usr/bin/proton-ge"
}
