[arch-commits] Commit in archivetools/repos (3 files)

Sébastien Luttringer seblu at archlinux.org
Sun Aug 28 22:34:12 UTC 2016


    Date: Sunday, August 28, 2016 @ 22:34:11
  Author: seblu
Revision: 274784

archrelease: copy trunk to extra-any

Added:
  archivetools/repos/extra-any/
  archivetools/repos/extra-any/PKGBUILD
    (from rev 274783, archivetools/trunk/PKGBUILD)
  archivetools/repos/extra-any/archivetools.install
    (from rev 274783, archivetools/trunk/archivetools.install)

----------------------+
 PKGBUILD             |   30 ++++++++++++++++++++++++++++++
 archivetools.install |   10 ++++++++++
 2 files changed, 40 insertions(+)

Copied: archivetools/repos/extra-any/PKGBUILD (from rev 274783, archivetools/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2016-08-28 22:34:11 UTC (rev 274784)
@@ -0,0 +1,30 @@
+# Maintainer: Sébastien Luttringer
+
+pkgname=archivetools
+pkgver=1
+pkgrel=1
+pkgdesc='Archlinux Archive Tools'
+arch=('any')
+url='https://github.com/seblu/archivetools'
+license=('GPL2')
+depends=('rsync' 'hardlink' 'xz' 'util-linux' 'systemd')
+makedepends=('git')
+conflicts=('archivetools')
+backup=('etc/archive.conf')
+install=archivetools.install
+source=("git+https://github.com/seblu/archivetools.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+package() {
+  cd $pkgname
+  install -Dm644 archive.conf "$pkgdir/etc/archive.conf"
+  install -Dm755 archive.sh "$pkgdir/usr/bin/archive"
+  # systemd stuff
+  install -Dm644 archive.sysusers "$pkgdir/usr/lib/sysusers.d/archive.conf"
+  install -Dm644 archive.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/archive.conf"
+  for _p in archive.{timer,service} archive-hardlink.{timer,service}; do
+    install -Dm644 $_p "$pkgdir/usr/lib/systemd/system/$_p"
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: archivetools/repos/extra-any/archivetools.install (from rev 274783, archivetools/trunk/archivetools.install)
===================================================================
--- extra-any/archivetools.install	                        (rev 0)
+++ extra-any/archivetools.install	2016-08-28 22:34:11 UTC (rev 274784)
@@ -0,0 +1,10 @@
+#/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+  systemd-sysusers archive.conf
+  systemd-tmpfiles --create archive.conf
+  :
+}
+
+# vim:set ts=2 sw=2 ft=sh et:



More information about the arch-commits mailing list