blob: 53797c587e57c6ed12c0935c12fb269122556086 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Felix Barz <skycoder42.de@gmx.de>
pkgname=keepass-transfer
pkgver=3.0.0
pkgrel=3
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>=2.0.0' '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"
"qtservice.patch"
"$pkgname.rule")
sha256sums=('SKIP'
'3859a5e32b3dc273d11901126a8e7a428c081bc84fe9ea3c167a898c87f87cb0'
'96c8f9d011469d30acef0b5009283747c0b339a013baf02d58d578b00585e153')
prepare() {
cd "$_pkgfqn"
git apply ../qtservice.patch
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"
}
|