# Maintainer: Erich Eckner <arch at eckner dot net>
_pkgname='hardlinkedBackups'
pkgname=hardlinked-backups
pkgver=1.5.5
pkgrel=1
pkgdesc='Generate hardlinked incremental backups via rsync (and possibly through a SOCKS-tunnel via ssh)'
arch=('any')
url="https://git.eckner.net/Erich/${_pkgname}"
license=('GPL')
groups=()
depends=('rsync' 'bc')
makedepends=('help2man')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=('etc/backup.conf')
options=()
source=(
    "https://git.eckner.net/Erich/${_pkgname}/snapshot/${_pkgname}-${pkgver}.tar.xz"
)
sha512sums=('6a37769106d238257d5e2b509375898536af93b7ae7ed63781159c3074979844ad3a3d3f290db77615eb5f79debc324b68e39527c0b9849891ca606a72573ca9')

build() {

    cd ${_pkgname}-${pkgver}
    make

}

package() {

    cd ${_pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install

}