void-packages/srcpkgs/libcotp/template

24 lines
686 B
Bash

# Template file for 'libcotp'
pkgname=libcotp
version=1.2.4
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libbaseencode-devel libgcrypt-devel"
short_desc="Library for generating TOTP and HOTP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/paolostivanin/libcotp"
distfiles="https://github.com/paolostivanin/libcotp/archive/v${version}.tar.gz"
checksum=6a077c6a8e785a542262f207fbb760f3d7d03649787c10cb01ea38c280dda070
libcotp-devel_package() {
depends="libcotp-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}