void-packages/srcpkgs/tarsnap/template
2021-03-05 22:07:29 +01:00

25 lines
753 B
Bash

# Template file for 'tarsnap'
pkgname=tarsnap
version=1.0.39
revision=2
wrksrc=${pkgname}-autoconf-${version}
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname}"
makedepends="e2fsprogs-devel openssl-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=5613218b2a1060c730b6c4a14c2b34ce33898dd19b38fb9ea0858c5517e42082
post_install() {
vinstall tar/tarsnap.conf.sample 644 etc/tarsnap tarsnap.conf
rm ${PKGDESTDIR}/etc/tarsnap/tarsnap.conf.sample
vlicense COPYING
}