blob: 141e7425c9162b8861b65609c1daa74f67ee8798 (
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
|
#Maintainers: MrPicklePinosaur
pkgname=matsuba-git
pkgver=1.0
pkgrel=1
pkgdesc="lightweight japanese ime written in rust"
arch=('x86_64')
url="https://github.com/MrPicklePinosaur/matsuba"
license=('MIT' 'Apache')
groups=()
provides=(matsud matsucli)
depends=(xdotool xorg-xmodmap sqlite3)
makedepends=(cargo)
source=("git+$url")
md5sums=('SKIP')
package() {
cd matsuba
cargo build --release --target x86_64-unknown-linux-gnu
install -Dm755 target/x86_64-unknown-linux-gnu/release/matsud "${pkgdir}/usr/bin/matsud"
install -Dm755 target/x86_64-unknown-linux-gnu/release/matsucli "${pkgdir}/usr/bin/matsucli"
install -Dm644 matsuba_default.toml "${pkgdir}/usr/share/matsuba/matsuba_default.toml"
}
|