summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-12-08 21:37:01 +0100
committerSeppia <nonso@insicuri.net>2016-12-08 21:37:01 +0100
commit4511e3d96b809d8205db440a7a284c3c42c33720 (patch)
tree9ddd5a119ff8fbb559f130c4c640545f7381c8e9 /PKGBUILD
downloadotbluh-git-4511e3d96b809d8205db440a7a284c3c42c33720.tar.gz
otbluh-git-4511e3d96b809d8205db440a7a284c3c42c33720.tar.bz2
otbluh-git-4511e3d96b809d8205db440a7a284c3c42c33720.zip
package submission
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..8ddccef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Your Name <seppia@seppio.fish>
+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
+}