Updated: 2.42.5

This commit is contained in:
Rafael Baboni Dominiquini 2025-09-07 11:05:41 -03:00
parent c65700298e
commit c3c89c8e69
3 changed files with 58 additions and 35 deletions

View file

@ -1,31 +1,31 @@
pkgbase = filebrowser-bin
pkgdesc = Web File Manager which can be used as a middleware or standalone app.
pkgver = 2.40.2
pkgver = 2.42.5
pkgrel = 1
url = https://github.com/filebrowser/filebrowser
install = filebrowser-bin.install
arch = x86_64
arch = aarch64
license = Apache-2.0
depends = glibc
provides = filebrowser
conflicts = filebrowser
backup = etc/filebrowser/filebrowser.conf
source = filebrowser.service
source = filebrowser@.service
source = filebrowser-bin.install
source = filebrowser.sysusers
source = filebrowser.tmpfiles
source = https://raw.githubusercontent.com/hacdias/filebrowser/master/LICENSE
source = filebrowser-bin.install
source = LICENSE-2.42.5::https://raw.githubusercontent.com/filebrowser/filebrowser/v2.42.5/LICENSE
source = README-2.42.5.md::https://raw.githubusercontent.com/filebrowser/filebrowser/v2.42.5/README.md
sha256sums = 1d85acca4ca9bcdb6767ff60891d6e0a4e9c324fc50bed1231e8c891eb9c4420
sha256sums = 29031d87f8294889ea33658570422406ca8c13367ae20cbcc1f98132df83ea14
sha256sums = 3495234f011491a1d448af24bfe8af8018bb4c5b1a4c4ef53651fb068d9801c4
sha256sums = 6246fbeac57750e146216892ed6eb1d43a995f987bb89ef12bcbfb3963f5aa2d
sha256sums = fd3da1de58e98185e0043070f55b46a86a78b9ebcdda949d0cd8a83e9b0b230c
sha256sums = 1fc20cab3a7d67d7997126a98dd151a362dc4600201ca37fd608b959d25985db
source_x86_64 = linux-amd64-filebrowser-2.40.2.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v2.40.2/linux-amd64-filebrowser.tar.gz
sha256sums_x86_64 = 7f5787625edac6a03823e3dc61b45d4dba5a83feb416f06ba6412706a4bbeb79
source_aarch64 = linux-aarch64-filebrowser-2.40.2.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v2.40.2/linux-arm64-filebrowser.tar.gz
sha256sums_aarch64 = e4f0d91e3a97b501130527bf92cded1ea59294d44d285803e509fafc6c891abd
sha256sums = 3495234f011491a1d448af24bfe8af8018bb4c5b1a4c4ef53651fb068d9801c4
sha256sums = 4a1946819f24b20b3144360151a4dc1ed1b8e407bfb11045a74884abd6816100
sha256sums = f4b36ffaae4cb6009769e1678bdcb3b4d151dd982547b178a919e4c9a85352e2
source_x86_64 = filebrowser-x86_64-2.42.5.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v2.42.5/linux-amd64-filebrowser.tar.gz
sha256sums_x86_64 = d8fc2b2c3d5b9e4b45d3e021251a897f2743213239cf1319d9dc9d660a22190e
source_aarch64 = filebrowser-aarch64-2.42.5.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v2.42.5/linux-arm64-filebrowser.tar.gz
sha256sums_aarch64 = 3c66d6a615b0fd2507db0f8d2f3576f57fef74c7765ecbac4b769d926f0ac047
pkgname = filebrowser-bin

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
*
!PKGBUILD
!.SRCINFO
!*.install
!*.service
!*.sysusers
!*.tmpfiles
!.gitignore

View file

