db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / metalog / trunk / PKGBUILD
blobd0855cb93f88fb4e3516ba6268d5c7dfc718ff5b
1 # Maintainer: juergen <juergen@archlinux.org>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 pkgname=metalog
5 pkgver=20200113
6 pkgrel=2
7 pkgdesc="A modern replacement for syslogd and klogd"
8 url="http://metalog.sourceforge.net"
9 license=('GPL')
10 arch=('x86_64')
11 makedepends=('autoconf-archive')
12 depends=('pcre')
13 provides=('logger')
14 backup=('etc/metalog.conf')
15 source=("https://github.com/hvisage/metalog/archive/metalog-${pkgver}.tar.gz" 'metalog.service')
16 sha256sums=('cf4b5601697145420af08633c873e1d4c3c437643b8fe3fb5dd8a30c1a20e73d'
17             'd6e51d73683d2d460f9b9cf253f85118a6c63266d0d3a161100f80f148f4c430')
19 build() {
20   cd $pkgname-$pkgname-${pkgver}
21   ./autogen.sh
22   ./configure --prefix=/usr --sysconfdir=/etc --sbin=/usr/bin
23   make
26 package() {
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