summaryrefslogtreecommitdiff
path: root/pkixssh/PKGBUILD
blob: aa7232dfbd9806f6ac586af84d44b44751d0ad0b (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
46
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=pkixssh
pkgver=13.2.3
pkgrel=12
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'
  'libcrypto.so=3'
  'libcrypt.so=2'
  'libssl.so=3'
  'libz.so=1'
)
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,}

}