diff options
author | Jesin | 2017-11-07 15:01:05 -0500 |
---|---|---|
committer | Jesin | 2017-11-07 15:01:05 -0500 |
commit | 0ecb6741320594ff9c69e89e71d019dbebda07e0 (patch) | |
tree | 587a19def4218f96f33cb7d831d6658a9a8a493a | |
parent | 413f2ea51a817a062e63c2998a0b0b0c885e16e9 (diff) | |
download | aur-0ecb6741320594ff9c69e89e71d019dbebda07e0.tar.gz |
define check()
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 10 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = libb2 pkgdesc = C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions - pkgver = 0.0.15.g9a0d006 - pkgrel = 2 + pkgver = 0.0.17.g0d7015f + pkgrel = 1 url = https://blake2.net/ arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Jesin <Jesin00@gmail.com> pkgname=libb2 -pkgver=0.0.15.g9a0d006 -pkgrel=2 +pkgver=0.0.17.g0d7015f +pkgrel=1 arch=(i686 x86_64) pkgdesc='C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions' url=https://blake2.net/ @@ -18,7 +18,7 @@ prepare() { cd "$pkgname" # If there are no tags, tag the initial commit so pkgver() can work. [ -n "$(git tag)" ] || git tag 0.0 "$(git rev-list --max-parents=0 --reverse HEAD | head -n1)" - autoreconf -fiv + autoreconf -fisv } pkgver() { @@ -35,6 +35,11 @@ build() { make } +check() { + cd "$pkgname" + make check +} + package() { cd "$pkgname" make "DESTDIR=$pkgdir" install |