summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0859e5197cf62316e2647e1b0ff2e78d2412d17 (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
# Maintainer: Mike Hicklen (hicklemon) <mike@xfs.repair>

pkgname=keeper-password-manager
pkgver=16.0.1
pkgrel=2
pkgdesc="Keeper is the world's #1 most downloaded password keeper and secure digital 
 vault for protecting and managing your passwords and other secret information."
arch=('x86_64')
url="https://keepersecurity.com"
license=('Custom')
depends=('libsecret' 'nss' 'libxss' 'gtk3')
source=("https://keepersecurity.com/desktop_electron/Linux/repo/deb/keeperpasswordmanager_${pkgver}_amd64.deb"
        'LICENSE')
sha512sums=('0758c20304290ba4b60ae015e96dbe3a85ff370051a5fb73c9412822e3f574f3dfa2a1641355e210bd54b96e0acb0dc21c40592f8d4501977e61c3e611eac6ab'
            '9bd161a552aba146ee89ab930b8a444442d3cb4bba8cf5e94d1a04bfe2c99fae8372d0d04d5b01fe489578429e9fd020cb567e005b1a267fcb51a0bc4cb2f7b2')
        
package() { 
  bsdtar -xf "$srcdir"/data.tar.xz -C "$pkgdir"   

  echo "Setting needed '4755' mode to file: chrome-sandbox."
  chmod 4755 "$pkgdir"/usr/lib/keeperpasswordmanager/chrome-sandbox
  echo "Setting needed '755' mode on directories: resources/*, locales, swiftshader"
  find "$pkgdir"/usr/lib/keeperpasswordmanager/resources -type d -print0 | xargs -0 chmod 755
  chmod 755 "$pkgdir"/usr/lib/keeperpasswordmanager/locales/
  chmod 755 "$pkgdir"/usr/lib/keeperpasswordmanager/swiftshader/


  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
  install -Dm644 "$pkgdir"/usr/lib/keeperpasswordmanager/LICENSES.chromium.html "$pkgdir"/usr/share/licenses/chromium/LICENSES.chromium.html
}