summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortuftedocelot2015-12-03 19:48:41 -0600
committertuftedocelot2015-12-03 19:48:41 -0600
commit628270285ca70ceb0dd6872257496ecb3345d2c0 (patch)
treebf2cd87dc71a7ce33105efe3d122b7223859ea38 /PKGBUILD
parent78c3df0ffea4fff1a550377b95da4024bbe37a6b (diff)
downloadaur-628270285ca70ceb0dd6872257496ecb3345d2c0.tar.gz
update deps and bring to current release 2.3.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 5 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9592a83e850..92273621e34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,19 @@
# Maintainer: tuftedocelot@fastmail.fm
_pkgname=yubioath-desktop
pkgname=yubico-${_pkgname}
-pkgver=2.1.1
+pkgver=2.3.0
pkgrel=1
pkgdesc="Crossplatform graphical user interface to generate one-time passwords."
arch=('i686' 'x86_64')
url="https://developers.yubico.com/yubioath-desktop/"
license=('GPL')
-depends=('python2' 'pcsclite' 'ccid')
-makedepends=('git' 'python2-pyside' 'python2-pyscard-svn' 'python2-pbkdf2' 'python2-setuptools')
-source="https://github.com/Yubico/yubioath-desktop/releases/download/yubioath-desktop-2.1.1/yubioath-desktop-2.1.1.tar.gz"
-sha256sums=('8d4243311d7cbd08970d81e38616f90b851fa73939bf7ffaa91fe5c2aa2025d5')
+depends=('python2' 'pcsclite' 'ccid' 'python2-pyside' 'python2-pyscard-svn' 'python2-pbkdf2' 'python2-setuptools' 'python2-crypto' 'yubikey-personalization')
+source="https://github.com/Yubico/yubioath-desktop/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.tar.gz"
+sha256sums=('df91f1592c069ead9d0ee4653aadd5d00fe5b93f0688e6e8ad3d7116a894b12e')
+conflicts=('yubico-yubioath-desktop-git')
package() {
mkdir -p ${pkgdir}/usr/bin
-
- cat >> "$pkgdir/usr/bin/yubicoauthenticator" <<EOF
-#!/bin/sh
-python2 /usr/lib/python2.7/site-packages/yubicoauthenticator/yubico_authenticator.py
-EOF
- chmod +x "$pkgdir/usr/bin/yubicoauthenticator"
-
-
- cat >> "$pkgdir/usr/bin/yubicoauthenticator-disable-systray" <<EOF
-#!/bin/sh
-python2 /usr/lib/python2.7/site-packages/yubicoauthenticator/yubico_authenticator.py --disable-systray
-EOF
- chmod +x "$pkgdir/usr/bin/yubicoauthenticator-disable-systray"
cd "${srcdir}/$_pkgname-${pkgver}"
python2 setup.py install --root=${pkgdir}