summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b5b5a4e1883dcbd737955ea3ade90130f2bed1e (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: Andy Weidenbaum <archbaum@gmail.com>

pkgname=stribogsum
pkgver=1.0
pkgrel=1
pkgdesc="The Stribog hash function, developed by the Federal Security Service (FSB) and InfoTeKS"
arch=('i686' 'x86_64')
makedepends=('make')
url="https://www.gostcrypt.org/download.php"
license=('GPL3')
source=(https://www.gostcrypt.org/download/$pkgver/linux/${pkgname^}.tar.gz)
sha256sums=('978e81f7de8d4d13c3e11fc2122261146f4b045adebfc20d5a41c200dd9c9bed')

build() {
  cd "$srcdir/${pkgname^}"

  msg2 'Building...'
  make
}

package() {
  cd "$srcdir/${pkgname^}"

  msg2 'Installing...'
  install -Dm 755 stribogsum "$pkgdir/usr/bin/stribogsum"
}