@ -1,40 +1,55 @@
# Maintainer: axionl <axionl@aosc.io>
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
# Contributor: axionl <axionl@aosc.io>
# Contributor: Sherlock Holo <sherlockya(at)gmail.com>
pkgname=filebrowser-bin
pkgver=2.40.2
_pkgauthor=filebrowser
_pkgname=filebrowser
pkgname=${_pkgname}-bin
pkgver=2.42.5
_pkgvername=v${pkgver}
pkgrel=1
pkgdesc="Web File Manager which can be used as a middleware or standalone app."
arch=('x86_64' 'aarch64')
url="https://github.com/filebrowser/filebrowser"
_barch=('amd64' 'arm64')
url="https://github.com/${_pkgauthor}/${_pkgname}"
_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}"
license=('Apache-2.0')
depends=('glibc')
provides=("filebrowser")
conflicts=("filebrowser")
backup=("etc/filebrowser/filebrowser.conf")
install="${pkgname}.install"
source=('filebrowser.service' 'filebrowser@.service' 'filebrowser-bin.install'
'filebrowser.sysusers' 'filebrowser.tmpfiles'
'https://raw.githubusercontent.com/hacdias/filebrowser/master/LICENSE')
source_x86_64=("linux-amd64-filebrowser-${pkgver}.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v${pkgver}/linux-amd64-filebrowser.tar.gz")
source_aarch64=("linux-aarch64-filebrowser-${pkgver}.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v${pkgver}/linux-arm64-filebrowser.tar.gz")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=('filebrowser.service'
'filebrowser@.service'
'filebrowser.sysusers'
'filebrowser.tmpfiles'
'filebrowser-bin.install'
"LICENSE-${pkgver}::${_urlraw}/LICENSE"
"README-${pkgver}.md::${_urlraw}/README.md")
source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tar.gz::${url}/releases/download/${_pkgvername}/linux-${_barch[0]}-filebrowser.tar.gz")
source_aarch64=("${_pkgname}-${arch[1]}-${pkgver}.tar.gz::${url}/releases/download/${_pkgvername}/linux-${_barch[1]}-filebrowser.tar.gz")
sha256sums=('1d85acca4ca9bcdb6767ff60891d6e0a4e9c324fc50bed1231e8c891eb9c4420'
'29031d87f8294889ea33658570422406ca8c13367ae20cbcc1f98132df83ea14'
'3495234f011491a1d448af24bfe8af8018bb4c5b1a4c4ef53651fb068d9801c4'
'6246fbeac57750e146216892ed6eb1d43a995f987bb89ef12bcbfb3963f5aa2d'
'fd3da1de58e98185e0043070f55b46a86a78b9ebcdda949d0cd8a83e9b0b230c'
'1fc20cab3a7d67d7997126a98dd151a362dc4600201ca37fd608b959d25985db')
sha256sums_x86_64=('7f5787625edac6a03823e3dc61b45d4dba5a83feb416f06ba6412706a4bbeb79')
sha256sums_aarch64=('e4f0d91e3a97b501130527bf92cded1ea59294d44d285803e509fafc6c891abd')
'3495234f011491a1d448af24bfe8af8018bb4c5b1a4c4ef53651fb068d9801c4'
'4a1946819f24b20b3144360151a4dc1ed1b8e407bfb11045a74884abd6816100'
'f4b36ffaae4cb6009769e1678bdcb3b4d151dd982547b178a919e4c9a85352e2')
sha256sums_x86_64=('d8fc2b2c3d5b9e4b45d3e021251a897f2743213239cf1319d9dc9d660a22190e')
sha256sums_aarch64=('3c66d6a615b0fd2507db0f8d2f3576f57fef74c7765ecbac4b769d926f0ac047')
package() {
install -Dm644 "${srcdir}/filebrowser.sysusers" "${pkgdir}/usr/lib/sysusers.d/filebrowser.conf"
install -Dm644 "${srcdir}/filebrowser.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/filebrowser.conf"
cd "${srcdir}/" || exit
install -Dm755 "${srcdir}/filebrowser" -t "${pkgdir}/usr/bin/"
install -Dm644 "filebrowser.service" -t "${pkgdir}/usr/lib/systemd/system/"
install -Dm644 "filebrowser@.service" -t "${pkgdir}/usr/lib/systemd/system/"
install -Dm755 "LICENSE" -t "${pkgdir}/usr/share/licenses/filebrowser-bin/"
install -Dm755 "${srcdir}/filebrowser" -t "${pkgdir}/usr/bin/"
}
# vim set: ts=4 sw=4 et:
install -Dm644 "${srcdir}/filebrowser.sysusers" "${pkgdir}/usr/lib/sysusers.d/filebrowser.conf"
install -Dm644 "${srcdir}/filebrowser.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/filebrowser.conf"
install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}