aboutsummaryrefslogtreecommitdiffstats
path: root/testing/otpclient/APKBUILD
blob: d354d9252ebb42f87fd11589c435aa2187e5dbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=otpclient
pkgver=1.5.1
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="62bf7775ba163f10208685c5e3f987b58098685d4673138aec7be061bb025546f5515dca46e57d7461266df6a237da8b37f3f0dd8069b29f809a39471ca52240  otpclient-1.5.1.tar.gz"