blob: 35cd057567ca407ddaeb5332e97f4d441656a96a (
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
29
30
31
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=otpclient
pkgver=1.4.1
pkgrel=1
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
respect-xdg.patch
"
builddir="$srcdir/OTPClient-$pkgver"
build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=ON
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="0bbd61ea272d2fa1558ec2dcad1b51acdbae9c9d520d73f7f31d4bc3d84946de69f96f1212507b48f3efab6561a2d850f8868e8932f022ed184e6aa06d43205d otpclient-1.4.1.tar.gz
5d00d4ed7645d0d4a8ef1528aea72f43e53bffc98d151e1cc1056e495f0f1a1c2c8cdadab4b7828c00402a7f952ddf43dcb105705b34481b2d6e19ce2e54a67a respect-xdg.patch"
|