2022-04-10 06:05:52 +00:00
|
|
|
pkgname='terminal-wipe-git'
|
2022-04-09 18:13:36 +00:00
|
|
|
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"
|
2022-04-10 06:05:52 +00:00
|
|
|
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
|
2022-04-09 18:13:36 +00:00
|
|
|
mv 'wipe/target/release/wipe' "$pkgdir/usr/bin"
|
2022-04-10 06:05:52 +00:00
|
|
|
mv 'wipe/LICENSE' "$pkgdir/usr/share/licenses/$pkgname"
|
2022-04-09 18:13:36 +00:00
|
|
|
}
|