void-packages/srcpkgs/libcotp/template

24 lines
674 B
Bash

# Template file for 'libcotp'
pkgname=libcotp
version=3.0.0
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=ff0b9ce208c4c6542a0f1e739cf31978fbf28848c573837c671a6cb7b56b2c12
libcotp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}