mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 07:11:59 +01:00
39 lines
928 B
Plaintext
39 lines
928 B
Plaintext
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=otpclient
|
|
pkgver=2.5.1
|
|
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="
|
|
121c9b41ba4d658c7273da32d1be705cdeca88160794739959ee63aa53d7e3afcb40e48a2b048a0fdd20f089e2389d6da187be56191a62b6101a2d69abf5d180 OTPClient-2.5.1.tar.gz
|
|
"
|