# Maintainer: Levai, Daniel pkgname='kc' pkgver=2.5.3 pkgrel=1 pkgdesc="console-based password manager - basic functionality with readline support" arch=('any') url="https://github.com/levaidaniel/kc" license=('BSD-2-Clause') conflicts=('kc-full') depends=('libbsd>=0.2.0' 'libxml2>=2.6.0' 'openssl>=1.1.1' 'readline' ) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/levaidaniel/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('593db34bf53ad9197c3ac1ffc3742dfc03a784862f0a5fadeda6b6d2ad287539') build() { cd "${pkgname}-${pkgver}" make -f Makefile.linux } package() { cd "${pkgname}-${pkgver}" make -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}/" }