blob: f9ea51e1466253886835bfc24ef89e2aae41162a (
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
32
33
34
|
# Maintainer: Paolo Stivanin <info@paolostivanin.com>
# Contributor: Daniil Kovalev <daniil@kovalev.website>
pkgname=otpclient
_pkgname=OTPClient
pkgver=4.0.2
pkgrel=1
pkgdesc="A simple GTK+ v3 TOTP/HOTP client"
url="https://github.com/paolostivanin/OTPClient"
license=('GPL3')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
depends=('gtk3>=3.24' 'jansson>=2.12' 'libcotp>=3.0.0' 'zbar>=0.20' 'protobuf>=3.6' 'protobuf-c>=1.3.0' 'qrencode>4.0.2')
makedepends=('cmake')
provides=(otpclient)
validpgpkeys=('060C6B7D3869F148C4C4ACD43C9BE9B64EC1EA64')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
"$pkgname-$pkgver.tar.gz.asc::$url/releases/download/v$pkgver/v$pkgver.tar.gz.asc")
sha256sums=('b5666983c30f775b2b95413b441c6e2c6ad98ed1dbe0d2973647a511af50f224'
'SKIP')
build() {
cd "$_pkgname-$pkgver"
mkdir build && cd build
cmake \
-S.. \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSHARE_INSTALL_PREFIX:PATH=/usr/share
cmake --build . --target all
}
package() {
cd "$_pkgname-$pkgver/build"
cmake --install . --prefix="$pkgdir/usr"
}
|