[arch-commits] Commit in yubioath-desktop/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Thu Oct 10 15:09:33 UTC 2019


    Date: Thursday, October 10, 2019 @ 15:09:33
  Author: ffy00
Revision: 514468

archrelease: copy trunk to community-x86_64

Added:
  yubioath-desktop/repos/community-x86_64/
  yubioath-desktop/repos/community-x86_64/PKGBUILD
    (from rev 514467, yubioath-desktop/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: yubioath-desktop/repos/community-x86_64/PKGBUILD (from rev 514467, yubioath-desktop/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-10-10 15:09:33 UTC (rev 514468)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=yubioath-desktop
+pkgdesc='Yubico Authenticator for Desktop'
+pkgver=5.0.0
+pkgrel=1
+arch=('x86_64')
+url='https://github.com/Yubico/yubioath-desktop'
+license=('BSD2' 'custom')
+depends=('qt5-base' 'qt5-declarative' 'qt5-quickcontrols2'
+         'python-pyotherside')
+makedepends=('python')
+source=("$url/archive/$pkgname-$pkgver.tar.gz")
+sha512sums=('10d1e0daf374b825ca8db3facbf7007815ebc411c24e1d9e1bbb3353d8e87fac4f6be44769c823c8ab11e2178dca3db39c639dc703d7726f91dc7019c2b4f142')
+
+build() {
+  cd $pkgname-$pkgname-$pkgver
+
+  qmake . \
+    PREFIX='/usr' \
+    QMAKE_CFLAGS_RELEASE="$CFLAGS" \
+    QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS"
+
+  make
+}
+
+package() {
+    cd $pkgname-$pkgname-$pkgver
+
+    make INSTALL_ROOT="$pkgdir" install
+
+    install -Dm 644 debian/copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+    install -Dm 644 images/yubioath at 2x.png "$pkgdir"/usr/share/licenses/$pkgname/yubioauth.png
+    install -Dm 755 resources/yubioath-desktop.desktop "$pkgdir"/usr/share/applications/yubioath-desktop.desktop
+}
+



More information about the arch-commits mailing list