From f1edce40603fe4cba6ad1e9d2ffed8fa8dcabaf1 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 17 Mar 2014 17:05:39 +0000 Subject: [PATCH] removed community/snapper --- community/snapper/PKGBUILD | 57 -------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 community/snapper/PKGBUILD diff --git a/community/snapper/PKGBUILD b/community/snapper/PKGBUILD deleted file mode 100644 index 9d7999dad..000000000 --- a/community/snapper/PKGBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Massimiliano Torromeo -# Contributor: Tom Kuther - -pkgname=snapper -pkgver=0.1.8 -pkgrel=2.1 -pkgdesc="A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping." -arch=('i686' 'x86_64') -url="http://snapper.io" -license=('GPL2') -depends=('btrfs-progs' 'libxml2' 'dbus' 'boost-libs') -makedepends=('boost' 'lvm2' 'libxslt' 'docbook-xsl' 'pam' 'git') -backup=('etc/conf.d/snapper') -source=("ftp://ftp.suse.com/pub/projects/$pkgname/$pkgname-$pkgver.tar.bz2") -options=(!libtool) - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # rename cron scripts - sed -i -e 's@suse.de-@@g' scripts/Makefile.am - # fix config location in cron scripts - sed -i -e 's@/etc/sysconfig/@/etc/conf.d/@g' scripts/snapper-{daily,hourly} - - # boost fixlets - Arch doesn't use -mt suffix - sed -i -e 's@lboost_thread-mt@lboost_thread@g' snapper/Makefile.am - sed -i -e 's@lboost_system-mt@lboost_system@g' snapper/Makefile.am - - # fix pam plugin install location - sed -i -e 's@shell echo /@shell echo /usr/@g' pam/Makefile.am - # Arch all in /usr/bin - sed -i -e 's@/usr/sbin@/usr/bin@g' data/org.opensuse.Snapper.service - - aclocal - libtoolize --force --automake --copy - autoheader - automake --add-missing --copy - autoconf - ./configure --prefix=/usr \ - --sbindir=/usr/bin \ - --with-conf=/etc/conf.d \ - --disable-zypp \ - --disable-silent-rules - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - install -Dm644 data/sysconfig.snapper "$pkgdir"/etc/conf.d/snapper - - rm -f "$pkgdir"/etc/snapper/zypp-plugin.conf - rm -f "$pkgdir"/usr/share/man/man*/snapper-zypp-plugin.*.gz -} - -sha256sums=('989a261411b7bf4f23373222402c37764e4f1714e301a8e9e396bb92a74e0539')