From c27f3728a314640bb4231f03679db8b86a013430 Mon Sep 17 00:00:00 2001 From: Nicolas <> Date: Sat, 9 Apr 2022 20:13:36 +0200 Subject: [PATCH] Add PKGBUILD --- dist/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dist/PKGBUILD diff --git a/dist/PKGBUILD b/dist/PKGBUILD new file mode 100644 index 0000000..de2458e --- /dev/null +++ b/dist/PKGBUILD @@ -0,0 +1,26 @@ +pkgname='terminal-wipe' +pkgver='0.1.0' +pkgrel='1' +pkgdesc='Wipe your terminal with a random animation.' +arch=('x86_64') +url='https://github.com/ricoriedel/wipe' +license=('MIT') +makedepends=('rust') +conflicts=('wipe') +source=('git+https://www.github.com/ricoriedel/wipe.git') +sha256sums=('SKIP') + +build() { + cd wipe + cargo build --release +} + +check() { + cd wipe + cargo test --release +} + +package() { + mkdir -p "$pkgdir/usr/bin" + mv 'wipe/target/release/wipe' "$pkgdir/usr/bin" +} \ No newline at end of file