diff options
author | axionl | 2018-02-02 01:05:56 +0800 |
---|---|---|
committer | axionl | 2018-02-02 01:05:56 +0800 |
commit | 987a58944de1e991ea94eafa3f7dad2dfbb6709a (patch) | |
tree | b6ec55e6fbb45d4655262a0dfea0b61bfaceb918 /PKGBUILD | |
download | aur-987a58944de1e991ea94eafa3f7dad2dfbb6709a.tar.gz |
chore: add circle ci and use external assets; refactor: moving repository
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5855a46a0389 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: axionl <axionl@aosc.io> +pkgname=filebrowser-bin +pkgver=1.5.0 +pkgrel=1 +pkgdesc="Web File Manager which can be used as a middleware or standalone app." +arch=('x86_64') +url="https://github.com/filebrowser/filebrowser" +license=('Apache') +depends=('glibc') +backup=('etc/filebrowser/config.json' + 'usr/share/filebrowser/storage/README.txt' + 'usr/lib/systemd/system/filebrowser.service') +source=('filebrowser.service' + 'config.json' + 'README.txt' + 'https://raw.githubusercontent.com/hacdias/filebrowser/master/LICENSE.md') + +source_x86_64=(linux-amd64-filebrowser.tar.gz::https://github.com/filebrowser/filebrowser/releases/download/v$pkgver/linux-amd64-filebrowser.tar.gz) + +md5sums=('8c32a68ea6e6c9079f989bf72bb37ba9' + 'd47072829df221f4ac29b9f299d964f0' + '93513176e4f94536c504e5d5045e70f8' + 'd92e60ee98664c54f68aa515a6169708') +md5sums_x86_64=('62c40a4f5da3a6fb8ae6a596a363f4f0') + +package() { + dir="$srcdir" + install -Dm644 filebrowser.service ${pkgdir}/usr/lib/systemd/system/filebrowser.service + install -Dm644 config.json ${pkgdir}/etc/filebrowser/config.json + install -Dm755 $dir/filebrowser ${pkgdir}/usr/bin/filebrowser + install -Dm755 LICENSE.md ${pkgdir}/usr/share/licenses/filebrowser-bin/LICENSE + install -Dm644 README.txt ${pkgdir}/usr/share/filebrowser/storage/README.txt + cat ${pkgdir}/usr/share/filebrowser/storage/README.txt +} |