# Maintainer: Mike Hicklen (hicklemon) pkgname=keeper-password-manager pkgver=16.3.4 pkgrel=1 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=('23184f64f01abb65e7812323d2842e26c9f8f22ebecdae1e951c8aa004b3c7acb9390fd946a2450604b49fe29c5f2fe58964ccc2651b8aaf663fd3e4c949228a' '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 "If you are updating from 16.0.0 to a newer version, you will need to set '755' mode on directories: resources/*, locales, swiftshader - commands are below, USE AT YOUR OWN RISK:" echo 'find /usr/lib/keeperpasswordmanager/resources -type d -print0 | xargs -0 chmod 755' echo 'chmod 755 /usr/lib/keeperpasswordmanager/locales' echo 'chmod 755 /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 }