summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini2016-08-16 09:25:15 -0300
committerGiancarlo Razzolini2016-08-16 09:25:15 -0300
commit9b5814bc2670cdd5eec25fdd5fad64645edb6caf (patch)
tree7b1a940cc870d277425348497d352f3c46b8356f
parent184269fc0d633b7e823f7dc81567ce4df7701973 (diff)
downloadaur-9b5814bc2670cdd5eec25fdd5fad64645edb6caf.tar.gz
* Some changes to the packaging.
* Added the missing license files.
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD14
3 files changed, 17 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22c4ef9d322e..65521b5d366a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,19 @@
# Generated by mksrcinfo v8
-# Tue Mar 22 16:15:11 UTC 2016
+# Tue Aug 16 12:25:07 UTC 2016
pkgbase = keepass-plugin-keeagent-beta
pkgdesc = SSH Agent Plugin for KeePass - Beta Version
pkgver = 0.7.12
- pkgrel = 1
+ pkgrel = 2
url = http://lechnology.com/software/keeagent/
install = keepass-plugin-keeagent-beta.install
arch = any
- license = BSD
+ license = GPL
depends = keepass
optdepends = openssh: For integration with ssh-agent
optdepends = gnupg: For integration with GnuPG SSH agent
- provides = keepass-plugin-keeagent-beta
+ provides = keepass-plugin-keeagent
conflicts = keepass-plugin-keeagent
- source = http://lechnology.com/wp-content/uploads/2016/03/KeeAgent_Beta_v0.7.12.zip
+ source = keepass-plugin-keeagent-beta-0.7.12.zip::http://lechnology.com/wp-content/uploads/2016/03/KeeAgent_Beta_v0.7.12.zip
source = keepass-plugin-keeagent-beta.install
sha512sums = feb61b941f2a7754e5f6912fb8deb71ad5642407fd925d1f6392eb0e2747e93c8d6443344e5fc492ef7e5075a23ff59cd2a8a172dde54c67b180713bc53b0883
sha512sums = af3e0d450c82053f6564dee90f0c3a4f7f06fec1bc4061a6eb4811cc0f5ce764635529aea8501e71f8ca7b3f08d01d9c791975a22bc737def3517232d1efd92a
diff --git a/.gitignore b/.gitignore
index e216139c75be..127c7db0d5c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
-/keepass-plugin-keeagent-*.pkg.tar.xz
-/keepass-plugin-keeagent-*.src.tar.gz
-/KeeAgent_*.zip
+keepass-plugin-keeagent-*.pkg.tar.xz
+keepass-plugin-keeagent-*.src.tar.gz
+KeeAgent_*.zip
+keepass-plugin-keeagent-*.zip \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index ade367e82c86..cc38b431b2f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,24 @@
pkgname=keepass-plugin-keeagent-beta
pkgver=0.7.12
-pkgrel=1
+pkgrel=2
pkgdesc="SSH Agent Plugin for KeePass - Beta Version"
-license=('BSD')
+license=('GPL')
depends=('keepass')
optdepends=('openssh: For integration with ssh-agent' 'gnupg: For integration with GnuPG SSH agent')
-provides=('keepass-plugin-keeagent-beta')
+provides=('keepass-plugin-keeagent')
conflicts=('keepass-plugin-keeagent')
arch=('any')
url="http://lechnology.com/software/keeagent/"
DLAGENTS='http::/usr/bin/curl -fLC - --user-agent Firefox --retry 3 --retry-delay 3 -o %o %u'
install=$pkgname.install
-source=('http://lechnology.com/wp-content/uploads/2016/03/KeeAgent_Beta_v0.7.12.zip' "$pkgname.install")
+source=("${pkgname}-${pkgver}.zip::http://lechnology.com/wp-content/uploads/2016/03/KeeAgent_Beta_v0.7.12.zip" "$pkgname.install")
sha512sums=('feb61b941f2a7754e5f6912fb8deb71ad5642407fd925d1f6392eb0e2747e93c8d6443344e5fc492ef7e5075a23ff59cd2a8a172dde54c67b180713bc53b0883'
'af3e0d450c82053f6564dee90f0c3a4f7f06fec1bc4061a6eb4811cc0f5ce764635529aea8501e71f8ca7b3f08d01d9c791975a22bc737def3517232d1efd92a')
package() {
- mkdir -p "${pkgdir}"/usr/share/keepass/plugins
- install -m644 KeeAgent.plgx "${pkgdir}"/usr/share/keepass/plugins/
+ install -Dm644 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
+ cp -r SshAgentLib.License ${pkgdir}/usr/share/licenses/$pkgname/
}