void-packages/srcpkgs/tomb/template
D-Nice 4572564699 tomb: update to 2.9
Closes: #27874 [via git-merge-pr]
2021-01-15 19:20:12 -03:00

33 lines
985 B
Bash

# Template file for 'tomb'
pkgname=tomb
version=2.9
revision=1
wrksrc=Tomb-${version}
build_style=gnu-makefile
hostmakedepends="pkg-config"
depends="sudo gnupg cryptsetup pinentry zsh"
short_desc="Minimalistic commandline tool to manage encrypted volumes"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later"
homepage="https://www.dyne.org/software/tomb/"
changelog="https://raw.githubusercontent.com/dyne/Tomb/master/ChangeLog.md"
distfiles="https://files.dyne.org/tomb/releases/Tomb-${version}.tar.gz"
checksum=b3a23c6680815f7557a3c4bd73d2b2dbde870a62357fcbf9b33089afae75d68c
post_patch() {
vsed -i extras/gtk-tray/Makefile \
-e's;$(CC) ;$(CC) $(CFLAGS) $(LDFLAGS) ;'
}
do_install() {
vbin tomb
vman doc/tomb.1
vdoc doc/KEY_SPECIFICATIONS.txt
vdoc doc/LinuxHDEncSettings.txt
vdoc doc/Luks_on_disk_format.pdf
vdoc doc/New_methods_in_HD_encryption.pdf
vdoc doc/TKS1-draft.pdf
vdoc doc/TODO.org
vdoc doc/bertini_thesis.pdf
vdoc doc/tomb_manpage.pdf
}