30 lines
935 B
Bash
30 lines
935 B
Bash
# Template file for 'rustypaste'
|
|
pkgname=rustypaste
|
|
version=0.8.4
|
|
revision=1
|
|
build_style=cargo
|
|
make_check_args="-- --test-threads 1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libzstd-devel"
|
|
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
|
|
}
|