[arch-commits] Commit in archivetools/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:28:48 UTC 2018


    Date: Friday, November 9, 2018 @ 23:28:47
  Author: foutrelis
Revision: 338773

archrelease: copy trunk to staging-any

Added:
  archivetools/repos/staging-any/
  archivetools/repos/staging-any/PKGBUILD
    (from rev 338772, archivetools/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: archivetools/repos/staging-any/PKGBUILD (from rev 338772, archivetools/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-11-09 23:28:47 UTC (rev 338773)
@@ -0,0 +1,28 @@
+# Maintainer: Sébastien Luttringer
+
+pkgname=archivetools
+pkgver=2
+pkgrel=2
+pkgdesc='Arch Linux Archive Tools'
+arch=('any')
+url='https://github.com/seblu/archivetools'
+license=('GPL2')
+depends=('rsync' 'hardlink' 'xz' 'util-linux' 'systemd')
+makedepends=('git')
+backup=('etc/archive.conf')
+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:



More information about the arch-commits mailing list