diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bc735db3a5b8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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}" +} |