summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD16
-rw-r--r--lastpass.install12
3 files changed, 25 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0265b95cc0a..870d85b89cae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,18 @@
+# Generated by mksrcinfo v8
+# Wed Jan 6 22:40:55 UTC 2016
pkgbase = lastpass
pkgdesc = The Universal LastPass installer for Firefox, Chrome, and Opera
- pkgver = 3.2.16
- pkgrel = 10
+ pkgver = 4.0.0
+ pkgrel = 1
url = https://lastpass.com
install = lastpass.install
arch = i686
arch = x86_64
license = custom
+ depends = libx11
+ depends = libxau
depends = libxcb
+ depends = libxdmcp
optdepends = chromium: for Chromium
optdepends = chromium-dev: for Chromium (Dev Channel) (AUR)
optdepends = firefox: for Mozilla Firefox
@@ -19,18 +24,18 @@ pkgbase = lastpass
optdepends = opera: for Opera
optdepends = opera-beta: for Opera Beta (AUR)
optdepends = opera-developer: for Opera Developer (AUR)
- noextract = lp_linux_3.2.40-1.xpi
- source = lpchrome_linux_3.2.41-1.crx::https://lastpass.com/lpchrome_linux.crx
- source = lplinux_3.2.16-4.tar.bz2::https://lastpass.com/lplinux.tar.bz2
+ noextract = lp_linux_3.2.42-1.xpi
+ source = lpchrome_linux_4.0.0-1.crx::https://lastpass.com/lpchrome_linux.crx
+ source = lplinux_4.0.0-1.tar.bz2::https://lastpass.com/lplinux.tar.bz2
source = com.lastpass.nplastpass.json
source = lastpass_policy.json
- source = lp_linux_3.2.40-1.xpi::https://lastpass.com/lp_linux.xpi
+ source = lp_linux_3.2.42-1.xpi::https://lastpass.com/lp_linux.xpi
source = profiles.ini
- md5sums = 6c27517e202e62251e5b9c118f4ba53f
+ md5sums = 0fab4037becea4f1482b42a15182cddd
md5sums = 009f2d1a3ac25eb7a3a18f5ad0fc4f53
md5sums = 151251e415bccdffc1dc0df592d1d7e1
md5sums = 9af777d2eea8e67ad332235718a7653d
- md5sums = c5e84c0ccf671ed685eae258ee9617cf
+ md5sums = 632703e30bc26865f15f87690e516105
md5sums = d0f555a644484baccf649f7969794ece
pkgname = lastpass
diff --git a/PKGBUILD b/PKGBUILD
index 12910410b8cf..8611793feacd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Det <nimetonmaili g-mail>
pkgname=lastpass
-pkgver=3.2.16
-_universal=$pkgver-4 # Version of the universal installer: https://lastpass.com/misc_download2.php
-_chromver=3.2.41-1 # The actual extensions' versions
-_ffver=3.2.40-1
-pkgrel=10
+pkgver=4.0.0
+_universal=$pkgver-1 # Version of the universal installer: https://lastpass.com/misc_download2.php
+_chromver=4.0.0-1 # The actual extensions' versions
+_ffver=3.2.42-1
+pkgrel=1
pkgdesc="The Universal LastPass installer for Firefox, Chrome, and Opera"
arch=('i686' 'x86_64')
url="https://lastpass.com"
license=('custom')
-depends=('libxcb')
+depends=('libx11' 'libxau' 'libxcb' 'libxdmcp')
optdepends=('chromium: for Chromium'
'chromium-dev: for Chromium (Dev Channel) (AUR)'
'firefox: for Mozilla Firefox'
@@ -32,11 +32,11 @@ source=(# Chrome
"lp_linux_$_ffver.xpi::$url/lp_linux.xpi"
'profiles.ini')
noextract=("lp_linux_$_ffver.xpi")
-md5sums=('6c27517e202e62251e5b9c118f4ba53f'
+md5sums=('0fab4037becea4f1482b42a15182cddd'
'009f2d1a3ac25eb7a3a18f5ad0fc4f53'
'151251e415bccdffc1dc0df592d1d7e1'
'9af777d2eea8e67ad332235718a7653d'
- 'c5e84c0ccf671ed685eae258ee9617cf'
+ '632703e30bc26865f15f87690e516105'
'd0f555a644484baccf649f7969794ece')
# 64-bit?
diff --git a/lastpass.install b/lastpass.install
index 6c2b95fb7e61..411cd7c6d64f 100644
--- a/lastpass.install
+++ b/lastpass.install
@@ -2,11 +2,6 @@
_user=det # User
_home=/home/$_user/ # $HOME
-# ## Install for Google Chromes/Chromiums
-# _chrome() {
-# bsdtar -xf /usr/share/lastpass/lpchrome_linux_*.crx -C
-# }
-
## Install for Mozilla Firefoxes
_firefox() {
echo -e "\nInstalling Mozilla Firefox leftovers..."
@@ -20,7 +15,8 @@ _firefox() {
bsdtar -xf /usr/share/lastpass/lp_linux_*.xpi -C $_ff_profile/extensions/support@lastpass.com/
# Enable auto-installation through 'extensions.autoDisableScopes'
- echo "user_pref(\"extensions.autoDisableScopes\", 10);" >> $_ff_profile/prefs.js
+ echo 'user_pref("extensions.autoDisableScopes", 10);' >> $_ff_profile/prefs.js
+ echo 'user_pref("xpinstall.signatures.required", false);' >> $_ff_profile/prefs.js
# Set the correct ownerships
chown $_user $_ff_profile/extensions/
@@ -38,6 +34,8 @@ _firefox() {
# Enable the auto-installation
echo "user_pref(\"extensions.autoDisableScopes\", 10);" >> \
$_home/.mozilla/firefox/lastpass.default/prefs.js
+ echo 'user_pref("xpinstall.signatures.required", false);' >> \
+ $_home/.mozilla/firefox/lastpass.default/prefs.js
# Set the correct ownerships
chown $_user -R $_home/.mozilla/
@@ -45,8 +43,6 @@ _firefox() {
}
post_install() {
-# _chrome
-
_firefox
# Create the settings dir