1310c2f6f1
All checks were successful
ci/woodpecker/push/build Pipeline was successful
- dufs 0.34.2 to 0.35.0 - filebrowser 2.24.1 to 2.24.2 - neovim 0.9.0 to 0.9.1
29 lines
905 B
Plaintext
29 lines
905 B
Plaintext
#/usr/bin/env bash
|
|
|
|
pkgname="filebrowser"
|
|
arch="amd64"
|
|
pkgver="2.24.2"
|
|
pkgrel=1
|
|
pkgdesc="Web File Browser"
|
|
maintainer="Leafee98 <me@leafee98.com>"
|
|
url="https://github.com/filebrowser/filebrowser"
|
|
|
|
_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 ${srcdir}/CHANGELOG.md ${pkgdir}/usr/share/filebrowser/CHANGELOG.md
|
|
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/filebrowser/LICENSE
|
|
install -Dm644 ${srcdir}/README.md ${pkgdir}/usr/share/filebrowser/README.md
|
|
|
|
install -Dm644 ${srcdir}/filebrowser.service ${pkgdir}/usr/lib/systemd/system/filebrowser.service
|
|
}
|
|
|