From 297a19dd74eda7acc3d3e40af1f21781cef3786f Mon Sep 17 00:00:00 2001 From: zlg Date: Mon, 19 Nov 2018 14:12:44 -0800 Subject: user/keychain: new package --- user/keychain/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/keychain/APKBUILD 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 +# Maintainer: zlg +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" -- cgit v1.2.3-70-g09d2 From cce38c77ccac12e75ca1829624a9e3d479a5641e Mon Sep 17 00:00:00 2001 From: zlg Date: Mon, 19 Nov 2018 14:24:29 -0800 Subject: user/keychain: remove tests oops --- user/keychain/APKBUILD | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/user/keychain/APKBUILD b/user/keychain/APKBUILD index 1975187f3..10c0ab99d 100644 --- a/user/keychain/APKBUILD +++ b/user/keychain/APKBUILD @@ -6,6 +6,7 @@ pkgrel=0 pkgdesc="Agent manager for OpenSSH and GnuPG" url="https://funtoo.org/Keychain" arch="noarch" +options="!check" # no tests license="GPL-2.0-only" depends="" makedepends="perl" @@ -19,10 +20,6 @@ build() { make } -check() { - cd "$builddir" -} - package() { cd "$builddir" install -Dm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}" -- cgit v1.2.3-70-g09d2