[arch-commits] Commit in yubikey-touch-detector/repos/community-x86_64 (2 files)
Maxim Baz
maximbaz at archlinux.org
Thu Jul 25 08:40:23 UTC 2019
Date: Thursday, July 25, 2019 @ 08:40:22
Author: maximbaz
Revision: 492774
archrelease: copy trunk to community-x86_64
Added:
yubikey-touch-detector/repos/community-x86_64/PKGBUILD
(from rev 492773, yubikey-touch-detector/trunk/PKGBUILD)
Deleted:
yubikey-touch-detector/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++----------------------------------
1 file changed, 32 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-25 08:40:16 UTC (rev 492773)
+++ PKGBUILD 2019-07-25 08:40:22 UTC (rev 492774)
@@ -1,39 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=yubikey-touch-detector
-pkgver=1.2.0
-pkgrel=2
-pkgdesc='A tool that can detect when your YubiKey is waiting for a touch'
-arch=('x86_64')
-url='https://github.com/maximbaz/yubikey-touch-detector'
-license=('MIT')
-depends=('glibc')
-makedepends=('go-pie')
-optdepends=('gnupg: for GPG'
- 'openssh: for SSH'
- 'pam-u2f: for U2F')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/${pkgver}/${pkgname}-src.tar.gz"
- "${pkgname}-${pkgver}.tar.gz.sig::${url}/releases/download/${pkgver}/${pkgname}-src.tar.gz.sig")
-sha256sums=('9f15f435bcb898f001e159ef107861d5c41dbe6828f1b22734abc30444e7c207'
- 'SKIP')
-validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
-
-prepare() {
- mkdir -p "gopath/src/github.com/maximbaz"
- ln -rTsf "${pkgname}" "gopath/src/github.com/maximbaz/${pkgname}"
-}
-
-build() {
- export GOPATH="${srcdir}/gopath"
- cd "gopath/src/github.com/maximbaz/${pkgname}"
- make build
-}
-
-package() {
- cd "${pkgname}"
- install -Dm755 -t "${pkgdir}/usr/bin" "${pkgname}"
- install -Dm644 -t "${pkgdir}/usr/lib/systemd/user" "${pkgname}.service"
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
-}
-
-# vim:set ts=4 sw=4 et:
Copied: yubikey-touch-detector/repos/community-x86_64/PKGBUILD (from rev 492773, yubikey-touch-detector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-25 08:40:22 UTC (rev 492774)
@@ -0,0 +1,32 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=yubikey-touch-detector
+pkgver=1.3.0
+pkgrel=1
+pkgdesc='A tool that can detect when your YubiKey is waiting for a touch'
+arch=('x86_64')
+url='https://github.com/maximbaz/yubikey-touch-detector'
+license=('MIT')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+optdepends=('gnupg: for GPG'
+ 'openssh: for SSH'
+ 'pam-u2f: for U2F'
+ 'libnotify: for desktop notifications')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+ "${pkgname}-${pkgver}.tar.gz.asc::${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.asc")
+sha256sums=('535241f2d9e293e110dbe39fb9faa6073f7114529d82039947454bfeeeb2579a'
+ 'SKIP')
+validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=4 sw=4 et:
More information about the arch-commits
mailing list