summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2baf5765ed6023c94ccc1a407404a0835f3b02b2 (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
# Maintainer: Marcin Stragowski <marcin.stragowski@gmail.com>
pkgname=bsum
pkgver=latest
pkgrel=1
pkgdesc="blocksum - Simple file or block device - per block SHA512 sum calculator"
arch=('x86_64')
url="https://github.com/noderblade/blocksum"
license=('MIT')
depends=('openssl')
makedepends=('git' 'make' 'gcc') 
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/noderblade/blocksum")


build() {
  cd "$srcdir/blocksum"
	make
}

package() {
  cd "$srcdir/blocksum"
	install -Dm755 ./$pkgname "$pkgdir/usr/bin/$pkgname"
}

sha256sums=('SKIP')