summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkycoder422018-12-22 22:41:15 +0100
committerSkycoder422018-12-22 22:41:15 +0100
commitaa4378892d971048fb218373b75438860b3b728d (patch)
treeaad58f5f5f8ffebcb120ef729a68d1b9cf53e1f1
downloadaur-aa4378892d971048fb218373b75438860b3b728d.tar.gz
created package
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD44
-rw-r--r--keepass-transfer.rule1
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f3368b2895c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = keepass-transfer
+ pkgdesc = A collection of tools to securely transfer passwords to your browser
+ pkgver = 3.0.0
+ pkgrel = 1
+ url = https://github.com/Skycoder42/KeepassTransfer
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ makedepends = qt5-tools
+ makedepends = pkgconfig
+ makedepends = qpmx-qpmsource
+ depends = qt5-base
+ depends = qt5-svg
+ depends = qt5-mvvmwidgets
+ depends = qt5-service
+ depends = keepassxc-client-library
+ depends = keepassxc
+ optdepends = repkg: Automatically rebuild the package on dependency updates
+ optdepends = keepassxc: Import credentials from KeePassXC for easy password transfers
+ source = keepass-transfer-3.0.0::git+https://github.com/Skycoder42/KeepassTransfer.git#tag=3.0.0
+ source = keepass-transfer.rule
+ sha256sums = SKIP
+ sha256sums = 1b8b79d7dea81de3866da764c67e12b80ffe66064acdcbcf53b9f2fac55c2e21
+
+pkgname = keepass-transfer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e52ec77fc97
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Felix Barz <skycoder42.de@gmx.de>
+pkgname=keepass-transfer
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="A collection of tools to securely transfer passwords to your browser"
+arch=('i686' 'x86_64')
+url="https://github.com/Skycoder42/KeepassTransfer"
+license=('BSD')
+depends=('qt5-base' 'qt5-svg' 'qt5-mvvmwidgets' 'qt5-service' 'keepassxc-client-library' 'keepassxc')
+makedepends=('git' 'qt5-tools' 'pkgconfig' 'qpmx-qpmsource')
+optdepends=("repkg: Automatically rebuild the package on dependency updates"
+ "keepassxc: Import credentials from KeePassXC for easy password transfers")
+_pkgfqn=$pkgname-$pkgver
+source=("$_pkgfqn::git+https://github.com/Skycoder42/KeepassTransfer.git#tag=$pkgver"
+ "$pkgname.rule")
+sha256sums=('SKIP'
+ '1b8b79d7dea81de3866da764c67e12b80ffe66064acdcbcf53b9f2fac55c2e21')
+
+prepare() {
+ cd "$_pkgfqn"
+ git submodule update --init --recursive
+ cd ..
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ qmake 'CONFIG+=no_webapp' \
+ 'CONFIG+=no_quick' \
+ 'CONFIG+=no_auto_lupdate' \
+ 'PREFIX=/usr' \
+ "../$_pkgfqn/"
+ make
+ make lrelease
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$pkgdir" install
+
+ install -D -m644 "../$_pkgfqn/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 "../${pkgname}.rule" "$pkgdir/etc/repkg/rules/system/${pkgname}.rule"
+}
diff --git a/keepass-transfer.rule b/keepass-transfer.rule
new file mode 100644
index 00000000000..dd43a00dd86
--- /dev/null
+++ b/keepass-transfer.rule
@@ -0,0 +1 @@
+qt5-base qt5-svg qt5-mvvmwidgets qt5-service keepassxc-client-library