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

Aaron Griffin aaron at archlinux.org
Tue Nov 4 05:31:12 UTC 2008


    Date: Tuesday, November 4, 2008 @ 00:31:04
  Author: aaron
Revision: 18329

upgpkg: logrotate 3.7.7-2
    Fix FHS man pages

Modified:
  logrotate/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-04 05:12:23 UTC (rev 18328)
+++ PKGBUILD	2008-11-04 05:31:04 UTC (rev 18329)
@@ -4,7 +4,7 @@
 
 pkgname=logrotate
 pkgver=3.7.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Rotates system logs automatically"
 url='http://cvs.fedora.redhat.com'
 arch=(i686 x86_64)
@@ -27,7 +27,10 @@
     config.h
   sed -i "s|CFLAGS = -Wall|CFLAGS = -Wall $CFLAGS" Makefile
   make || return 1
-  make PREFIX=$startdir/pkg install
-  install -D -m644 ../logrotate.conf $startdir/pkg/etc/logrotate.conf
-  install -D -m744 ../logrotate.cron.daily $startdir/pkg/etc/cron.daily/logrotate
+  make PREFIX=$pkgdir install
+  install -D -m644 ../logrotate.conf $pkgdir/etc/logrotate.conf
+  install -D -m744 ../logrotate.cron.daily $pkgdir/etc/cron.daily/logrotate
+
+  mkdir -p $pkgdir/usr/share/
+  mv $pkgdir/usr/man $pkgdir/usr/share
 }




More information about the arch-commits mailing list