summaryrefslogtreecommitdiff
path: root/hardlinked-backups/PKGBUILD
blob: 896bc955d5f8b62593f899b867c428fe9d907095 (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
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Erich Eckner <arch at eckner dot net>
_pkgname='hardlinkedBackups'
pkgname=hardlinked-backups
pkgver=1.4.9
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=('b7db9b0e7255aecc7e90b9ef1cf2bea10347e8723c1b030825a370fc48f03daeaa4f761fbe22c5ba843e6494a6601f4d164c6c0ae88609eca48754457a07aafd')

build() {

    cd ${_pkgname}-${pkgver}
    make

}

package() {

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

}