Spiegel von
https://aur.archlinux.org/sulis-git.git
synchronisiert 2025-07-18 08:12:23 +00:00
Small improvments
- better description for the editor - forcing LTO for the build. This adds a few seconds to the build time, but some improvements in the runtime
Dieser Commit ist enthalten in:
Ursprung
3f8fba0c5c
Commit
d074948047
3 geänderte Dateien mit 8 neuen und 4 gelöschten Zeilen
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = sulis-git
|
pkgbase = sulis-git
|
||||||
pkgdesc = Turn based tactical RPG with several campaigns, written in Rust.
|
pkgdesc = Turn based tactical RPG with several campaigns, written in Rust.
|
||||||
pkgver = 1.0.0.20250112
|
pkgver = 1.0.0.20250112
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://www.sulisgame.com/
|
url = https://www.sulisgame.com/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL3
|
license = GPL3
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pkgname=sulis-git
|
pkgname=sulis-git
|
||||||
pkgver=1.0.0.20250112
|
pkgver=1.0.0.20250112
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Turn based tactical RPG with several campaigns, written in Rust.'
|
pkgdesc='Turn based tactical RPG with several campaigns, written in Rust.'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.sulisgame.com/'
|
url='https://www.sulisgame.com/'
|
||||||
|
@ -48,13 +48,13 @@ pkgver() {
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
gendesk -f -n --pkgname "sulis" --name "Sulis" --pkgdesc "${pkgdesc}s" --exec="/opt/sulis/sulis" --categories=Game --icon sulis --path=/opt/sulis
|
gendesk -f -n --pkgname "sulis" --name "Sulis" --pkgdesc "${pkgdesc}s" --exec="/opt/sulis/sulis" --categories=Game --icon sulis --path=/opt/sulis
|
||||||
gendesk -f -n --pkgname "sulis-editor" --name 'Sulis Editor' --pkgdesc "${pkgdesc}s" --exec="/opt/sulis/sulis-editor" --categories=Game --icon sulis --path=/opt/sulis
|
gendesk -f -n --pkgname "sulis-editor" --name 'Sulis Editor' --pkgdesc "Editor for sulis" --exec="/opt/sulis/sulis-editor" --categories=Game --icon sulis --path=/opt/sulis
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
_srcdir="$PWD"
|
_srcdir="$PWD"
|
||||||
cd "sulis"
|
cd "sulis"
|
||||||
RUSTUP_TOOLCHAIN=stable cargo build --release --workspace --locked --all-features --target-dir="${_srcdir}/target"
|
RUSTUP_TOOLCHAIN=stable cargo build --release --workspace --locked --all-features --target-dir="${_srcdir}/target" --config ../../overridden_config.toml
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
4
overridden_config.toml
Normale Datei
4
overridden_config.toml
Normale Datei
|
@ -0,0 +1,4 @@
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren