Skip to content

Instantly share code, notes, and snippets.

@manveru manveru/PKGBUILD
Created Apr 15, 2013

Embed
What would you like to do?
ssh-installkeys PKGBUILD
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Michael Fellinger <mf@rubyists.com>
pkgname=ssh-installkeys
pkgver=1.7
pkgrel=1
pkgdesc="Set up password-less SSH logins"
arch=('any')
url="http://www.catb.org/~esr/$pkgname"
license=('BSD')
depends=('python2' 'openssh')
makedepends=('xmlto')
source=(http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('384af17101cac5bf2756b32354c4a309')
build() {
cd ${srcdir}/$pkgname-$pkgver
make ssh-installkeys.1
}
package() {
cd ${srcdir}/$pkgname-$pkgver
# Python2 fix
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $pkgname
install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ssh-installkeys/COPYING
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.