summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-19 14:12:44 -0800
committerzlg <zlg@zlg.space>2018-11-19 14:12:44 -0800
commit297a19dd74eda7acc3d3e40af1f21781cef3786f (patch)
tree8439d04c00e8c373bf3749ad8a7bae2fc23336f5 /user
parent3a06f7cc492260836cd9910e2509aec9f0ba3d54 (diff)
downloadpackages-297a19dd74eda7acc3d3e40af1f21781cef3786f.tar.gz
packages-297a19dd74eda7acc3d3e40af1f21781cef3786f.tar.bz2
packages-297a19dd74eda7acc3d3e40af1f21781cef3786f.tar.xz
packages-297a19dd74eda7acc3d3e40af1f21781cef3786f.zip
user/keychain: new package
Diffstat (limited to 'user')
-rw-r--r--user/keychain/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/keychain/APKBUILD b/user/keychain/APKBUILD
new file mode 100644
index 000000000..1975187f3
--- /dev/null
+++ b/user/keychain/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: zlg <zlg+adelie@zlg.space>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=keychain
+pkgver=2.8.5
+pkgrel=0
+pkgdesc="Agent manager for OpenSSH and GnuPG"
+url="https://funtoo.org/Keychain"
+arch="noarch"
+license="GPL-2.0-only"
+depends=""
+makedepends="perl"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/funtoo/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+}
+
+package() {
+ cd "$builddir"
+ install -Dm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "./${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+sha512sums="2b98a9937b058267150d62d4f95653c4bbab6117a0774ac266abf95020c41905412b1522a82abf71722f25f6af31ba3498f6d54622009498c845802bf2df6024 keychain-2.8.5.tar.gz"