blob: f4fad90247315ddb9cf1e3dd72a06ed4a5c5787e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: axionl <axionl@aosc.io>
# Contributor: Sherlock Holo <sherlockya(at)gmail.com>
pkgname=filebrowser-bin
pkgver=2.31.2
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"
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")
sha256sums=('1d85acca4ca9bcdb6767ff60891d6e0a4e9c324fc50bed1231e8c891eb9c4420'
'29031d87f8294889ea33658570422406ca8c13367ae20cbcc1f98132df83ea14'
'3495234f011491a1d448af24bfe8af8018bb4c5b1a4c4ef53651fb068d9801c4'
'6246fbeac57750e146216892ed6eb1d43a995f987bb89ef12bcbfb3963f5aa2d'
'fd3da1de58e98185e0043070f55b46a86a78b9ebcdda949d0cd8a83e9b0b230c'
'1fc20cab3a7d67d7997126a98dd151a362dc4600201ca37fd608b959d25985db')
sha256sums_x86_64=('a4eb80ffa5845597dc50a53f40ca230636a7c957ba97390c659bced3bab1c8f1')
sha256sums_aarch64=('6136f11f85d2cc0a7f4828772d389cad4d6d44f6840c036e3bae204deea147ae')
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"
install -Dm644 "filebrowser.servic"e -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:
|