summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da6d77d8f8b1a9f3962ffc9c6c8d12d79b49f543 (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
#Maintainer: VPeti1 (Vasko Peter) 

pkgname=gohash
pkgver=2
pkgrel=1
arch=('x86_64')

license=('GPL3')
pkgdesc="Calculate a files SHA256 sum with 1 command "

depends=('go' 'git' 'wget')

source=("https://github.com/VPeti1/CWAcces/raw/main/gohash.tar.gz")

sha256sums=('6bb1c7b061c35c10abcab2c3c8caa6193ca5707bf36be8a5afd7e4688cf1bfb6')

build() {
    cd "$srcdir"
    go build main.go
}

package() {
    cd "$srcdir"
    install -Dm755 main "$pkgdir/usr/bin/gohash"
}