passwordsafe: add yubikey/yubico support, fix update check, 'passwordsafe' everywhere, no locale for help.
This commit is contained in:
parent
2b83472691
commit
b33d23ec2c
|
@ -1,15 +1,13 @@
|
||||||
# Template file for 'passwordwsafe'
|
# Template file for 'passwordwsafe'
|
||||||
pkgname=passwordsafe
|
pkgname=passwordsafe
|
||||||
version="0.97BETA"
|
version="0.97BETA"
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="pwsafe-${version}"
|
wrksrc="pwsafe-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
# TODO: pkg dependencies to support yubikey
|
|
||||||
make_build_args="NO_YUBI=1"
|
|
||||||
make_build_target="release help I18N"
|
make_build_target="release help I18N"
|
||||||
# Makefile uses perl to generate core_st.cpp, zip to generate help files
|
# Makefile uses perl to generate core_st.cpp, zip to generate help files
|
||||||
hostmakedepends="perl wxWidgets-devel zip pkg-config gettext"
|
hostmakedepends="perl wxWidgets-devel zip pkg-config gettext"
|
||||||
makedepends="wxWidgets-devel libXt-devel libXtst-devel libxerces-c-devel libuuid-devel"
|
makedepends="wxWidgets-devel libXt-devel libXtst-devel libxerces-c-devel libuuid-devel libykpers-devel"
|
||||||
short_desc="Simple & Secure Password Management"
|
short_desc="Simple & Secure Password Management"
|
||||||
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
|
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
|
||||||
license="Artistic-2.0"
|
license="Artistic-2.0"
|
||||||
|
@ -19,22 +17,28 @@ checksum=f1cdbdda7ef795d974772e40a0d040deb296c110ded1bd05a524a6baa152a9a8
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe
|
# use 'passwordsafe' in filenames as much as possible.
|
||||||
vinstall install/desktop/pwsafe.desktop 644 usr/share/applications
|
vbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe passwordsafe
|
||||||
vinstall install/graphics/pwsafe.png 644 usr/share/icons/hicolor/48x48/apps/
|
vinstall install/desktop/pwsafe.desktop 644 usr/share/applications passwordsafe.desktop
|
||||||
|
vinstall install/graphics/pwsafe.png 644 usr/share/icons/hicolor/48x48/apps passwordsafe.png
|
||||||
|
sed -i -e 's,^\(Exec\|Icon\)=.*,\1=passwordsafe,' ${DESTDIR}/usr/share/applications/passwordsafe.desktop
|
||||||
|
|
||||||
# Help files
|
# Help files
|
||||||
for f in help/help*.zip; do
|
# 0.97BETA: localized help files are useless
|
||||||
vinstall $f 644 usr/share/${pkgname}/help
|
# without locales (see below).
|
||||||
done
|
# keep only english help file.
|
||||||
|
#for f in help/help*.zip; do
|
||||||
|
# vinstall $f 644 usr/share/${pkgname}/help
|
||||||
|
#done
|
||||||
|
vinstall help/helpEN.zip 644 usr/share/passwordsafe/help
|
||||||
# XML files
|
# XML files
|
||||||
vmkdir usr/share/pwsafe
|
|
||||||
vcopy xml usr/share/${pkgname}
|
vcopy xml usr/share/${pkgname}
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vdoc docs/config.txt
|
vdoc docs/config.txt
|
||||||
vman docs/pwsafe.1
|
vman docs/pwsafe.1 passwordsafe.1
|
||||||
# 0.97BETA: ignore locales:
|
# 0.97BETA: no locales.
|
||||||
# weird behaviour on GUI language change in application.
|
# runtime crash on language change in GUI,
|
||||||
# might be related to UTF-8.
|
# and additional entries appears in data file.
|
||||||
#vmkdir usr/share/locale
|
#vmkdir usr/share/locale
|
||||||
#vcopy src/ui/wxWidgets/I18N/mos/* usr/share/locale
|
#vcopy src/ui/wxWidgets/I18N/mos/* usr/share/locale
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Passwordsafe linux port uses "BETA" in release name
|
||||||
|
pattern="\K[\d.]+BETA(?=)"
|
Loading…
Reference in New Issue