-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPKGBUILD
More file actions
27 lines (22 loc) · 554 Bytes
/
PKGBUILD
File metadata and controls
27 lines (22 loc) · 554 Bytes
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
# Maintainer: shiro <shiro@usagi.io>
pkgname=map2
pkgver=1.0.6
pkgrel=1
pkgdesc="A scripting language that allows complex key remapping on Linux, written in Rust"
arch=('x86_64' 'i686')
license=('MIT')
depends=()
makedepends=(rustup)
build() {
cd ..
cargo build --release --locked --all-features --target-dir=target
}
check() {
cd ..
cargo test --release --locked --target-dir=target
}
package() {
cd ..
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
install -Dm644 docs/man/map2.1 "$pkgdir/usr/share/man/man1/map2.1"
}