blob: 49a7a9b281d5a7df892763dcc225609f93c4a12a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: evaggelos balaskas <evaggelos . balaskas . gr>
# Maintainer: evaggelos balaskas <evaggelos . balaskas . gr>
pkgname=ssh-import-id
pkgver=5.11
pkgrel=1
pkgdesc="Import SSH public keys from Launchpad or other URLs"
url="https://launchpad.net/ssh-import-id"
arch=('x86_64')
license=('GPL3')
makedepends=('git' 'python' 'python-setuptools')
depends=('python-distro')
source=("${pkgname}::git+https://git.launchpad.net/ssh-import-id?signed#tag=${pkgver}")
validpgpkeys=('D98F377EB47CC6DD257A9A07E564B9C275BDD52E') # Robie Basak
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --tags
}
build() {
cd ${pkgname}
python setup.py build
}
package() {
cd ${pkgname}
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
install -Dm644 usr/share/man/man1/ssh-import-id.1 "${pkgdir}/usr/share/man/man1/ssh-import-id.1"
install -Dm644 etc/ssh/ssh_import_id "${pkgdir}/etc/ssh/ssh_import_id"
}
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
|