diff options
author | Óscar García Amor | 2018-03-12 16:21:40 +0100 |
---|---|---|
committer | Óscar García Amor | 2018-03-12 16:21:40 +0100 |
commit | fab2b700eced0b355b5eea425bb0038d62bc9518 (patch) | |
tree | 809f8e2683964e2579edd7297853fc8a99b6214a | |
download | aur-fab2b700eced0b355b5eea425bb0038d62bc9518.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e4f15f6ffaae --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = lpcli + pkgdesc = C implementation of lesspass (version 2) using libcrypto + pkgver = 2018.01.29 + pkgrel = 1 + url = https://github.com/monolifed/lpcli + arch = any + license = Unlicense + depends = openssl + optdepends = xclip: to copy generated passwords to clipboard + source = https://github.com/monolifed/lpcli/archive/c8655b9fe30f3285095097e80b8c9312351ebd2e.tar.gz + sha256sums = 3e4339461932b08e3e7714c47554f488381f471bfab94da3175b67493ee8e870 + +pkgname = lpcli + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b8f666746fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me) + +_commit=c8655b9fe30f3285095097e80b8c9312351ebd2e +pkgname=lpcli +pkgver=2018.01.29 +pkgrel=1 +pkgdesc='C implementation of lesspass (version 2) using libcrypto' +arch=('any') +url='https://github.com/monolifed/lpcli' +license=('Unlicense') +depends=('openssl') +optdepends=('xclip: to copy generated passwords to clipboard') +source=("https://github.com/monolifed/${pkgname}/archive/${_commit}.tar.gz") +sha256sums=('3e4339461932b08e3e7714c47554f488381f471bfab94da3175b67493ee8e870') + +build() { + cd "${srcdir}/${pkgname}-${_commit}" + make -e USE_OSSL_DEV=1 +} + +package() { + cd "${srcdir}/${pkgname}-${_commit}" + # binary + install -Dm755 lpcli \ + "${pkgdir}/usr/bin/lpcli" + # license + install -Dm644 LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + # readme + install -Dm644 README.md \ + "${pkgdir}/usr/share/doc/${pkgname}/README.md" +} |