[arch-commits] Commit in keepass-plugin-keeagent/repos (2 files)

Giancarlo Razzolini grazzolini at archlinux.org
Tue Feb 21 21:46:24 UTC 2017


    Date: Tuesday, February 21, 2017 @ 21:46:23
  Author: grazzolini
Revision: 213381

archrelease: copy trunk to community-any

Added:
  keepass-plugin-keeagent/repos/community-any/
  keepass-plugin-keeagent/repos/community-any/PKGBUILD
    (from rev 213380, keepass-plugin-keeagent/trunk/PKGBUILD)

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

Copied: keepass-plugin-keeagent/repos/community-any/PKGBUILD (from rev 213380, keepass-plugin-keeagent/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-02-21 21:46:23 UTC (rev 213381)
@@ -0,0 +1,38 @@
+# Maintainer: Giancarlo Razzolinit <grazzolini at gmail.com>
+
+pkgname=keepass-plugin-keeagent
+pkgver=0.8.1
+pkgrel=4
+pkgdesc="SSH Agent Plugin for KeePass"
+license=('GPL')
+makedepends=('git' 'nuget')
+depends=('keepass')
+optdepends=('openssh: For integration with ssh-agent' 'gnupg: For integration with GnuPG SSH agent')
+arch=('any')
+url="http://lechnology.com/software/keeagent/"
+options=('!strip')
+source=("${pkgname}-${pkgver}::git+https://github.com/dlech/KeeAgent.git#tag=v${pkgver}")
+sha512sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  git submodule update --init --recursive
+
+  mv /build/.config{,.bak} || true
+
+  nuget restore
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  xbuild /property:Configuration=ReleasePlgx KeeAgent.sln
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    install -Dm644 KeeAgent/bin/ReleasePlgx/KeeAgent.plgx -t "$pkgdir/usr/share/keepass/plugins/"
+    install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -Dm644 GPL2.txt "$pkgdir/usr/share/licenses/$pkgname/GPL2.txt"
+}



More information about the arch-commits mailing list