Advertisement
Guest User

ArchLinux AUR LastPass-Pocket

a guest
Apr 4th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. # Maintainer: Yung Wood <yung at yung.com.au>
  2. # Contributor: Joshua Stiefer <facedelajunk at gmail.com>
  3. # Contributor: Michael Seiwald <michael at mseiwald.at>
  4. # Contributor: Techlive Zheng <techlivezheng at gmail.com>
  5.  
  6. pkgname=lastpass-pocket
  7. pkgver=3.1.0
  8. pkgrel=1
  9. pkgdesc="Backup and offline access for LastPass"
  10. arch=('i686' 'x86_64')
  11. url="https://lastpass.com"
  12. license=('LastPass')
  13. options=('!strip')
  14. depends=('ca-certificates' 'openssl' 'libldap' 'libidn' 'gtk2' 'libpng12')
  15. [ "$CARCH" = 'x86_64' ] && _64=_x64
  16. source=("https://download.lastpass.com/pocket$_64.tar.bz2"
  17. 'lastpass.desktop'
  18. 'lastpass.png')
  19. md5sums=('04aa34733b672a2647d3477f6914da35'
  20. '09297a72acb09a0629c7a8ba110406a4'
  21. '02df30690fb98147258346f0d96251b0')
  22. [ "$_64" ] && md5sums[0]='ef1df5c0a3b67c895f0678d4d82e9142'
  23.  
  24. build() {
  25. sed -i 's/libssl.so.0.9.8/libssl.so.1.0.0/g' pocket$_64
  26. sed -i 's/libcrypto.so.0.9.8/libcrypto.so.1.0.0/g' pocket$_64
  27. }
  28.  
  29. package() {
  30. install -Dm755 pocket$_64 "$pkgdir/usr/bin/lastpass"
  31. install -Dm644 lastpass.png "$pkgdir/usr/share/icons/lastpass.png"
  32. install -Dm644 lastpass.desktop "$pkgdir/usr/share/applications/lastpass.desktop"
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement