Created
June 9, 2020 06:59
-
-
Save alanorth/090979a0e408c05a9befde864b58bb29 to your computer and use it in GitHub Desktop.
OTPClient 2.3.1 PKGBUILD for Arch Linux AUR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Stephen Gregoratto <dev@sgregoratto.me> | |
pkgname=otpclient | |
_pkgname=OTPClient | |
pkgver=2.3.1 | |
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.22' 'jansson' 'libzip' 'libcotp' 'zbar>=0.20') | |
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=('691dfa024ffccf97233f313b3739092c1ae390edb8366f89b96054a98e512ea6' | |
'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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment