1 # Maintainer: juergen <juergen@archlinux.org>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
7 pkgdesc="A modern replacement for syslogd and klogd"
8 url="http://metalog.sourceforge.net"
11 makedepends=('autoconf-archive')
14 backup=('etc/metalog.conf')
15 source=("https://github.com/hvisage/metalog/archive/metalog-${pkgver}.tar.gz" 'metalog.service')
16 sha256sums=('cf4b5601697145420af08633c873e1d4c3c437643b8fe3fb5dd8a30c1a20e73d'
17 'd6e51d73683d2d460f9b9cf253f85118a6c63266d0d3a161100f80f148f4c430')
20 cd $pkgname-$pkgname-${pkgver}
22 ./configure --prefix=/usr --sysconfdir=/etc --sbin=/usr/bin
27 cd $pkgname-$pkgname-${pkgver}
28 make DESTDIR="$pkgdir" install
29 install -D -m644 metalog.conf "$pkgdir/etc/metalog.conf"
30 install -Dm644 "${srcdir}"/metalog.service "${pkgdir}"/usr/lib/systemd/system/metalog.service