blob: 1715a3da5a2cc41fd457e6c06112db6222fdf2fd (
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
|
# Maintainer: poly000 <1348292515@qq.com>
pkgname=doukutsu-save-editor
_pkgname=doukutsu-save-editor-rs
pkgver=0.1.5
pkgrel=2
pkgdesc="Save Editor for Cave Story in rust with egui"
url="https://github.com/poly000/$_pkgname"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
_commit='35ec388'
source=("git+https://github.com/poly000/$_pkgname.git#commit=$_commit")
sha256sums=('SKIP')
license=('mit')
depends=(
'libxcb'
'libxkbcommon'
'gtk3'
'glib2'
'gcc-libs'
'glibc'
'at-spi2-core'
)
optdepends=(
'libspeechd: Screen Reader'
)
makedepends=('cargo' 'openssl')
build() {
cd "$srcdir/$_pkgname"
if [[ $CARCH != x86_64 ]]; then
export CARGO_PROFILE_RELEASE_LTO=off
fi
cargo build --locked --release --target-dir target
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 target/release/doukutsu-save-editor ${pkgdir}/usr/bin/doukutsu-save-editor
}
|