diff options
author | Stefan Majewsky | 2015-12-30 17:32:57 +0100 |
---|---|---|
committer | Stefan Majewsky | 2015-12-30 17:32:57 +0100 |
commit | 5fec30dcd6061c59b92ddfe2c1d0bbd71b90edcb (patch) | |
tree | 971e4b1ce4779b7f519d7bb48b1134633261e5b4 | |
download | aur-5fec30dcd6061c59b92ddfe2c1d0bbd71b90edcb.tar.gz |
v1.0-1
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | holo-ssh-keys.install | 11 |
4 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..83f60c4ca8aa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Wed Dec 30 16:27:55 UTC 2015 +pkgbase = holo-ssh-keys + pkgdesc = Holo plugin for provisioning SSH public keys to $HOME/.ssh/authorized_keys + pkgver = 1.0 + pkgrel = 1 + url = http://holocm.org + install = holo-ssh-keys.install + arch = any + license = GPL3 + makedepends = go + makedepends = perl + depends = openssh + depends = HOLO_API_VERSION=2 + source = https://github.com/holocm/holo-ssh-keys/archive/v1.0.tar.gz + md5sums = 1fd333196b7467ac0e40a3da8981993c + +pkgname = holo-ssh-keys + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ec5519a07666 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pkg.tar.xz +*.tar.gz +*.sig +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..abc77fb60508 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname='holo-ssh-keys' +pkgver=1.0 +pkgrel=1 +pkgdesc='Holo plugin for provisioning SSH public keys to $HOME/.ssh/authorized_keys' +arch=('any') +url='http://holocm.org' +license=('GPL3') +depends=( + 'openssh' + 'HOLO_API_VERSION=2' +) +makedepends=('go' 'perl') +install='holo-ssh-keys.install' +source=("https://github.com/holocm/${pkgname}/archive/v${pkgver}.tar.gz") +md5sums=('1fd333196b7467ac0e40a3da8981993c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make install DESTDIR="${pkgdir}" +} diff --git a/holo-ssh-keys.install b/holo-ssh-keys.install new file mode 100644 index 000000000000..ae793cd68217 --- /dev/null +++ b/holo-ssh-keys.install @@ -0,0 +1,11 @@ +post_install() { + holo apply +} +post_upgrade() { + holo apply +} +post_remove() { + mkdir /usr/share/holo/ssh-keys + holo apply + rmdir /usr/share/holo/ssh-keys +} |