61 lines
2.2 KiB
Bash
61 lines
2.2 KiB
Bash
# Template file for 'zulucrypt'
|
|
pkgname=zulucrypt
|
|
version=5.7.0
|
|
revision=1
|
|
wrksrc="zuluCrypt-${version}"
|
|
build_style=cmake
|
|
configure_args="-DINTERNAL_ZULUPLAY=false -DQT5=true
|
|
-DUDEVSUPPORT=$(vopt_if udev true false)
|
|
-DUSE_POLKIT=$(vopt_if polkit true false)
|
|
-DHOMEMOUNTPREFIX=$(vopt_if homemount true false)"
|
|
#set this to "false" once lxqt_wallet is available in void-packages
|
|
configure_args+=" -DINTERNAL_LXQT_WALLET=true"
|
|
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
|
|
makedepends="zuluplay-devel libblkid-devel cryptsetup-devel libgcrypt-devel
|
|
device-mapper-devel libuuid-devel qt5-devel $(vopt_if kde kwallet-devel)
|
|
$(vopt_if pwquality libpwquality-devel) $(vopt_if gnome libsecret-devel)"
|
|
short_desc="Frontend to cryptsetup and Veracrypt for harddrive and file encryption"
|
|
maintainer="Piraty <piraty1@inbox.ru>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://mhogomchungu.github.io/zuluCrypt"
|
|
changelog="https://github.com/mhogomchungu/zuluCrypt/blob/master/changelog"
|
|
distfiles="https://github.com/mhogomchungu/zuluCrypt/archive/${version}.tar.gz"
|
|
checksum=53c1a450a7c5c18f7b6a8cf46bd4f051174f9d98c77f79a20c733e96b463f2d5
|
|
|
|
#https://github.com/mhogomchungu/zuluCrypt/blob/e138cc4459545b2e0f729814791a045c31b63014/BUILD_INSTRUCTIONS
|
|
build_options="udev kde gnome pwquality polkit homemount"
|
|
desc_option_udev="Enable support for udev"
|
|
desc_option_kde="Enable support for KDE's kwallet"
|
|
desc_option_pwquality="Use libpwquality to check the quality of passwords"
|
|
desc_option_polkit="Enable support for polkit"
|
|
desc_option_homemount="Use homedir as mountpoint, not /run/media/private"
|
|
|
|
build_options_default="udev pwquality polkit"
|
|
|
|
post_install() {
|
|
#delete redundant icons
|
|
rm ${DESTDIR}/usr/share/icons/zulu*.png
|
|
}
|
|
|
|
zulucrypt-gui_package() {
|
|
short_desc+=" - GUI tools"
|
|
# needs xdg-open
|
|
depends="${sourcepkg}>=${version}_${revision} xdg-utils"
|
|
pkg_install() {
|
|
vmove "usr/bin/*-gui"
|
|
vmove "usr/share/icons/*"
|
|
vmove "usr/share/pixmaps/*"
|
|
vmove "usr/share/applications/*.desktop"
|
|
}
|
|
}
|
|
|
|
zulucrypt-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|