void-packages/srcpkgs/Swapspace/template

26 lines
727 B
Bash

# Template file for 'Swapspace'
pkgname=Swapspace
version=1.17
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake"
short_desc="Dynamic swap manager for Linux"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/Tookmund/swapspace"
changelog="https://raw.githubusercontent.com/Tookmund/Swapspace/master/NEWS"
distfiles="https://github.com/Tookmund/Swapspace/archive/v${version}/${version}.tar.gz"
checksum=5a2d82ae7922588bf0c3e3728248672b94666bab76b4be569d3a8793edfabb4f
conf_files="/etc/swapspace.conf"
make_dirs="/var/lib/swapspace 0700 root root"
pre_configure() {
autoreconf -vfi
}
post_install() {
vman doc/swapspace.8
vsv swapspace
}