summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a7a39bf402e4d10d2d805ff05b0298adf0364f8 (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.6
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=('a4c2931c6c7a5433e5fba6dc488f7ccc9d9f2848f93db6f804f5ecde4a021f4928b67254c9225d5dbef0d1a9bb25edc1facd152ff6d85056060961b8e3c6e1b9')