summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef9bd4d5b3713d18ae322a62ef180f9833748bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=hashrat
pkgver=1.15
pkgrel=1
pkgdesc="Hashing tool. Includes recursive file hashing and other features."
arch=('any')
url="https://github.com/ColumPaget/Hashrat"
license=('GPL')
depends=()
source=("https://github.com/ColumPaget/Hashrat/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('833366b29da6ec8048d4f295bb3938588b5d098dcdabd96c18df9d3b8ad3ef44')

build() {
    cd "$srcdir/Hashrat-$pkgver"
    ./configure --enable-xattr --prefix "$pkgdir/usr"
    make
}

package() {
    mkdir -p "$pkgdir/usr"
    cd "$srcdir/Hashrat-$pkgver"
    make install
}