upgpkg: enpass-bin-6.11.12.1953-2: fix permissions, add license

This commit is contained in:
Christian Schendel 2025-09-07 19:11:13 +02:00
parent eb97b80d1c
commit 026dbb32d3
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
6 changed files with 209 additions and 7 deletions

View file

@ -2,12 +2,12 @@
pkgname=enpass-bin
pkgver=6.11.12.1953
pkgrel=1
pkgrel=2
pkgdesc='A multiplatform password manager'
arch=(x86_64)
url='http://enpass.io/'
license=(
'LicenseRef-custom'
'LicenseRef-terms-of-use'
)
optdepends=(
@ -19,8 +19,12 @@ provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
install='enpass-bin.install'
source=("https://apt.enpass.io/pool/main/e/enpass/${pkgname%-bin}_${pkgver}_amd64.deb")
b2sums=('ece8aae433b3797614d82ae07d5b7322e48c43cf0d5e6db7aff1e48f67ac220c2fb066b6a61f311f613a56480c9bf4323c13effa3e112f11eab1e10511d944fd')
source=(
"https://apt.enpass.io/pool/main/e/enpass/${pkgname%-bin}_${pkgver}_amd64.deb"
"terms-of-use.md"
)
b2sums=('ece8aae433b3797614d82ae07d5b7322e48c43cf0d5e6db7aff1e48f67ac220c2fb066b6a61f311f613a56480c9bf4323c13effa3e112f11eab1e10511d944fd'
'b257d6ba4689f80e5e79a8ec075acefd7c35338abc2f0b9dda19dd1c81145a69dbff1095cb6d8d68ae5d38aeb5332dff370bf26ae7eb6f21c3f0125fcf9d278d')
# Disable strip as otherwise the browser extension will not work
options=('!strip')
@ -57,7 +61,7 @@ package() {
)
# Extract data
tar xfz "${srcdir}/data.tar.gz" -C "${pkgdir}"
tar xfz "${srcdir}/data.tar.gz" -C "${pkgdir}" --no-same-owner
# Remove unnecessary files which are included in the .deb
# find "${pkgdir}" -name '*~' -delete
@ -71,6 +75,8 @@ package() {
# Symlink "runenpass.sh" to "/usr/bin" so it is accessible via cli
mkdir -p "${pkgdir}/usr/bin"
ln -s '/opt/enpass/Enpass' "${pkgdir}/usr/bin/enpass"
install -Dm644 $srcdir/terms-of-use.md "${pkgdir}/usr/share/licenses/${pkgname}/terms-of-use.md"
}
# vim: set ft=sh ts=4 sw=4 et: