Pkgfile 685 B

12345678910111213141516171819202122
  1. # Description: A secure and free password manager for all of your devices.
  2. # URL: https://bitwarden.com
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: alsa-lib cups libnotify libsecret libxtst nss
  5. name=bitwarden-bin
  6. version=2024.11.1
  7. release=1
  8. source=(https://github.com/bitwarden/clients/releases/download/desktop-v2024.11.1/Bitwarden-2024.11.1-amd64.deb)
  9. build() {
  10. sudo bsdtar -xf Bitwarden-$version-amd64.deb
  11. sudo bsdtar -xf data.tar.xz -C $PKG/
  12. # Symlink
  13. install -d "${PKG}/usr/bin"
  14. ln -s "/opt/Bitwarden/bitwarden" "${PKG}/usr/bin/bitwarden"
  15. chown root:root $PKG/opt/Bitwarden/chrome-sandbox
  16. chmod 4755 $PKG/opt/Bitwarden/chrome-sandbox
  17. }