aboutsummaryrefslogtreecommitdiffstats
path: root/sha3sum/PKGBUILD
blob: 483fcfa5e466bdcb38430a726cd11f26ecaf5546 (plain) (blame)
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
28
29
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=sha3sum
pkgver=1.1
pkgrel=1
pkgdesc="Keccak-family checksum calculator, including SHA-3"
arch=(i686 x86_64)
url="https://github.com/maandree/sha3sum"
license=('ISC')
depends=(libkeccak)
makedepends=(libkeccak sed)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(71ecdd34b947f8060e43b78431cab4c9066549a2193499c5e12e7d2ec4af92be)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}