summaryrefslogtreecommitdiff
path: root/pkixssh/PKGBUILD
blob: e2e80d1f87228ef419871a96970effb7b19bff99 (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
41
42
43
44
45
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=pkixssh
pkgver=13.2.3
pkgrel=4
pkgdesc='secure shell with X.509 v3 certificate support'
arch=('armv6h' 'armv7h' 'aarch64' 'i486' 'i686' 'pentium4' 'x86_64')
url='https://roumenpetrov.info/secsh/index.html'
license=('BSD')
groups=()
_pinned_dependencies=(
  'glibc>=2.33'
  'libcrypt.so=2'
  'openssl=1.1.1.n'
  'zlib=1:1.2.11'
)
depends=(openssl zlib ldns "${_pinned_dependencies[@]}")
makedepends=()
backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config')
source=(
  "https://roumenpetrov.info/secsh/src/${pkgname}-${pkgver}.tar."{xz,sig}
)
sha512sums=('e42892e95b5664bf20fa2f95030096c56a23eaca597e1af4d5dced7b08724169957dadeae3cc1b244945ba27540186733cba720713bd6b389656d400d808367c'
            'SKIP')
validpgpkeys=('2224039FFEFDA430C20F81ADB3257B101AC77A5E')

build() {

    cd "${pkgname}-${pkgver}"
    ./configure \
      --prefix=/usr \
      --bindir=/usr/bin \
      --sbindir=/usr/bin \
      --libexecdir=/usr/bin \
      --sysconfdir=/etc/ssh
    make

}

package() {

    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    rmdir "${pkgdir}/var"{/empty,/run,}

}