jobextra/anything-sync-daemon/PKGBUILD

41 lines
1.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=anything-sync-daemon
pkgver=5.86
pkgrel=01
pkgdesc="Symlinks and syncs user specified dirs to RAM"
arch=(any)
url="https://github.com/graysky2/anything-sync-daemon"
depends=(bash findutils procps-ng rsync )
optdepends=('bash-completion: for completion when using bash'
'zsh-completions: for completion when using zhs')
install="${pkgname}.install"
backup=(etc/asd.conf)
source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz")
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/"
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
#---- license gpg-key sha256sums ----
license=(MIT)
sha512sums=('1554dd382ebc2aa6887908d8165378aeaaa768dbd6412e97fc0a095020fcefd17fad973b771880d959e8f6a7856adfb905d3401d0b9eba0b3beebb1482521c8d')
b2sums=('f773c4d779c15c49f78fb659084dfdc0988be05f9dbf898b1a11b18a8b414df84b5645c0f299320194e6aa07100deaef7fbaa0c0453eb291108db50114ed1b61')
sha256sums=(e78544efeb16a6d4ae375bcc964007475f9ce0fb602f721b6cb77210c1d6d072) # anything-sync-daemon-5.86.tar.gz