summaryrefslogtreecommitdiff
path: root/extra/metalog
diff options
context:
space:
mode:
Diffstat (limited to 'extra/metalog')
-rw-r--r--extra/metalog/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD
index 4d5002f2b..f44fb93ba 100644
--- a/extra/metalog/PKGBUILD
+++ b/extra/metalog/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 149960 2012-02-11 23:31:08Z allan $
+# $Id: PKGBUILD 150210 2012-02-14 21:34:23Z juergen $
# Maintainer: juergen <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=metalog
-pkgver=1.0
-pkgrel=3
+pkgver=2.0
+pkgrel=1
pkgdesc="Metalog is a modern replacement for syslogd and klogd"
url="http://metalog.sourceforge.net"
license=('GPL')
@@ -12,21 +12,19 @@ arch=('i686' 'x86_64')
depends=('pcre')
provides=('logger')
backup=('etc/metalog.conf' 'etc/conf.d/metalog')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-1.tar.lzma"
- 'metalog'
- 'metalog.confd')
-md5sums=('df4ec89f6a0df24a43f9592ee80ab6be'
+source=("http://sourceforge.net/projects/metalog/files/metalog-2.tar.xz/download" 'metalog' 'metalog.confd')
+md5sums=('e948d10d780205eae17645c89aee1361'
'cdd1d34eedbfbc2d9e659bf0a0f58f56'
'86bccd5a02996921e29eff8a0394d11f')
build() {
- cd $srcdir/$pkgname-1
+ cd $srcdir/$pkgname-2
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
- cd $srcdir/$pkgname-1
+ cd $srcdir/$pkgname-2
make DESTDIR=$pkgdir install
install -D -m755 $srcdir/metalog $pkgdir/etc/rc.d/metalog
install -D -m644 $srcdir/metalog.confd $pkgdir/etc/conf.d/metalog