diff --git a/srcpkgs/Swapspace/files/swapspace/run b/srcpkgs/Swapspace/files/swapspace/run new file mode 100644 index 00000000000..d07bc78f2e7 --- /dev/null +++ b/srcpkgs/Swapspace/files/swapspace/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec swapspace diff --git a/srcpkgs/Swapspace/template b/srcpkgs/Swapspace/template new file mode 100644 index 00000000000..ad7b6bde842 --- /dev/null +++ b/srcpkgs/Swapspace/template @@ -0,0 +1,25 @@ +# 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 " +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 +}