diff --git a/srcpkgs/fiche/files/fiche/run b/srcpkgs/fiche/files/fiche/run new file mode 100644 index 00000000000..510687b5661 --- /dev/null +++ b/srcpkgs/fiche/files/fiche/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec chpst -u _fiche:_fiche fiche -d yourdomain.com -o /var/tmp/fiche -l /var/log/fiche/log diff --git a/srcpkgs/fiche/template b/srcpkgs/fiche/template new file mode 100644 index 00000000000..659f9b70caf --- /dev/null +++ b/srcpkgs/fiche/template @@ -0,0 +1,23 @@ +# Template file for 'fiche' +pkgname=fiche +version=0.9.1 +revision=1 +build_style=gnu-makefile +short_desc="Command line pastebin server for sharing terminal output" +maintainer="Nathan Owens " +license="MIT" +homepage="https://termbin.com" +distfiles="https://github.com/solusipse/fiche/archive/${version}.tar.gz" +checksum=f0cb279a2c2a4c0d1debcf56785fd8731a1427d2524221678cf69c9aaa85e831 + +CFLAGS="-lpthread" + +system_accounts="_fiche" +fiche_homedir="/var/tmp/fiche" +make_dirs="/var/log/fiche 0750 _fiche _fiche" + +post_install() { + vlicense LICENSE + vsv fiche + vbin fiche +}