blob: 558a3ce9a42fc6bae54a4c71f768286ec0150e7f (
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
|
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=passwordsafe-bin
pkgver=1.23.0
pkgrel=1
pkgdesc="Popular secure and convenient password manager(Prebuilt version)"
arch=("x86_64")
url="https://pwsafe.org/"
_ghurl="https://github.com/pwsafe/pwsafe"
license=("Artistic-2.0")
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
'file'
'curl'
'qrencode'
'util-linux-libs'
'wxwidgets-gtk3'
'wxwidgets-common'
)
source=(
"${pkgname%-bin}-${pkgver}.rpm::${_ghurl}/releases/download/${pkgver}/${pkgname%-bin}-fedora42-${pkgver%.0}.rpm"
"LICENSE-${pkgver}::https://raw.githubusercontent.com/pwsafe/pwsafe/${pkgver}/LICENSE"
)
sha256sums=('1f103e40ecb513f09957e8ea692fcc99f9cfdcd83ea5c47326ff0e41f0eeed9f'
'2f65a5f2197c53b23dd4d2c60180286c79717393804e86494e4248c0951d9b06')
package() {
install -Dm755 "${srcdir}/usr/bin/"* -t "${pkgdir}/usr/bin"
cp -Pr --no-preserve=ownership "${srcdir}/usr/share" "${pkgdir}/usr"
install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|