[arch-commits] Commit in logwatch/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Nov 24 10:48:53 UTC 2014


    Date: Monday, November 24, 2014 @ 11:48:52
  Author: spupykin
Revision: 123051

upgpkg: logwatch 7.4.1-1

upd

Modified:
  logwatch/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-24 10:48:11 UTC (rev 123050)
+++ PKGBUILD	2014-11-24 10:48:52 UTC (rev 123051)
@@ -3,8 +3,8 @@
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=logwatch
-pkgver=7.4.0
-pkgrel=3
+pkgver=7.4.1
+pkgrel=1
 arch=('any')
 pkgdesc="Logwatch is a customizable log analysis system."
 url="http://www.logwatch.org/"
@@ -16,14 +16,17 @@
 	etc/logwatch/conf/override.conf)
 source=(http://downloads.sourceforge.net/project/logwatch/logwatch-$pkgver/logwatch-$pkgver.tar.gz
 	rsyslog-messages.patch)
-md5sums=('b776466fb0633b486a41cf5aafcd9d12'
+md5sums=('a0c3d8721f877bdcd4a9089eb1b4691b'
          'e7f543259ae4f9bb0f4f1ce0638f5800')
 
+prepare() {
+	cd $srcdir/$pkgname-$pkgver/scripts/shared
+	patch -F100 -p6 applystddate <$srcdir/rsyslog-messages.patch
+}
+
 package() {
 	cd $srcdir/$pkgname-$pkgver
 
-	(cd scripts/shared/ && patch -p6 applystddate <$srcdir/rsyslog-messages.patch)
-
 	install -m 0755 -d $pkgdir/usr/share/logwatch
 	install -m 0755 -d $pkgdir/usr/share/logwatch/dist.conf
 	install -m 0755 -d $pkgdir/usr/share/logwatch/dist.conf/logfiles


More information about the arch-commits mailing list