void-packages/srcpkgs/tarsnap/template
2017-07-16 09:56:20 +00:00

25 lines
754 B
Bash

# Template file for 'tarsnap'
pkgname=tarsnap
version=1.0.38
revision=1
wrksrc=${pkgname}-autoconf-${version}
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname}"
makedepends="e2fsprogs-devel libressl-devel"
depends="bzip2 xz"
conf_files="/etc/tarsnap/tarsnap.conf"
short_desc="An online encrypted backup service (client)"
maintainer="Gour <gour@atmarama.net>"
license=proprietary
homepage="http://www.tarsnap.com/"
restricted=yes
distfiles="https://www.tarsnap.com/download/tarsnap-autoconf-${version}.tgz"
checksum=76ee0c18baa54c11729d12aa91476abccae140549def5a604010e1138538cd5b
post_install() {
vinstall tar/tarsnap.conf.sample 644 etc/tarsnap tarsnap.conf
rm ${PKGDESTDIR}/etc/tarsnap/tarsnap.conf.sample
vlicense COPYING
}