Advertisement
Guest User

lastpass PKGBUILD 1.90.0

a guest
May 19th, 2012
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.34 KB | None | 0 0
  1. # Maintainer: Joshua Stiefer <facedelajunk at gmail.com>
  2. # Contributor: Michael Seiwald <michael at mseiwald.at>
  3. # Contributor: Techlive Zheng <techlivezheng at gmail.com>
  4.  
  5. pkgname=lastpass
  6. pkgver=1.90.0
  7. pkgrel=1
  8. pkgdesc="Lastpass pocket for backup and offline access"
  9. arch=('i686' 'x86_64')
  10. url="https://lastpass.com"
  11. license=("LastPass")
  12. depends=("ca-certificates" "openssl098" "libldap" "libidn" "gtk2" "libpng12")
  13. source=("https://lastpass.com/releases/pocket${pkgver}.tar.bz2"
  14.         "lastpass.desktop"
  15.         "lastpass.png")
  16.  
  17. options=("!strip")
  18. md5sums=('5d72097deb5a0d76b68e590c993418c1'
  19.          '09297a72acb09a0629c7a8ba110406a4'
  20.          'd31e3c42d3eef873cecdb8d49ee5dd6c')
  21. [ "$CARCH" = "x86_64" ] && source=("https://lastpass.com/releases/pocket_x64_${pkgver}.tar.bz2"
  22. "lastpass.desktop"
  23. "lastpass.png")
  24. [ "$CARCH" = "x86_64" ] && md5sums=(
  25. '56af4a996ff422727d7f5e9395ad5ea9'
  26. '09297a72acb09a0629c7a8ba110406a4'
  27. 'd31e3c42d3eef873cecdb8d49ee5dd6c')
  28.  
  29. package() {
  30.     if [ "$CARCH" == "i686" ];then
  31.         install -Dm 755 "$srcdir/pocket" "$pkgdir/usr/bin/lastpass"
  32.     elif [ "$CARCH" == "x86_64" ];then
  33.         install -Dm 755 "$srcdir/pocket_x64" "$pkgdir/usr/bin/lastpass"
  34.     fi
  35.     install -Dm 755 "$srcdir/lastpass.png" "$pkgdir/usr/share/icons/lastpass.png"
  36.     install -Dm 755 "$srcdir/lastpass.desktop" "$pkgdir/usr/share/applications/lastpass.desktop"
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement