New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Request: dendrite #27818
Labels
request
Package request
Comments
I'm currently trying to package this. Edit: It builds. will try it out soon.
Template file # Template file for 'dendrite'
pkgname=dendrite
version=0.3.4
revision=1
#build_style=go
makedepends="go"
#go_package="github.com/matrix-org/dendrite"
#go_import_path="${go_package}"
short_desc="Second-generation Matrix homeserver written in Go"
maintainer="Anachron <gith@cron.world>"
license="Apache-2.0"
homepage="https://github.com/matrix-org/dendrite"
distfiles="https://github.com/matrix-org/dendrite/archive/v${version}.tar.gz"
checksum=9362ed8dac9d42936e5f53b380eeaad1e3de2abbb07c9abeaad92820fe5c2bd9
do_build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
#export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go build ./cmd/dendrite-monolith-server
go build ./cmd/generate-config
go build ./cmd/generate-keys
}
do_check() {
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
#export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go test ./cmd/dendrite-monolith-server
}
do_install() {
vbin dendrite-monolith-server
vbin generate-config ${pkgname}-generate-config
vbin generate-keys ${pkgname}-generate-keys
vconf dendrite-config.yaml
}
|
Why are so many vars required? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/matrix-org/dendrite
As of October 2020, Dendrite has now entered beta
The text was updated successfully, but these errors were encountered: