From 59231be38f4be86a5fe3c2d6fc231575f261fc10 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 21 Oct 2018 12:50:48 -0300 Subject: [PATCH] New package: libcotp-1.2.1 --- common/shlibs | 1 + srcpkgs/libcotp-devel | 1 + srcpkgs/libcotp/template | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 120000 srcpkgs/libcotp-devel create mode 100644 srcpkgs/libcotp/template diff --git a/common/shlibs b/common/shlibs index 6e511fb3d5..82f5069fd1 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libcotp-devel b/srcpkgs/libcotp-devel new file mode 120000 index 0000000000..80747d5981 --- /dev/null +++ b/srcpkgs/libcotp-devel @@ -0,0 +1 @@ +libcotp \ No newline at end of file diff --git a/srcpkgs/libcotp/template b/srcpkgs/libcotp/template new file mode 100644 index 0000000000..4e2745968f --- /dev/null +++ b/srcpkgs/libcotp/template @@ -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 " +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" + } +}