New package: libcotp-1.2.1

This commit is contained in:
maxice8 2018-10-21 12:50:48 -03:00 committed by maxice8
parent c9e6693689
commit 59231be38f
3 changed files with 25 additions and 0 deletions

View File

@ -3315,3 +3315,4 @@ libpantheon-files-core.so.0 libio.elementary.files-4.0_1
libpantheon-files-widgets.so.0 libio.elementary.files-4.0_1
libwlroots.so.0 wlroots-0.1_1
libbaseencode.so.1 libbaseencode-1.0.9_1
libcotp.so.12 libcotp-1.2.1_1

1
srcpkgs/libcotp-devel Symbolic link
View File

@ -0,0 +1 @@
libcotp

23
srcpkgs/libcotp/template Normal file
View File

@ -0,0 +1,23 @@
# 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"
}
}