summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f8a3b3bfc47920c0d2a0bdf8219bd6294bccb87 (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
# Maintainer: Eike Baran <eike.baran at uni-oldenburg.de>

pkgname=bsync-git
pkgver=90.d457742
pkgrel=1
pkgdesc="Bidirectional Synchronization using Rsync"
url="https://github.com/dooblem/bsync"
license=('GPL')
depends=('python>=3')
makedepends=('git')
arch=('any')
source=("git+https://github.com/dooblem/bsync")
# Because the sources are not static, skip Git checksum:
md5sums=('SKIP')

# see also https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
pkgver() {
	cd "$srcdir/bsync"
	echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
	install -D "$srcdir/bsync/bsync" "$pkgdir/usr/bin/bsync"
}