summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"