blob: 1be0e239e8181b3cccc0819b6c909562a109e3c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 186745 2013-05-31 01:44:03Z eric $
# Maintainer: juergen <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=metalog
pkgver=3.0
pkgrel=2
pkgdesc="A modern replacement for syslogd and klogd"
url="http://metalog.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64')
depends=('pcre')
provides=('logger')
backup=('etc/metalog.conf')
source=("http://sourceforge.net/projects/metalog/files/metalog-3.tar.xz/download" 'metalog.service')
md5sums=('6fe404e49764fa24108fd090417bacb5'
'42b8138e8868ecdf0616f73efca7b339')
build() {
cd $pkgname-3
./configure --prefix=/usr --sysconfdir=/etc --sbin=/usr/bin
make
}
package() {
cd $pkgname-3
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
}
|