void-packages/srcpkgs/public-inbox/template

29 lines
1.0 KiB
Bash

# Template file for 'public-inbox'
pkgname=public-inbox
version=1.1.0pre1
revision=2
wrksrc="${pkgname}-${version/pre/-pre}"
build_style=perl-module
hostmakedepends="perl perl-URI"
makedepends="perl"
depends="git perl perl-DBD-SQLite perl-Danga-Socket
perl-Email-MIME perl-Email-MIME-ContentType perl-Email-Simple
perl-Filesys-Notify-Simple perl-HTTP-Date perl-Net-Server
perl-Plack perl-Plack-Middleware-Deflater perl-Plack-Middleware-ReverseProxy
perl-Search-Xapian perl-Socket6 perl-TimeDate perl-URI"
checkdepends="$depends curl perl-HTTP-Message perl-IPC-Run perl-Test-SharedFork"
short_desc="An 'archives first' approach to mailing lists"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="AGPL-3.0-or-later"
homepage="https://public-inbox.org/"
distfiles="https://public-inbox.org/releases/${pkgname}-${version/pre/-pre}.tar.gz"
checksum=d0023767a63ca109e6fe2c58b04c58987d4f81572ac69d18f95d6af0915fa009
pre_check() {
mkdir -p ~/.public-inbox
}
post_install() {
vsconf scripts/dupe-finder
vsconf scripts/import_maildir
}