archrelease: copy trunk to community-any
[ArchLinux/community.git] / mkinitcpio-tinyssh / repos / community-any / PKGBUILD
blobecc54b70a9110ee1411d91462e84a0774a6705a4
1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 pkgname=mkinitcpio-tinyssh
3 pkgver=0.0.4
4 pkgrel=4
5 pkgdesc="Archlinux mkinitcpio hook to install and enable the tinyssh daemon in early userspace"
6 arch=('any')
7 url="https://github.com/grazzolini/mkinitcpio-tinyssh"
8 license=('BSD')
9 depends=('mkinitcpio-busybox' 'psmisc' 'tinyssh')
10 optdepends=('mkinitcpio-netconf: Network interface configuration'
11             'tinyssh-convert: For converting OpenSSH keys')
12 conflicts=('mkinitcpio-dropbear')
13 source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v$pkgver.tar.gz"
14         "${pkgname}-${pkgver}.tar.gz.sig::$url/releases/download/v$pkgver/v$pkgver.tar.gz.sig")
15 changelog='ChangeLog'
16 sha512sums=('465d4beb3ddfb1c5372ff04486caa37b4fd2bd4dbb55a2231e47cc45eec76b112167385681e6dd4f3c3b6858537014c62c1d0776c4990559aebafff0b01ffdd9'
17             'SKIP')
18 validpgpkeys=('ED2A707C15D4A9E57535C1E7354AAB6377B981BC') # Giancarlo Razzolini <grazzolini@gmail.com>
20 package() {
21   install -Dm644 "$srcdir/$pkgname-$pkgver/tinyssh_hook"      "$pkgdir/usr/lib/initcpio/hooks/tinyssh"
22   install -Dm644 "$srcdir/$pkgname-$pkgver/tinyssh_install"   "$pkgdir/usr/lib/initcpio/install/tinyssh"
23   install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"