From df219bb87083778dd46d4843408b264b1784bf33 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Wed, 15 Jan 2020 00:06:05 -0500 Subject: [PATCH] Add pegh --- src/pegh/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/pegh/PKGBUILD diff --git a/src/pegh/PKGBUILD b/src/pegh/PKGBUILD new file mode 100644 index 0000000..440d1d5 --- /dev/null +++ b/src/pegh/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: moparisthebest + +pkgname=pegh +pkgver=0.9.4 +pkgrel=1 +pkgdesc="pegh is a file encryption tool using passwords with modern, standardized, and authenticated encryption." +url="https://github.com/moparisthebest/pegh" +depends=('openssl') +arch=('i686' 'x86_64' 'armv7h' 'armv6h') +license=('AGPL') +source=("$pkgname-$pkgver.tar.gz::https://github.com/moparisthebest/pegh/archive/v$pkgver.tar.gz" + "$pkgname-$pkgver.tar.gz.asc::https://github.com/moparisthebest/pegh/releases/download/v$pkgver/v$pkgver.tar.gz.asc" + ) +validpgpkeys=('81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA') # moparisthebest +sha256sums=('0fa27afc89984e581507d4c6f30be4bee35ecc59b399551e894bdc0f3dd976f7' + '8dce5119068e71fea03db8d0c19cc7665fcb5cc37a04d8f109c00387d1c2bc78' + ) + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 pegh "$pkgdir/usr/bin/pegh" + install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" +}