aboutsummaryrefslogblamecommitdiffstats
path: root/libhashsum/PKGBUILD
blob: 50322038f981312f31661b1a2fc87d5bc78a4a66 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                                
          








                                                               
                                                                             














                                            
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=libhashsum
pkgver=1.1
pkgrel=1
pkgdesc="Library for calculating the cryptographic hashes"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/libhashsum"
license=('custom:ISC')
depends=(libsha1 libsha2 'libkeccak>=1.3' 'libblake>=3.0')
checkdepends=()
makedepends=()
source=(libhashsum-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(449a05fc1d4e5b2de313f865dadd2612e76c2a188452e2323a7758cc20dcf1f7)

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

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

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