24 lines
689 B
Bash
24 lines
689 B
Bash
|
# Template file for 'libcotp'
|
||
|
pkgname=libcotp
|
||
|
version=1.2.1
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
hostmakedepends="pkg-config"
|
||
|
makedepends="libbaseencode-devel libgcrypt-devel"
|
||
|
short_desc="Library for generating TOTP and HOTP"
|
||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||
|
license="Apache-2.0"
|
||
|
homepage="https://github.com/paolostivanin/libcotp"
|
||
|
distfiles="https://github.com/paolostivanin/libcotp/archive/v${version}.tar.gz"
|
||
|
checksum=52ea9d876d8465aad666bdb38a59d85f183a0e8d2aa14b14d07e4e6bc471648e
|
||
|
|
||
|
libcotp-devel_package() {
|
||
|
depends="libcotp-${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|