summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 89d6810f031201c21454434450731407558d2af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pkgname=wrdlist
pkgver=0.0.5
pkgrel=1
arch=('x86_64' 'aarh64')
pkgdesc="Lightweight Wordlists Generator"
url="https://github.com/6z7y56/wrdlist"
license=('MIT')
depends=('rust' 'make')
makedepends=('rust' 'make' 'git')
source=("git+https://github.com/6z7y56/wrdlist.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$pkgname"
    cargo build --release
}

package() {
    cd "$srcdir/$pkgname"
    install -Dm755 target/release/wrdlist "$pkgdir/usr/bin/wrdlist"
}

clean() {
    cd "$srcdir/$pkgname"
    cargo clean
}