void-packages/srcpkgs/libcotp/template
Đoàn Trần Công Danh 41cf2abbc6 libcotp: fix build flags
2021-04-03 10:13:06 +07:00

24 lines
702 B
Bash

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