New package: rustypaste-0.8.4
This commit is contained in:
parent
8d5233300e
commit
0209bb9356
2 changed files with 33 additions and 0 deletions
6
srcpkgs/rustypaste/files/rustypaste/run
Normal file
6
srcpkgs/rustypaste/files/rustypaste/run
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
export CONFIG=${CONFIG:-/etc/rustypaste/config.toml}
|
||||
cd /var/lib/rustypaste
|
||||
exec chpst -u _rustypaste:_rustypaste rustypaste
|
27
srcpkgs/rustypaste/template
Normal file
27
srcpkgs/rustypaste/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'rustypaste'
|
||||
pkgname=rustypaste
|
||||
version=0.8.4
|
||||
revision=1
|
||||
build_style=cargo
|
||||
make_check_args="-- --test-threads 1"
|
||||
short_desc="Minimal file upload/pastebin service"
|
||||
maintainer="Lukas Jordan <dev@lukasjordan.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/orhun/rustypaste"
|
||||
changelog="https://raw.githubusercontent.com/orhun/rustypaste/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/orhun/rustypaste/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=ccdfa0ae412f25b3ea8e3756ff8d8c0ecfee1332b3bc2e584899914056ed2e2d
|
||||
conf_files="/etc/rustypaste/config.toml"
|
||||
|
||||
system_accounts="_rustypaste"
|
||||
_rustypaste_homedir="/var/lib/rustypaste"
|
||||
_rustypaste_descr="Minimal file upload/pastebin service"
|
||||
|
||||
make_dirs="/var/lib/rustypaste 0750 _rustypaste _rustypaste"
|
||||
|
||||
post_install() {
|
||||
vinstall config.toml 644 etc/rustypaste
|
||||
vlicense LICENSE
|
||||
vdoc README.md
|
||||
vsv rustypaste
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue