42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'passwordwsafe'
|
|
pkgname=passwordsafe
|
|
version="0.97BETA"
|
|
revision=1
|
|
wrksrc="pwsafe-${version}"
|
|
build_style=gnu-makefile
|
|
# TODO: pkg dependencies to support yubikey
|
|
make_build_args="NO_YUBI=1"
|
|
make_build_target="release help I18N"
|
|
# Makefile uses perl to generate core_st.cpp, zip to generate help files
|
|
hostmakedepends="perl wxWidgets-devel zip pkg-config gettext"
|
|
makedepends="wxWidgets-devel libXt-devel libXtst-devel libxerces-c-devel libuuid-devel"
|
|
short_desc="Simple & Secure Password Management"
|
|
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
|
|
license="Artistic-2.0"
|
|
homepage="http://pwsafe.org"
|
|
distfiles="https://github.com/pwsafe/pwsafe/releases/download/${version}/pwsafe-${version}-src.tgz"
|
|
checksum=f1cdbdda7ef795d974772e40a0d040deb296c110ded1bd05a524a6baa152a9a8
|
|
nocross=yes
|
|
|
|
do_install() {
|
|
vbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe
|
|
vinstall install/desktop/pwsafe.desktop 644 usr/share/applications
|
|
vinstall install/graphics/pwsafe.png 644 usr/share/icons/hicolor/48x48/apps/
|
|
# Help files
|
|
for f in help/help*.zip; do
|
|
vinstall $f 644 usr/share/${pkgname}/help
|
|
done
|
|
# XML files
|
|
vmkdir usr/share/pwsafe
|
|
vcopy xml usr/share/${pkgname}
|
|
vlicense LICENSE
|
|
vdoc docs/config.txt
|
|
vman docs/pwsafe.1
|
|
# 0.97BETA: ignore locales:
|
|
# weird behaviour on GUI language change in application.
|
|
# might be related to UTF-8.
|
|
#vmkdir usr/share/locale
|
|
#vcopy src/ui/wxWidgets/I18N/mos/* usr/share/locale
|
|
}
|
|
|