void-packages/srcpkgs/Swapspace/template

26 lines
717 B
Bash

# Template file for 'Swapspace'
pkgname=Swapspace
version=1.18.1
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake"
short_desc="Dynamic swap manager for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
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=8684861e603b68e261605332ae26bfd54bec4f50bea109c0597ae2e25460e32c
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
}