mirror of
https://github.com/ricoriedel/wipe.git
synced 2024-11-18 05:56:40 +00:00
Add PKGBUILD
This commit is contained in:
parent
4ff02a66fc
commit
c27f3728a3
26
dist/PKGBUILD
vendored
Normal file
26
dist/PKGBUILD
vendored
Normal file
@ -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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user