summaryrefslogtreecommitdiff
path: root/hardlinked-backups/PKGBUILD
blob: 3c75244b281f847a197f9dfda8b1186fd1418649 (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=2.0.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/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=('e2c96fe03e4862d3712d21c8daf83580e7f1781a4aa95a461e6f2827cc443130808707c3580717e81c8dccb8abc84d92f5c165f2153c350555d4e9a6e78d52ea')

build() {

    cd ${_pkgname}-${pkgver}
    make

}

package() {

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

}