archrelease: copy trunk to community-any
[arch-community.git] / anything-sync-daemon / trunk / PKGBUILD
blob8bfd8052f301a853adc87bd0bb484c883da178c9
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: graysky <graysky AT archlinux DOT us>
4 pkgname=anything-sync-daemon
5 pkgver=6.0.0
6 pkgrel=2
7 pkgdesc="Symlinks and syncs user specified dirs to RAM"
8 arch=(any)
9 url="https://github.com/graysky2/anything-sync-daemon"
10 license=(MIT)
11 depends=(
12   bash
13   findutils
14   procps-ng
15   pv
16   rsync
17   systemd
18   tar
19   zstd
21 optdepends=(
22   'bash-completion: for completion when using bash'
23   'zsh-completions: for completion when using zsh'
25 install=$pkgname.install
26 backup=(etc/asd.conf)
27 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
28 sha512sums=('4161d6b6103a81fa3df4ef9ed054bd6831205624a8327e30b103d49cf0431de78fedc812004405dbecba0867df4b0be35fc70ae274931ad2592a3b7c32f93d77')
29 b2sums=('462c4f381d10ff669ddec6081a4c98d4b972373d96004d32413e6f4c36fa7d0fc2e421255e3941fc85fe01cab3cf61c17c5fcd36e0cc43db5ae1c7dad137fd91')
31 build() {
32   make -C $pkgname-$pkgver
35 package() {
36   make DESTDIR="$pkgdir/" install-systemd-all -C $pkgname-$pkgver
37   install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
38   install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"