community/snapper to 0.5.6-1

This commit is contained in:
Kevin Mihelich 2018-07-31 18:16:47 +00:00
parent c128f622e4
commit 4cdc04f938

View file

@ -6,8 +6,8 @@
# - pass LIBS="-lboost_thread -lboost_system" to configure to fix linking on ARM
pkgname=snapper
pkgver=0.5.4
pkgrel=2
pkgver=0.5.6
pkgrel=1
pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping."
arch=('x86_64')
url="http://snapper.io"
@ -16,17 +16,12 @@ depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs' 'acl')
makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git' 'systemd')
optdepends=('pam: pam_snapper')
backup=('etc/conf.d/snapper')
source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2"
'add-missing-pthread-library-for-server.patch')
sha256sums=('5af181423fb2b272ad45c6a38501aad13f87f3efb0b3d37595b795ec1afab7f2'
'933c3f6c4974885a015951906aba7771c5785e520b3d8f3619a92c2186bc6019')
source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2")
sha256sums=('12bec02f1b1b1b8e88a44083312cba1971e2af3f79df94af59430db7e31ba78b')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# https://github.com/openSUSE/snapper/pull/409
patch -Np1 -i ../add-missing-pthread-library-for-server.patch
# cron names
sed -e 's@suse.de-snapper@snapper@g' -i scripts/Makefile.am