summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Blumenbach2014-03-23 17:02:48 +0100
committerTilman Blumenbach2014-03-23 17:02:48 +0100
commitbdf2fd8012a0423b8877999cde7c7c9798018f2c (patch)
treeb7a051a51fafbe8303b64090830edda112c750e4
parent90663b00f764aacf7e1fbb4309cb876d128a36a1 (diff)
downloadaur-bdf2fd8012a0423b8877999cde7c7c9798018f2c.tar.gz
Update keepass-plugin-rpc to v1.3.1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD30
-rw-r--r--build-fixes.patch20
3 files changed, 14 insertions, 48 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a2372b765d..9ab0a6fa588 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
pkgbase = keepass-plugin-rpc
pkgdesc = RPC plugin for Keepass
- pkgver = 1.2.7
- pkgrel = 2
+ pkgver = 1.3.1
+ pkgrel = 1
url = http://keefox.org/
arch = i686
arch = x86_64
license = GPL
- makedepends = mono
depends = keepass
- source = https://github.com/luckyrat/KeeFox/archive/v1.2.7.tar.gz
- source = build-fixes.patch
- md5sums = b854bb627b5477d9ef9ac1becc9e4a63
- md5sums = 4744511f20a030802cec01e71714b5f3
+ noextract = keefox.zip
+ source = keefox.zip::https://addons.mozilla.org/firefox/downloads/file/248762/keefox-1.3.1-tb+fx-linux.xpi
+ md5sums = bd9e44f57a19493c50ebb100e309d588
pkgname = keepass-plugin-rpc
diff --git a/PKGBUILD b/PKGBUILD
index 177fb78606e..31a69bd8eab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,26 @@
# Maintainer: Tilman Blumenbach <tilman AT ax86 DOT net>
pkgname=keepass-plugin-rpc
-pkgver=1.2.7
-pkgrel=2
+pkgver=1.3.1
+pkgrel=1
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)
+source=("keefox.zip::https://addons.mozilla.org/firefox/downloads/file/248762/keefox-1.3.1-tb+fx-linux.xpi")
+noextract=(keefox.zip)
prepare() {
- cd "$srcdir/KeeFox-$pkgver"
+ cd "$srcdir"
- # 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
+ unzip -qd keefox keefox.zip
}
package() {
- cd "$srcdir/KeeFox-$pkgver/KeePassRPC/bin/Release"
+ cd "$srcdir/keefox/deps"
- for f in Jayrock*.dll KeePassRPC.dll; do
- install -m 644 -D "$f" "${pkgdir}/usr/share/keepass/plugins/rpc/${f}"
- done
+ install -m 644 -D KeePassRPC.plgx "${pkgdir}/usr/share/keepass/plugins/rpc/KeePassRPC.plgx"
}
-md5sums=('b854bb627b5477d9ef9ac1becc9e4a63'
- '4744511f20a030802cec01e71714b5f3')
+md5sums=('bd9e44f57a19493c50ebb100e309d588')
diff --git a/build-fixes.patch b/build-fixes.patch
deleted file mode 100644
index 1223a5d9d4b..00000000000
--- a/build-fixes.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- KeeFox-1.2.7/KeePassRPC/KeePassRPC.csproj 2013-09-03 21:07:46.000000000 +0200
-+++ KeeFox-1.2.7/KeePassRPC/KeePassRPC.csproj 2014-02-09 16:07:04.082924522 +0100
-@@ -91,7 +91,7 @@
- <Reference Include="KeePass, Version=2.1.8.29009, Culture=neutral, PublicKeyToken=7952fc8ece49a093, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <ExecutableExtension>.exe</ExecutableExtension>
-- <HintPath>..\..\..\Program Files (x86)\KeePass Password Safe 2 DEV\KeePass.exe</HintPath>
-+ <HintPath>/usr/share/keepass/KeePass.exe</HintPath>
- </Reference>
- <Reference Include="Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
-@@ -255,7 +255,7 @@
- <Target Name="AfterBuild">
- </Target>
- -->
-- <PropertyGroup>
-+ <PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
- <PreBuildEvent>
- </PreBuildEvent>
- <PostBuildEvent>