From 4511e3d96b809d8205db440a7a284c3c42c33720 Mon Sep 17 00:00:00 2001 From: Seppia Date: Thu, 8 Dec 2016 21:37:01 +0100 Subject: package submission --- .SRCINFO | 21 +++++++++++++++++++++ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..93b2b1e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Thu Dec 8 20:35:05 UTC 2016 +pkgbase = otbluh-git + pkgdesc = simple one time pad implementation with key generating support + pkgver = r76.a0ae5aa + pkgrel = 1 + url = https://git.eigenlab.org/seppia/onetimebluh + arch = x86 + arch = x86_64 + arch = aarch64 + license = GPLv3 + makedepends = git + makedepends = openssl + depends = openssl + provides = otbluh + conflicts = otbluh + source = otbluh::git+https://git.eigenlab.org/seppia/onetimebluh + md5sums = SKIP + +pkgname = otbluh-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8ddccef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Your Name +pkgname=otbluh-git +pkgver=r76.a0ae5aa +pkgrel=1 +pkgdesc="simple one time pad implementation with key generating support" +arch=('x86' 'x86_64' 'aarch64') +url="https://git.eigenlab.org/seppia/onetimebluh" +license=('GPLv3') +groups=() +depends=('openssl') +makedepends=('git' 'openssl') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +install= +source=('otbluh::git+https://git.eigenlab.org/seppia/onetimebluh') +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + +printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + +} + +build() { + cd "$srcdir/${pkgname%-git}" + make all +} + +package() { + cd "$srcdir/${pkgname%-git}" + make DESTDIR="$pkgdir/" install +} -- cgit v1.2.3