[arch-commits] Commit in snapper/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Wed Jan 31 15:58:27 UTC 2018
Date: Wednesday, January 31, 2018 @ 15:58:26
Author: mtorromeo
Revision: 288426
archrelease: copy trunk to community-x86_64
Added:
snapper/repos/community-x86_64/PKGBUILD
(from rev 288425, snapper/trunk/PKGBUILD)
Deleted:
snapper/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 129 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 63 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-31 15:49:09 UTC (rev 288425)
+++ PKGBUILD 2018-01-31 15:58:26 UTC (rev 288426)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
-
-pkgname=snapper
-pkgver=0.5.0
-pkgrel=4
-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"
-license=('GPL2')
-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"
- "iostream.patch::https://patch-diff.githubusercontent.com/raw/openSUSE/snapper/pull/355.patch")
-sha256sums=('8876b6fa946dc46df5dcbaf747bb11ac4c5a3418dd59c5ba09c47910cbad1835'
- '8bccce57b694179561f0f33aaa2dc040ba7276e4f193dc59ef3f0983dec5acfc')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i "$srcdir/iostream.patch"
-
- # cron names
- sed -e 's at suse.de-snapper@snapper at g' -i scripts/Makefile.am
-
- # fix sysconf dir
- sed -e 's@/etc/sysconfig@/etc/conf.d at g' -i scripts/*snapper*
-
- # fix pam plugin install location
- sed -i -e 's at shell echo /@shell echo /usr/@g' pam/Makefile.am
-
- # all in /usr/bin
- sed -i -e 's@/usr/sbin@/usr/bin at g' data/org.opensuse.Snapper.service
-
- # NTP drift file location
- sed -i -e 's@/var/lib/ntp/drift/ntp.drift@/var/lib/ntp/ntp.drift@' data/base.txt
-
- # man pages sysconfig location
- sed -i -e 's@/etc/sysconfig@/etc/conf.d at g' doc/*
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- 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
-}
Copied: snapper/repos/community-x86_64/PKGBUILD (from rev 288425, snapper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-31 15:58:26 UTC (rev 288426)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Tom Kuther <gimpel at sonnenkinder.org>
+
+pkgname=snapper
+pkgver=0.5.4
+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"
+license=('GPL2')
+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")
+sha256sums=('5af181423fb2b272ad45c6a38501aad13f87f3efb0b3d37595b795ec1afab7f2')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # cron names
+ sed -e 's at suse.de-snapper@snapper at g' -i scripts/Makefile.am
+
+ # fix sysconf dir
+ sed -e 's@/etc/sysconfig@/etc/conf.d at g' -i scripts/*snapper*
+
+ # fix pam plugin install location
+ sed -i -e 's at shell echo /@shell echo /usr/@g' pam/Makefile.am
+
+ # all in /usr/bin
+ sed -i -e 's@/usr/sbin@/usr/bin at g' data/org.opensuse.Snapper.service
+
+ # NTP drift file location
+ sed -i -e 's@/var/lib/ntp/drift/ntp.drift@/var/lib/ntp/ntp.drift@' data/base.txt
+
+ # man pages sysconfig location
+ sed -i -e 's@/etc/sysconfig@/etc/conf.d at g' doc/*
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ 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
+}
More information about the arch-commits
mailing list