summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af3cb69552c59b3a5a300f89ac347170fe8eb47b (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
# Maintainer: KingofToasters <themanhimself at sgregoratto dot me>
pkgname=otpclient
_pkgname=OTPClient
pkgver=1.4.0
pkgrel=2
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.22' 'glib2>=2.50' 'jansson' 'libgcrypt' 'libzip' 'libcotp' 'libpng' 'zbar>=0.20')
makedepends=('cmake' 'git')
provides=(otpclient)
validpgpkeys=('060C6B7D3869F148C4C4ACD43C9BE9B64EC1EA64')
source=("$url/archive/v$pkgver.tar.gz" 
	"$url/releases/download/v$pkgver/v$pkgver.tar.gz.asc")
sha256sums=('f8f814653f3301efc86409530439f86652a6d500d6615eab28b60a219bbf3e17'
            'SKIP')

build() {
  cd "$_pkgname-$pkgver"
  mkdir build && cd build
  cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
  make
}

package() {
  cd "$_pkgname-$pkgver/build"
  make DESTDIR="$pkgdir/" install
}