31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'public-inbox'
|
|
pkgname=public-inbox
|
|
version=1.8.0
|
|
revision=1
|
|
wrksrc="${pkgname}-${version/pre/-pre}"
|
|
build_style=perl-module
|
|
hostmakedepends="git mdocml perl perl-DBD-SQLite perl-Danga-Socket
|
|
perl-Email-MIME-ContentType perl-Email-Simple perl-Email-Address-XS
|
|
perl-Filesys-Notify-Simple perl-HTTP-Date perl-Inline-C perl-Net-Server
|
|
perl-Plack perl-Plack-Middleware-ReverseProxy perl-Linux-Inotify2
|
|
perl-Search-Xapian perl-Socket6 perl-TimeDate perl-URI xapian-core"
|
|
makedepends="${hostmakedepends}"
|
|
depends="${hostmakedepends}"
|
|
checkdepends="${depends} curl perl-Email-MIME perl-HTTP-Message
|
|
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/public-inbox.git/snapshot/${pkgname}-${version}.tar.gz"
|
|
checksum=95a24e38293935e7081967acbf80f7d1c2c67e28d01d591ea39e5e36a34acdec
|
|
|
|
pre_check() {
|
|
mkdir -p ~/.public-inbox
|
|
}
|
|
post_install() {
|
|
vsconf scripts/dupe-finder
|
|
vsconf scripts/import_maildir
|
|
vlicense COPYING
|
|
}
|