blob: 5bb8edb63a068a8d7b0ac128de28b06d46ed306e (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rsnapshot
pkgver=1.4.1
pkgrel=0
pkgdesc="Local and remote filesystem snapshot utility"
url="http://www.rsnapshot.org/"
arch="noarch"
license="GPLv2+"
depends="perl rsync openssh-client"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://www.rsnapshot.org/downloads/rsnapshot-$pkgver.tar.gz
"
_builddir="$srcdir"/rsnapshot-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="5bbcc47f7ecf3272bc7d144623f772d1 rsnapshot-1.4.1.tar.gz"
sha256sums="fb4a1129a7d3805c41749fd0494debfe2ca2341eba0f8b50e4f54985efe448e8 rsnapshot-1.4.1.tar.gz"
sha512sums="a99e639bd706aafac82d2a4a40fc6c7fa026321c527ad5826a4fc7917cadea5962c4c7988c98efbe06833ef70db081605aa47a6d77c04dcf6077cc232c078cbf rsnapshot-1.4.1.tar.gz"
|