summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeppia <seppia@seppia.net>2018-02-02 15:08:50 +0100
committerSeppia <seppia@seppia.net>2018-02-02 15:08:50 +0100
commite644303a8b3327119bd8aee65b186156a77969d5 (patch)
tree2b351260735d6015976367b9e2f6a9a8943bb3c4
downloadotbluh-e644303a8b3327119bd8aee65b186156a77969d5.tar.gz
otbluh-e644303a8b3327119bd8aee65b186156a77969d5.tar.bz2
otbluh-e644303a8b3327119bd8aee65b186156a77969d5.zip
Add first PKGBUILD and SRCINFO
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD34
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..d79d373
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = otbluh
+ pkgdesc = Simple one time pad implementation with key generating support called onetimebluh due to its features
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://git.eigenlab.org/seppia/onetimebluh
+ arch = i686
+ arch = x86_64
+ arch = aarch64
+ license = GPLv3
+ depends = openssl
+ provides = otbluh
+ conflicts = otbluh,otbluh
+ noextract = archive.tar.gz
+ source = https://git.eigenlab.org/seppia/onetimebluh/repository/v0.1/archive.tar.gz
+ sha256sums = ebe244ec51b96df2b61ba7594819103dfce44f0171f87f8620b3dec92c06b265
+
+pkgname = otbluh
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..5e8e776
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Seppia <seppia@seppio.fish>
+pkgname=otbluh
+pkgver=0.1
+pkgrel=1
+pkgdesc="Simple one time pad implementation with key generating support called onetimebluh due to its features"
+arch=('i686' 'x86_64' 'aarch64')
+url="https://git.eigenlab.org/seppia/onetimebluh"
+license=('GPLv3')
+groups=()
+depends=('openssl')
+provides=("${pkgname}")
+conflicts=("${pkgname}","${pkgname%-git}")
+replaces=()
+backup=()
+options=()
+install=
+source=("https://git.eigenlab.org/seppia/onetimebluh/repository/v${pkgver}/archive.tar.gz")
+noextract=('archive.tar.gz')
+sha256sums=('ebe244ec51b96df2b61ba7594819103dfce44f0171f87f8620b3dec92c06b265')
+
+prepare() {
+ mkdir "${srcdir}/${pkgname}"
+ tar xf archive.tar.gz -C "${srcdir}/${pkgname}" --strip-components=1
+}
+
+build() {
+ cd "$srcdir/${pkgname}"
+ make all
+}
+
+package() {
+ cd "$srcdir/${pkgname}"
+ make DESTDIR="$pkgdir/" install
+}