diff --git a/srcpkgs/tomb/template b/srcpkgs/tomb/template index d6105e92a2b..0ef0368a5b4 100644 --- a/srcpkgs/tomb/template +++ b/srcpkgs/tomb/template @@ -1,8 +1,9 @@ # Template file for 'tomb' pkgname=tomb version=2.2 -revision=1 +revision=2 wrksrc=Tomb-${version} +build_style=gnu-makefile hostmakedepends="pkg-config" makedepends="libnotify-devel gtk+-devel" depends="sudo gnupg cryptsetup pinentry" @@ -13,6 +14,10 @@ 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