diff options
author | Seppia <seppia@seppia.net> | 2018-02-02 15:08:50 +0100 |
---|---|---|
committer | Seppia <seppia@seppia.net> | 2018-02-02 15:08:50 +0100 |
commit | e644303a8b3327119bd8aee65b186156a77969d5 (patch) | |
tree | 2b351260735d6015976367b9e2f6a9a8943bb3c4 /PKGBUILD | |
download | otbluh-e644303a8b3327119bd8aee65b186156a77969d5.tar.gz otbluh-e644303a8b3327119bd8aee65b186156a77969d5.tar.bz2 otbluh-e644303a8b3327119bd8aee65b186156a77969d5.zip |
Add first PKGBUILD and SRCINFO
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |