7f2ca9bbbd
See #4572
38 lines
995 B
Bash
38 lines
995 B
Bash
# Template file for 'tomb'
|
|
pkgname=tomb
|
|
version=2.2
|
|
revision=2
|
|
wrksrc=Tomb-${version}
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libnotify-devel gtk+-devel"
|
|
depends="sudo gnupg cryptsetup pinentry"
|
|
short_desc="A minimalistic commandline tool to manage encrypted volumes"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="GPL-3"
|
|
homepage="https://www.dyne.org/software/tomb/"
|
|
distfiles="https://github.com/dyne/Tomb/archive/v${version}.tar.gz"
|
|
checksum=06d586879b6384237eb9ef573d4af0f98bd800dc2afb97dbb5a4fd5c5e5523f3
|
|
|
|
pre_build() {
|
|
sed -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
|
|
|
|
# tomb-gtk-tray
|
|
cd extras/gtk-tray
|
|
make
|
|
vbin tomb-gtk-tray
|
|
}
|
|
|