summaryrefslogtreecommitdiff
path: root/hardlinked-backups/PKGBUILD
blob: 6cdba891ff7f4e0a46c1d28933b5b7ad4c685e59 (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.2.2
pkgrel=1
pkgdesc='Generate hardlinked incremental backups via rsync (and possibly through a SOCKS-tunnel via ssh)'
arch=('any')
url="https://git.eckner.net/${_pkgname}.git"
license=('GPL')
groups=()
depends=('rsync')
makedepends=('help2man')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=('etc/backup.conf')
options=()
source=(
    "https://git.eckner.net/${_pkgname}.git/snapshot/${_pkgname}-${pkgver}.tar.xz"
)
sha512sums=('63418cbd460fd88e90ed65bbbe6a434afd77d0b733f01e4018b80df1cc5049b463ef0487748295f021013c068e9f7c09f3d13bc335993a57f29bd30c3a80569b')

build() {

    cd ${_pkgname}-${pkgver}
    make

}

package() {

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

}