blob: 044024007c8163b506e76c47ac98467fb9856f5d (
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
|
# Maintainer: Tilman Blumenbach <tilman AT ax86 DOT net>
pkgname=keepass-plugin-rpc
pkgver=1.2.7
pkgrel=2
pkgdesc="RPC plugin for Keepass"
arch=(i686 x86_64)
url="http://keefox.org/"
license=('GPL')
depends=(keepass)
# Technically, mono is already pulled in by the keepass dependency.
makedepends=(mono)
source=("https://github.com/luckyrat/KeeFox/archive/v${pkgver}.tar.gz"
build-fixes.patch)
prepare() {
cd "$srcdir/KeeFox-$pkgver"
# Need --binary option because of DOS line endings.
patch --binary -Np1 -i "$srcdir/build-fixes.patch"
}
build() {
cd "$srcdir/KeeFox-$pkgver/KeePassRPC"
xbuild /property:Configuration=Release KeePassRPC.csproj
}
package() {
cd "$srcdir/KeeFox-$pkgver/KeePassRPC/bin/Release"
for f in Jayrock*.dll KeePassRPC.dll; do
install -m 644 -D "$f" "${pkgdir}/usr/share/keepass/plugins/rpc/${f}"
done
}
md5sums=('b854bb627b5477d9ef9ac1becc9e4a63'
'4744511f20a030802cec01e71714b5f3')
|