upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / shy / trunk / PKGBUILD
blob22e1fe773a21132a2ab7d01e5242f8c3a0416cb6
1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
3 pkgname=shy
4 pkgver=0.1.10
5 pkgrel=3
6 pkgdesc="Bare-bones SSH launcher"
7 arch=('x86_64')
8 url="https://github.com/xvxx/shy"
9 license=('MIT')
10 depends=('gcc-libs')
11 makedepends=('rust')
12 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
13 sha256sums=('8a3a2ec41ea648274e741a6fd326210b3c1a0bd8a3b1f7471980740569de48d0')
15 build() {
16   cd "$pkgname-$pkgver"
17   cargo build --release --locked
20 check() {
21   cd "$pkgname-$pkgver"
22   cargo test --release --locked
25 package() {
26   cd "$pkgname-$pkgver"
27   install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
28   install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
29   install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
30   install -Dm 644 "doc/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
33 # vim: ts=2 sw=2 et: