aboutsummaryrefslogtreecommitdiffstats
path: root/community/libb2/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-15 14:15:41 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-15 13:45:13 +0000
commit9d5561c32f2a484b0751473bf4e65339ea7af4b6 (patch)
treeb5f3c86b182805fb50ba31d456a6fda0d37dca55 /community/libb2/APKBUILD
parent17219ad5e5f0af522aa3ce04f09a70a82e1c149d (diff)
downloadaports-9d5561c32f2a484b0751473bf4e65339ea7af4b6.tar.gz
aports-9d5561c32f2a484b0751473bf4e65339ea7af4b6.tar.bz2
aports-9d5561c32f2a484b0751473bf4e65339ea7af4b6.tar.xz
community/libb2: move from testing
Diffstat (limited to 'community/libb2/APKBUILD')
-rw-r--r--community/libb2/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libb2/APKBUILD b/community/libb2/APKBUILD
new file mode 100644
index 0000000000..301906a8df
--- /dev/null
+++ b/community/libb2/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer:
+pkgname=libb2
+pkgver=0.98.1
+pkgrel=0
+pkgdesc="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp"
+url="https://blake2.net/"
+arch="all"
+license="CC0-1.0"
+subpackages="$pkgname-dev"
+source="https://github.com/BLAKE2/libb2/releases/download/v$pkgver/libb2-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e760972173bb9ff3562843882abbe9042af09da63f37a5706921381be2d64cc4d333aec65e1e676d5a45ace913417536a1dc188c90b394c2f7b9cae654dbb108 libb2-0.98.1.tar.gz"