30 lines
740 B
Plaintext
30 lines
740 B
Plaintext
|
#/usr/bin/env bash
|
||
|
|
||
|
pkgname="dendrite"
|
||
|
pkgrel=1
|
||
|
pkgver="0.12.0"
|
||
|
pkgdesc="Dendrite is a second-generation Matrix homeserver written in Go!"
|
||
|
url="https://github.com/matrix-org/dendrite"
|
||
|
maintainer="Leafee98 <me@leafee98.com>"
|
||
|
|
||
|
source=(
|
||
|
"dendrite::git+https://github.com/matrix-org/dendrite.git#tag=v${pkgver}"
|
||
|
)
|
||
|
|
||
|
function build {
|
||
|
(
|
||
|
cd "${srcdir}/dendrite"
|
||
|
bash build.sh
|
||
|
)
|
||
|
}
|
||
|
|
||
|
function package {
|
||
|
for f in ${srcdir}/dendrite/bin/*
|
||
|
do
|
||
|
install -Dm755 -t "${pkgdir}/usr/local/lib/dendrite/" "$f";
|
||
|
done
|
||
|
|
||
|
# install -Dm755 --target-directory "${pkgdir}/usr/local/lib/dendrite/" ${srcdir}/dendrite/bin/*
|
||
|
# install -Dm644 "${srcdir}/dufs.service" "${pkgdir}/usr/lib/systemd/system/dufs.service"
|
||
|
}
|