diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-10-30 22:20:50 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-10-30 22:23:30 +0300 |
| commit | 87baa54521aeb5ecb631458ce5e697013cf9d78a (patch) | |
| tree | 91efa3147a7f9f92b0c946f1fc7ef432a7796f70 /aur | |
| parent | 71152981a3c78d14e66990586ce81eb06e6c2371 (diff) | |
Some fixes and PKGBUILD created.
Diffstat (limited to 'aur')
| -rw-r--r-- | aur/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/aur/PKGBUILD b/aur/PKGBUILD new file mode 100644 index 0000000..2132b5e --- /dev/null +++ b/aur/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Borisov Alexey <arcanetmod@gmail.com> +pkgname=suicidekit +pkgver=0.1 +pkgrel=1 +pkgdesc="A utility to help you beautifully deal with your *NIX system. (break it). Now work in progress." +arch=('i686' 'x86_64' 'aarch64') +url="https://github.com/Nam4ik/suicidekit" +license=('BSD-2-Clause') +depends=('bash' 'rust' 'alsa-lib' 'gcc') +makedepends=('cargo') +source=('https://github.com/Nam4ik/syskill/archive/refs/tags/v1.tar.gz') +sha256sums=('SKIP') + +build() { + tar xvf "v1.tar.gz" + cd "syskill-1" + cargo build --release --locked +} + +package() { + install -Dm755 "syskill-1/target/release/suicidekit" "$pkgdir/usr/bin/suicidekit" + install -Dm644 "syskill-1/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + [ -f "syskill-1/README.md" ] && install -Dm644 "syskill-1/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md" +} |
