# Maintainer: Martial Toniotti pkgname=standardfile-bin pkgver=0.12.1 pkgrel=1 pkgdesc='Standard File Server, Go Implementation' url='https://github.com/mdouchement/standardfile' arch=('x86_64' 'aarch64') license=('MIT') depends=('glibc') backup=('etc/standardfile.yaml') source_x86_64=("https://github.com/mdouchement/standardfile/releases/download/v${pkgver}/standardfile-linux-amd64") source_aarch64=("https://github.com/tectiv3/standardfile/releases/download/v${pkgver}/standardfile_${pkgver}_linux_arm64.tar.gz") sha256sums_x86_64=('b005f9562cb6bca86548788eb1195eaa4ccadec89ad6912446c4c39892837644') sha256sums_aarch64=('7ce24dfb2af9c63e43c0fb202d5b085cabb8132696bd3423a1877ef53b27242a') source=(standardfile.service standardfile.sysusers standardfile.tmpfiles standardfile.example.yaml standardfile.yaml) sha256sums=('6ec3ff769f3c9775443009d76da5fca010ee94f1e71f474af6be5a33b9a8e70c' 'a5e8669b915dc6553f0af9137840adfabb020f391846d9f3ab3dbe3175d320fa' '2014138283a50581136b85a4d4964ee70821cb0ed965fa5acc1c3d7611855288' '1010525aa4b320cb0ccf7b5411ca5879892c34711f1505f26be3f16214ead07c' '1010525aa4b320cb0ccf7b5411ca5879892c34711f1505f26be3f16214ead07c') package() { install -Dm 755 "${srcdir}/standardfile-linux-amd64" "${pkgdir}/usr/bin/standardfile" install -Dm 644 "${srcdir}/standardfile.service" "${pkgdir}/usr/lib/systemd/system/standardfile.service" install -Dm 644 "${srcdir}/standardfile.sysusers" "${pkgdir}/usr/lib/sysusers.d/standardfile.conf" install -Dm 644 "${srcdir}/standardfile.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/standarfile.conf" install -Dm 644 "${srcdir}/standardfile.example.yaml" "${pkgdir}/etc/standardfile.example.yaml" }