Initial commit

This commit is contained in:
link2xt 2026-02-18 15:58:16 +00:00
commit 64d9fba249
5 changed files with 93 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -0,0 +1,14 @@
pkgbase = liboprf
pkgdesc = library providing OPRF and Threshold OPRF based on libsodium
pkgver = 0.9.3
pkgrel = 1
arch = x86_64
license = LGPL-3.0-or-later
depends = libsodium
source = liboprf-0.9.3.tar.gz::https://github.com/stef/liboprf/archive/refs/tags/v0.9.3.tar.gz
source = https://github.com/stef/liboprf/releases/download/v0.9.3/liboprf-0.9.3.tar.gz.asc
validpgpkeys = AABDE16CB6AF5CD10A28DFF2970DEB6694D50988
b2sums = 628a6e9549ba688ade57b8b07a9cb488a3e750aabef0619141f16f98c7bf99d56185e0f9daa3b11ca55407e1549af9c932940518aa3dc6eb6020334aefcfdb25
b2sums = SKIP
pkgname = liboprf

12
LICENSE Normal file
View file

@ -0,0 +1,12 @@
Copyright Arch Linux Contributors
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

1
LICENSES/0BSD.txt Symbolic link
View file

@ -0,0 +1 @@
../LICENSE

41
PKGBUILD Normal file
View file

@ -0,0 +1,41 @@
# Maintainer: link2xt <link2xt@testrun.org>
pkgname=liboprf
pkgver=0.9.3
pkgrel=1
epoch=
pkgdesc="library providing OPRF and Threshold OPRF based on libsodium"
arch=(x86_64)
url=""
license=('LGPL-3.0-or-later')
groups=()
depends=('libsodium')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stef/$pkgname/archive/refs/tags/v$pkgver.tar.gz"
"https://github.com/stef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.asc")
noextract=()
b2sums=('628a6e9549ba688ade57b8b07a9cb488a3e750aabef0619141f16f98c7bf99d56185e0f9daa3b11ca55407e1549af9c932940518aa3dc6eb6020334aefcfdb25'
'SKIP')
validpgpkeys=('AABDE16CB6AF5CD10A28DFF2970DEB6694D50988')
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"/src
PREFIX=/usr make
}
package() {
cd "$pkgname-$pkgver"/src
make DESTDIR="$pkgdir/" install
}

25
REUSE.toml Normal file
View file

@ -0,0 +1,25 @@
version = 1
[[annotations]]
path = [
"PKGBUILD",
"README.md",
"keys/**",
".SRCINFO",
".gitignore",
".nvchecker.toml",
"*.install",
"*.sysusers",
"*sysusers.conf",
"*.tmpfiles",
"*tmpfiles.conf",
"*.logrotate",
"*.pam",
"*.service",
"*.socket",
"*.timer",
"*.desktop",
"*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"