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

Felix Yan felixonmars at archlinux.org
Sat May 16 12:02:45 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:02:45
  Author: felixonmars
Revision: 384416

archrelease: copy trunk to staging-x86_64

Added:
  metalog/repos/staging-x86_64/
  metalog/repos/staging-x86_64/PKGBUILD
    (from rev 384414, metalog/trunk/PKGBUILD)
  metalog/repos/staging-x86_64/metalog.service
    (from rev 384414, metalog/trunk/metalog.service)

-----------------+
 PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 metalog.service |    9 +++++++++
 2 files changed, 40 insertions(+)

Copied: metalog/repos/staging-x86_64/PKGBUILD (from rev 384414, metalog/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 12:02:45 UTC (rev 384416)
@@ -0,0 +1,31 @@
+# Maintainer: juergen <juergen at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=metalog
+pkgver=20181125
+pkgrel=2
+pkgdesc="A modern replacement for syslogd and klogd"
+url="http://metalog.sourceforge.net"
+license=('GPL')
+arch=('x86_64')
+makedepends=('autoconf-archive')
+depends=('pcre')
+provides=('logger')
+backup=('etc/metalog.conf')
+source=("https://github.com/hvisage/metalog/archive/${pkgver}.tar.gz" 'metalog.service')
+sha256sums=('191cbe9cfc2fe42c20b13f3d22299c9f575a9d03c0b7114499f3d9db08deb341'
+            'd6e51d73683d2d460f9b9cf253f85118a6c63266d0d3a161100f80f148f4c430')
+
+build() {
+  cd $pkgname-${pkgver}
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --sbin=/usr/bin
+  make
+}
+
+package() {
+  cd $pkgname-${pkgver}
+  make DESTDIR="$pkgdir" install
+  install -D -m644 metalog.conf "$pkgdir/etc/metalog.conf"
+  install -Dm644 "${srcdir}"/metalog.service "${pkgdir}"/usr/lib/systemd/system/metalog.service
+}

Copied: metalog/repos/staging-x86_64/metalog.service (from rev 384414, metalog/trunk/metalog.service)
===================================================================
--- staging-x86_64/metalog.service	                        (rev 0)
+++ staging-x86_64/metalog.service	2020-05-16 12:02:45 UTC (rev 384416)
@@ -0,0 +1,9 @@
+[Unit]
+Description=System Logger Daemon
+
+[Service]
+ExecStart=/usr/bin/metalog
+
+[Install]
+WantedBy=multi-user.target
+Alias=syslog.service


More information about the arch-commits mailing list