summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc735db3a5b825a8fd2dc1f0116df64a79fee545 (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
25
#Maintainer: InvisibleRasta <nicolast88[at]gmail[dot]com>
pkgname=btrfs-sync
pkgver=16
pkgrel=1
pkgdesc="Smart and easy sync of BTRFS snapshots, locally or through SSH."
arch=('any')
url="https://github.com/nachoparker/btrfs-sync"
license=('GPL3')
source=("git+https://github.com/nachoparker/${pkgname}.git")
md5sums=('SKIP')
depends=('btrfs-progs')
optdepends=(
	'openssh: for openssh support.'
	'pv: allows a user to see the progress of data through a pipeline.'
	'pbzip2: parallel bzip2 file compression.'
)
pkgver() {
  cd "$srcdir/$pkgname"
  printf "$(git rev-list --count HEAD)"
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm 755 ${pkgname} "$pkgdir/usr/bin/${pkgname}"
}