Compare commits
2 commits
5ca712925b
...
08ae202cd7
Author | SHA1 | Date | |
---|---|---|---|
08ae202cd7 | |||
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"
|
||||||
|
}
|
26
filebrowser/DEBBUILD
Normal file
26
filebrowser/DEBBUILD
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#/usr/bin/env bash
|
||||||
|
|
||||||
|
pkgname="filebrowser"
|
||||||
|
pkgver="2.23.0"
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Web File Browser"
|
||||||
|
maintainer="Leafee98 <me@leafee98.com>"
|
||||||
|
|
||||||
|
_architecture="linux-amd64"
|
||||||
|
_tar_name="${_architecture}-filebrowser"
|
||||||
|
|
||||||
|
source=(
|
||||||
|
"${_tar_name}.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v${pkgver}/${_tar_name}.tar.gz"
|
||||||
|
"filebrowser.service::materials/filebrowser.service"
|
||||||
|
)
|
||||||
|
|
||||||
|
function package {
|
||||||
|
install -Dm755 ${srcdir}/filebrowser ${pkgdir}/usr/bin/filebrowser
|
||||||
|
|
||||||
|
install -Dm644 -T ${srcdir}/CHANGELOG.md ${pkgdir}/usr/share/filebrowser/
|
||||||
|
install -Dm644 -T ${srcdir}/LICENSE ${pkgdir}/usr/share/filebrowser/
|
||||||
|
install -Dm644 -T ${srcdir}/README.md ${pkgdir}/usr/share/filebrowser/
|
||||||
|
|
||||||
|
install -Dm644 ${srcdir}/filebrowser.service ${pkgdir}/usr/lib/systemd/system/filebrowser.service
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue