summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD24
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a25a82e0f8d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = kpcli
+ pkgdesc = Command line browser of KeePassX database files (*.kdb)
+ pkgver = 3.0
+ pkgrel = 1
+ url = http://sourceforge.net/projects/kpcli/
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ depends = perl
+ depends = perl-file-keepass
+ depends = perl-term-shellui
+ depends = perl-term-readkey
+ depends = perl-term-readline-gnu
+ depends = perl-sort-naturally
+ depends = perl-clone
+ optdepends = perl-crypt-pwsafe3: import Password Safe v3 files
+ optdepends = perl-capture-tiny
+ optdepends = perl-clipboard
+ source = http://downloads.sourceforge.net/project/kpcli/kpcli-3.0.pl
+ source = http://downloads.sourceforge.net/project/kpcli/README
+ sha256sums = 947b7b0485215f72e14bb8936c847abb583253c597f58234650922270259049c
+ sha256sums = 43878d755ea06a2fa2a5df0ee77cb81f1a55b6bba7c855b47f46e63ba9630e03
+
+pkgname = kpcli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f4927b2f563
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Niels Martignène <niels.martignene@gmail.com>
+# Contributor: Oscar Pereira <oscar a erroneousthoughts org>
+
+pkgname=kpcli
+pkgver=3.0
+pkgrel=1
+pkgdesc="Command line browser of KeePassX database files (*.kdb)"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-file-keepass' 'perl-term-shellui' 'perl-term-readkey' 'perl-term-readline-gnu' 'perl-sort-naturally' 'perl-clone')
+optdepends=('perl-crypt-pwsafe3: import Password Safe v3 files'
+ 'perl-capture-tiny'
+ 'perl-clipboard')
+url='http://sourceforge.net/projects/kpcli/'
+source=("http://downloads.sourceforge.net/project/kpcli/kpcli-$pkgver.pl"
+ "http://downloads.sourceforge.net/project/kpcli/README")
+sha256sums=('947b7b0485215f72e14bb8936c847abb583253c597f58234650922270259049c'
+ '43878d755ea06a2fa2a5df0ee77cb81f1a55b6bba7c855b47f46e63ba9630e03')
+
+package() {
+ install -Dm755 "kpcli-${pkgver}.pl" "${pkgdir}/usr/bin/kpcli"
+ install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
+