blob: 837397ae68bbb8212a6e6516937f1c8ebd196816 (
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
|
# Maintainer: Aru Sahni <aru@arusahni.net>
pkgname=autohide-tdrop-git
pkgver=1.02
pkgrel=2
epoch=
pkgdesc="100% pure rust implementation that can automatically hide terminals or other applications managed by tdrop when they lose focus"
arch=('x86_64')
url="https://github.com/I-Want-ToBelieve/autohide-tdrop/"
license=('MIT')
groups=()
depends=('git')
makedepends=('cargo')
checkdepends=()
optdepends=()
provides=('autohide-tdrop')
conflicts=('autohide-tdrop')
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname%}::git+http://github.com/I-Want-ToBelieve/autohide-tdrop.git")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
build() {
cd "$pkgname"
cargo build --release --locked
}
check() {
cd "$pkgname"
cargo test --locked
}
package() {
cd "$pkgname"
cargo install --root "${pkgdir}"/usr --path "${srcdir}/${pkgname}"
# Random metadata file created by cargo. See https://github.com/rust-lang/cargo/issues/6797
rm "${pkgdir}"/usr/.crates.toml "${pkgdir}"/usr/.crates2.json
}
|