make use of makdeb on dendrites
This commit is contained in:
parent
5ca712925b
commit
46cbbec97c
29
dendrite/DEBBUILD
Normal file
29
dendrite/DEBBUILD
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#/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"
|
||||||
|
}
|
Loading…
Reference in a new issue