This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

lastpass PKGBUILD 1.90.0

By: a guest on May 19th, 2012  |  syntax: Bash  |  size: 1.34 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data