diff --git a/srcpkgs/tarsnap/template b/srcpkgs/tarsnap/template new file mode 100644 index 00000000000..be8910750b3 --- /dev/null +++ b/srcpkgs/tarsnap/template @@ -0,0 +1,25 @@ +# Template file for 'tarsnap' +pkgname=tarsnap +version=1.0.35 +revision=1 +wrksrc=${pkgname}-autoconf-${version} +build_style=gnu-configure +configure_args="--sysconfdir=/etc/${pkgname}" +makedepends="e2fsprogs-devel libressl-devel" +depends="bzip2 xz" +short_desc="An online encrypted backup service (client)" +maintainer="Gour " +license=proprietary +homepage="http://www.tarsnap.com/" +restricted=yes +distfiles="https://www.tarsnap.com/download/tarsnap-autoconf-1.0.35.tgz" +checksum=6c9f6756bc43bc225b842f7e3a0ec7204e0cf606e10559d27704e1cc33098c9a + +conf_files="/etc/tarsnap/tarsnap.conf" + +post_install() { + vinstall tar/tarsnap.conf.sample 644 etc/tarsnap tarsnap.conf + rm ${PKGDESTDIR}/etc/tarsnap/tarsnap.conf.sample + vlicense COPYING +} +