2023-10-29 20:53:27 -04:00

24 lines
674 B
Bash

# Template file for 'libcotp'
pkgname=libcotp
version=2.0.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libgcrypt-devel"
short_desc="Library for generating TOTP and HOTP"
maintainer="Emil Miler <em@0x45.cz>"
license="Apache-2.0"
homepage="https://github.com/paolostivanin/libcotp"
distfiles="https://github.com/paolostivanin/libcotp/archive/refs/tags/v${version}.tar.gz"
checksum=c5357af4b3f6b3c5ad91e7f6cc6866a6139d0f89e780a057be34b31d4620caec
libcotp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}