diff options
author | Ragnar Groot Koerkamp | 2021-05-19 19:11:23 +0200 |
---|---|---|
committer | Ragnar Groot Koerkamp | 2021-05-19 19:11:23 +0200 |
commit | 3091d0ce0bbfce1c1f3fec2a00fb07c9830cb8ed (patch) | |
tree | bb494f785229b63d0b0244e3bbfe5d09faacefac | |
parent | 6db69ab380e2954fa3bc8074f48ba467d5a7fece (diff) | |
download | aur-i3-focus-last-git.tar.gz |
Add extra changedir
And ignore files.
-rw-r--r-- | .gitignore | 4 | ||||
-rwxr-xr-x | PKGBUILD | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a811e5fb0f58 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.zst +i3-focus-last @@ -17,14 +17,16 @@ pkgver() { } build() { + cd "${_pkgname}" RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target - } check() { + cd "${_pkgname}" RUSTUP_TOOLCHAIN=stable cargo test --release --locked --target-dir=target } package() { + cd "${_pkgname}" install -Dm 755 target/release/${_pkgname} -t "${pkgdir}/usr/bin" } |