Commit c091ad4f authored by Leo's avatar Leo

main/rsnapshot: upgrade to 1.4.3

parent 79620fbf
Pipeline #4019 passed with stages
in 2 minutes and 36 seconds
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rsnapshot
pkgver=1.4.2
pkgver=1.4.3
pkgrel=0
pkgdesc="Local and remote filesystem snapshot utility"
url="http://www.rsnapshot.org/"
arch="noarch"
license="GPL-2.0-or-later"
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
}
source="http://www.rsnapshot.org/downloads/rsnapshot-$pkgver.tar.gz"
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -35,16 +20,12 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
--localstatedir=/var
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
md5sums="860382f19e38fc649f9447397b54e442 rsnapshot-1.4.2.tar.gz"
sha256sums="042a81c45b325296b21c363f417985d857f083f87c5c27f5a64677a052f24e16 rsnapshot-1.4.2.tar.gz"
sha512sums="621be52715a6c1f70ddb251d7f6103ba3487cd0c6c607411d744866547d3ced571862a8f6b5e40a1d050696703f3a15821bd6e829a3fca057848f04566d0e4a0 rsnapshot-1.4.2.tar.gz"
sha512sums="606b5c195e609197ae6711a9764c07a0f0822fe228aba07014155636bd5caa7ad7dbf8f42316275a71490b5c9dd33bf04c42580b92f4910c38ef871694ae09e3 rsnapshot-1.4.3.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment