summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2384ed3fd842386dad9e826129f639cf12271ce5 (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
31
# Generated by debtap
# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
# Contributor: Milo Gilad <myl0gcontact at gmail dot com>

pkgname=bitwarden-bin
pkgver=1.24.4
pkgrel=1
pkgdesc="A secure and free password manager for all of your devices."
arch=('x86_64')
url="https://bitwarden.com"
license=('GPL')
depends=('alsa-lib' 'libnotify' 'libsecret' 'libxss' 'libxtst' 'nspr' 'nss')
conflicts=('bitwarden')
provides=('bitwarden')
options=('!strip' '!emptydirs')
source=("https://github.com/bitwarden/desktop/releases/download/v${pkgver}/Bitwarden-${pkgver}-amd64.deb")

package(){

	# Extract package data
	tar xf data.tar.xz -C "${pkgdir}"

	# Symlink
	install -d "${pkgdir}/usr/bin"
	ln -s "/opt/Bitwarden/bitwarden" "${pkgdir}/usr/bin/bitwarden"

	chown root:root $pkgdir/opt/Bitwarden/chrome-sandbox
	chmod 4755 $pkgdir/opt/Bitwarden/chrome-sandbox
}

sha512sums=('794f163317d35eff9af5427499c2b3ad6802c40479a041f99bfbaecb7be79572d0a9d048d167e37287f1ce314f6423961d88aa3efb6754477feb4bcc0f3812ce')