# Contributor: Leo # Maintainer: Leo pkgname=otpclient pkgver=1.5.0 pkgrel=0 pkgdesc="Easy to use GTK+ OTP client" options="!check" # No testsuite url="https://github.com/paolostivanin/OTPClient" arch="all !aarch64" # due to zbar license="GPL-3.0-or-later" makedepends="gtk+3.0-dev glib-dev libgcrypt-dev libpng-dev libzip-dev zbar-dev jansson-dev libcotp-dev cmake" source="$pkgname-$pkgver.tar.gz::https://github.com/paolostivanin/OTPClient/archive/v${pkgver}.tar.gz " builddir="$srcdir/OTPClient-$pkgver" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { make DESTDIR="$pkgdir" install } sha512sums="e4e79e5b55290404e09100f12cb8bfb894aabe4fafc13621e4be673f2cd0e8385dbb4dab7f089a89364003b99d41c409efdef56b803610c7639b140fa4ee8497 otpclient-1.5.0.tar.gz"