diff --git a/packagelist b/packagelist index 55a36cdd06..95650193ae 100644 --- a/packagelist +++ b/packagelist @@ -187,6 +187,7 @@ gnome-tweaks go-bin go-task-deb godot-bin +godot-mono-bin goldberg-emulator-git gomuks-deb goneovim-bin diff --git a/packages/godot-mono-bin/.SRCINFO b/packages/godot-mono-bin/.SRCINFO new file mode 100644 index 0000000000..21c1f4017e --- /dev/null +++ b/packages/godot-mono-bin/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = godot-mono-bin + gives = godot-mono + pkgver = 4.3 + pkgdesc = Multi-platform 2D and 3D game engine + url = https://godotengine.org/ + arch = amd64 + arch = arm64 + conflicts = godot-bin + conflicts = godot-git + conflicts = godot-mono-git + license = MIT + maintainer = villamorrd + repology = project: godot + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.desktop + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.xml + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/icon.svg + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/godot.6 + source = desktop.patch + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + source_amd64 = @godot-mono::https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_mono_linux_x86_64.zip + sha256sums_amd64 = ecdf3cd5a6004a6568c199581d58ba685a9905926e51677906b76fbdd9cad351 + source_arm64 = @godot-mono::https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.arm64.zip + sha256sums_arm64 = 1ae242eb7dc30c281efef3f8a518580c9c997eb494a0b978d9504206a3f890c4 + +pkgname = godot-mono-bin diff --git a/packages/godot-mono-bin/desktop.patch b/packages/godot-mono-bin/desktop.patch new file mode 100644 index 0000000000..9449641425 --- /dev/null +++ b/packages/godot-mono-bin/desktop.patch @@ -0,0 +1,13 @@ +diff --git a/org.godotengine.Godot.desktop b/org.godotengine.Godot.desktop +index 6483f51..bef57a1 100644 +--- a/org.godotengine.Godot.desktop ++++ b/org.godotengine.Godot.desktop +@@ -14,7 +14,7 @@ Comment[nl]=Multi-platform 2D- en 3D-game-engine met een veelzijdige editor + Comment[ru]=Кроссплатформенный движок с многофункциональным редактором для 2D- и 3D-игр + Comment[uk]=Багатофункціональний кросплатформний рушій для створення 2D та 3D ігор + Comment[zh_CN]=多平台 2D 和 3D 游戏引擎,带有功能丰富的编辑器 +-Exec=godot %f ++Exec=godot-mono %f + Icon=godot + Terminal=false + PrefersNonDefaultGPU=true diff --git a/packages/godot-mono-bin/godot-mono-bin.pacscript b/packages/godot-mono-bin/godot-mono-bin.pacscript new file mode 100644 index 0000000000..08a75a4715 --- /dev/null +++ b/packages/godot-mono-bin/godot-mono-bin.pacscript @@ -0,0 +1,52 @@ +pkgname="godot-mono-bin" +repology=("project: godot") +arch=('amd64' 'arm64') +pkgver="4.3" +url='https://godotengine.org/' +source=( + "https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.desktop" + "https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.xml" + "https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/icon.svg" + "https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/godot.6" + "desktop.patch" +) +source_amd64=("@godot-mono::https://github.com/godotengine/godot/releases/download/${pkgver}-stable/Godot_v${pkgver}-stable_mono_linux_x86_64.zip") +source_arm64=("@godot-mono::https://github.com/godotengine/godot/releases/download/${pkgver}-stable/Godot_v${pkgver}-stable_linux.arm64.zip") +sha256sums=( + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' +) +sha256sums_amd64=("ecdf3cd5a6004a6568c199581d58ba685a9905926e51677906b76fbdd9cad351") +sha256sums_arm64=("1ae242eb7dc30c281efef3f8a518580c9c997eb494a0b978d9504206a3f890c4") +conflicts=("godot-bin" "godot-git" "godot-mono-git") +gives="godot-mono" +pkgdesc="Multi-platform 2D and 3D game engine" +maintainer=("villamorrd ") +license=('MIT') + +prepare() { + mkdir -p "${pkgdir}/opt/${gives}" + mkdir -p "${pkgdir}/usr/bin" + + patch org.godotengine.Godot.desktop desktop.patch +} + +package() { + cd "${gives}" + + # Rename the binary + for bin in Godot_*; do + mv "${bin}" "${pkgdir}/opt/${gives}/${gives}" + done + + mv GodotSharp "${pkgdir}/opt/${gives}" + + ln -sf "/opt/${gives}/${gives}" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "${srcdir}/icon.svg" "${pkgdir}/usr/share/pixmaps/${gives}.svg" + install -Dm644 "${srcdir}/org.godotengine.Godot.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" + install -Dm644 "${srcdir}/org.godotengine.Godot.xml" "${pkgdir}/usr/share/mime/packages/${gives}.xml" + install -Dm644 "${srcdir}/godot.6" "${pkgdir}/usr/share/man/man6/${gives}.6" +} diff --git a/srclist b/srclist index 161c4e62d6..96501a76b9 100644 --- a/srclist +++ b/srclist @@ -3661,6 +3661,36 @@ pkgbase = godot-bin pkgname = godot-bin --- +pkgbase = godot-mono-bin + gives = godot-mono + pkgver = 4.3 + pkgdesc = Multi-platform 2D and 3D game engine + url = https://godotengine.org/ + arch = amd64 + arch = arm64 + conflicts = godot-bin + conflicts = godot-git + conflicts = godot-mono-git + license = MIT + maintainer = villamorrd + repology = project: godot + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.desktop + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.xml + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/icon.svg + source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/godot.6 + source = desktop.patch + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + source_amd64 = @godot-mono::https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_mono_linux_x86_64.zip + sha256sums_amd64 = ecdf3cd5a6004a6568c199581d58ba685a9905926e51677906b76fbdd9cad351 + source_arm64 = @godot-mono::https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.arm64.zip + sha256sums_arm64 = 1ae242eb7dc30c281efef3f8a518580c9c997eb494a0b978d9504206a3f890c4 + +pkgname = godot-mono-bin +--- pkgbase = goldberg-emulator-git gives = goldberg-emulator pkgver = 0.2.5