blob: fa3307b0d555b69f7fb5baa9e94afe38fda6c357 (
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
|
# Maintainer: Levai, Daniel <leva at ecentrum.hu>
pkgname='kc-full'
_pkgname='kc'
pkgver=2.5.3
pkgrel=1
pkgdesc="console-based password manager - YubiKey, scrypt, PCRE and readline support"
arch=('any')
url="https://github.com/levaidaniel/kc"
license=('BSD-2-Clause')
conflicts=('kc')
provides=('kc')
depends=('libbsd>=0.2.0'
'libxml2>=2.6.0'
'openssl>=1.1.1'
'yubikey-personalization>=1.20.0'
'yubico-c>=1.13'
'libscrypt>=1.14'
'pcre>=8.12'
'readline'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/levaidaniel/${_pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('593db34bf53ad9197c3ac1ffc3742dfc03a784862f0a5fadeda6b6d2ad287539')
build() {
cd "${_pkgname}-${pkgver}"
make HAVE_PCRE=y HAVE_LIBSCRYPT=y HAVE_YUBIKEY=y -f Makefile.linux
}
package() {
cd "${_pkgname}-${pkgver}"
make HAVE_PCRE=y HAVE_LIBSCRYPT=y HAVE_YUBIKEY=y -f Makefile.linux install DESTDIR="${pkgdir}/" PREFIX=/usr
install -dm755 "${pkgdir}/usr/share/doc/${_pkgname}"
install -m644 'Changelog.md' -t "${pkgdir}/usr/share/doc/${_pkgname}/"
install -m644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}/"
}
|