summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5599a038fc88a6ed49229263fb941f8fa19643b (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
# Contributor: Chris Down <chris@chrisdown.name>
# Contributor: Yung Wood <yung at yung.com.au>
# Contributor: Joshua Stiefer <facedelajunk at gmail.com>
# Contributor: Michael Seiwald <michael at mseiwald.at>
# Contributor: Techlive Zheng <techlivezheng at gmail.com>
# Maintainer: ava1ar <mail(at)ava1ar(dot)me>

pkgname=lastpass-pocket
pkgver=4.1.20
pkgrel=1
pkgdesc="Backup and offline access for LastPass"
arch=('i686' 'x86_64')
url="https://lastpass.com"
license=('custom:LastPass')
options=('!strip')
depends=('ca-certificates' 'openssl>=1.0.0' 'libldap' 'libidn' 'gtk2' 'libpng12' 'librtmp0')
source=('lastpass.desktop' 'lastpass.png')
sha1sums=('4e8258a93d2a72c86abc916fee1faab0d34fc8a7'
          '043994fdbb2af48eadb17e2ffe48a9a1652c297b')
sha1sums_i686=('4e09423dae6c4e7997bea41238ea3060d29aaa25')
sha1sums_x86_64=('893ec51711f1030ed575b895fef145982124496d')
source_i686=("pocket_${pkgver}.tar.bz2::https://download.lastpass.com/pocket.tar.bz2")
source_x86_64=("pocket_x64_${pkgver}.tar.bz2::https://download.lastpass.com/pocket_x64.tar.bz2")

package() {
  [ "$CARCH" == i686 ] && _pocket_bin=pocket
  [ "$CARCH" == x86_64 ] && _pocket_bin=pocket_x64
  install -Dm755 ${_pocket_bin} "${pkgdir}/usr/bin/lastpass"
  install -Dm644 lastpass.png "${pkgdir}/usr/share/icons/lastpass.png"
  install -Dm644 lastpass.desktop "${pkgdir}/usr/share/applications/lastpass.desktop"
}