feat: better config handling
This commit is contained in:
parent
68ce04def9
commit
e52f9cc75c
@ -1,7 +1,7 @@
|
||||
# Maintainer: Louis Dalibard <ontake@ontake.dev>
|
||||
_pkgbase="leech"
|
||||
pkgname="$_pkgbase-git"
|
||||
pkgver=r4.gcc19a48
|
||||
pkgver=r11.gd38556b
|
||||
pkgrel=1
|
||||
pkgdesc="A simple HTTP(S) file hosting server."
|
||||
arch=("x86_64" "armv7h" "aarch64")
|
||||
@ -35,7 +35,7 @@ build() {
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/${_pkgbase}/${_pkgbase}" "${pkgdir}"/usr/bin/${_pkgbase}
|
||||
install -Dm644 "${srcdir}/${_pkgbase}/pkg/config.json" "${pkgdir}"/etc/leech/config.json
|
||||
install -Dm644 "${srcdir}/${_pkgbase}/pkg/config.json" "${pkgdir}"/etc/leech/config.json.example
|
||||
install -Dm644 "${srcdir}/${_pkgbase}/pkg/leech.service" "${pkgdir}"/usr/lib/systemd/system/leech.service
|
||||
install -Dm644 "${srcdir}/${_pkgbase}/pkg/sysusers.conf" "${pkgdir}"/usr/lib/sysusers.d/${_pkgbase}.conf
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user