summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53cf10d5385c6cbc8a3fe4f3e6217c6a507d64b6 (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.26.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=('b0de7ed7b00b5308a2137b2632150bd288a7383a13295814c6c6af1a85f911a6790ad162f67af07844f8fca80044b95f58a37e6ab762429d061f3c9af3616e11')