Commit 5dc1cc6c authored by Michał Polański's avatar Michał Polański Committed by Leo

testing/otpclient: new aport

Simple GTK+ client for managing TOTP and HOTP
https://github.com/paolostivanin/OTPClient
parent 88291e6e
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=otpclient
pkgver=2.4.2
pkgrel=0
pkgdesc="Simple GTK+ client for managing TOTP and HOTP"
url="https://github.com/paolostivanin/OTPClient"
license="GPL-3.0-or-later"
arch="all"
options="!check" # no test suite
makedepends="
cmake
libcotp-dev
libgcrypt-dev
libpng-dev
libzip-dev
jansson-dev
zbar-dev
gtk+3.0-dev
"
subpackages="$pkgname-doc"
source="https://github.com/paolostivanin/OTPClient/archive/v$pkgver/OTPClient-$pkgver.tar.gz"
builddir="$srcdir/OTPClient-$pkgver"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="6b1cc29833a7e138ff46db24861b756209718cd4f8a17ab992059f135c808b2ae7183c95011a9c396ae281d5ac5e482296fac31817f630608860426a98242fa0 OTPClient-2.4.2.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment