summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonian Guveli2018-10-28 22:14:41 +0200
committerJonian Guveli2018-10-28 22:14:41 +0200
commite536a63fb533450a7e30c8bc6da2019c395b953e (patch)
treec0a418825d2c390d16b046bc917aeeb7cc175f01
parent11efdfdcad45baef4076f12b737e7718e215fa67 (diff)
downloadaur-e536a63fb533450a7e30c8bc6da2019c395b953e.tar.gz
optimize install
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50bfa85660a..23291671d35 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,7 @@ pkgbase = keeweb-desktop-bin
pkgdesc = Free cross-platform password manager compatible with KeePass
pkgver = 1.6.3
pkgrel = 2
- url = https://keeweb.info
- arch = i686
+ url = https://github.com/keeweb/keeweb
arch = x86_64
license = MIT
depends = gconf
@@ -13,10 +12,8 @@ pkgbase = keeweb-desktop-bin
conflicts = keeweb
conflicts = keeweb-bin
conflicts = keeweb-git
- source_i686 = keeweb-desktop-bin-1.6.3::https://github.com/keeweb/keeweb/releases/download/v1.6.3/KeeWeb-1.6.3.linux.ia32.deb
- md5sums_i686 = 3a835ecfd23145cecd8cd01201afa8db
- source_x86_64 = keeweb-desktop-bin-1.6.3::https://github.com/keeweb/keeweb/releases/download/v1.6.3/KeeWeb-1.6.3.linux.x64.deb
- md5sums_x86_64 = 2d3bd08a027b27ae5d49e9a68ddd203f
+ source = keeweb-desktop-bin-1.6.3.deb::https://github.com/keeweb/keeweb/releases/download/v1.6.3/KeeWeb-1.6.3.linux.x64.deb
+ md5sums = 2d3bd08a027b27ae5d49e9a68ddd203f
pkgname = keeweb-desktop-bin
diff --git a/PKGBUILD b/PKGBUILD
index 60994025bfd..5f62d7689e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,20 @@ pkgname=keeweb-desktop-bin
pkgver=1.6.3
pkgrel=2
pkgdesc="Free cross-platform password manager compatible with KeePass"
-arch=("i686" "x86_64")
-url="https://keeweb.info"
+arch=("x86_64")
+url="https://github.com/keeweb/keeweb"
license=("MIT")
depends=("gconf" "libxss")
provides=("keeweb-desktop")
conflicts=("keeweb-desktop" "keeweb" "keeweb-bin" "keeweb-git")
-source_i686+=("$pkgname-$pkgver::https://github.com/keeweb/keeweb/releases/download/v$pkgver/KeeWeb-$pkgver.linux.ia32.deb")
-source_x86_64+=("$pkgname-$pkgver::https://github.com/keeweb/keeweb/releases/download/v$pkgver/KeeWeb-$pkgver.linux.x64.deb")
-md5sums_i686=("3a835ecfd23145cecd8cd01201afa8db")
-md5sums_x86_64=("2d3bd08a027b27ae5d49e9a68ddd203f")
+source=("$pkgname-$pkgver.deb::$url/releases/download/v$pkgver/KeeWeb-$pkgver.linux.x64.deb")
+md5sums=("2d3bd08a027b27ae5d49e9a68ddd203f")
prepare() {
bsdtar xf data.tar.gz
}
package() {
- mv opt "${pkgdir}"
- mv usr "${pkgdir}"
+ mv opt "$pkgdir"
+ mv usr "$pkgdir"
}