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

Eric Belanger eric at archlinux.org
Sun Aug 10 22:04:26 EDT 2008


    Date: Sunday, August 10, 2008 @ 22:04:26
  Author: eric
Revision: 8420

upgpkg: dhcp 3.1.1-1
    FHS man pages

Modified:
  dhcp/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-10 22:38:53 UTC (rev 8419)
+++ PKGBUILD	2008-08-11 02:04:26 UTC (rev 8420)
@@ -12,7 +12,7 @@
 install=dhcp.install
 source=(http://ftp.isc.org/isc/dhcp/dhcp-$pkgver.tar.gz dhcp-3.0.3-tr.c.patch \
         dhcpd)
-md5sums=('fcc19330a9c3a0efb5620409214652a9' '39866416303b674df08b66b2d094e523'
+md5sums=('fcc19330a9c3a0efb5620409214652a9' '39866416303b674df08b66b2d094e523'\
          '025b8fe98b6c0814428b671b1819a810')
 
 build() {
@@ -20,18 +20,20 @@
   patch -p1 -i ../dhcp-3.0.3-tr.c.patch || return 1
   ./configure
   make || return 1
-  make DESTDIR=$startdir/pkg INCDIR=/usr/include LIBDIR=/usr/lib install
+  make DESTDIR=$startdir/pkg INCDIR=/usr/include LIBDIR=/usr/lib \
+    USRMANDIR=/usr/share/man/man1 LIBMANDIR=/usr/share/man/man3 \
+    FFMANDIR=/usr/share/man/man5 ADMMANDIR=/usr/share/man/man8 install
   install -D -m644 server/dhcpd.conf $startdir/pkg/etc/dhcpd.conf
   #install -D -m644 client/dhclient.conf $startdir/pkg/etc/dhclient.conf
   install -D -m755 ../dhcpd $startdir/pkg/etc/rc.d/dhcpd
   touch $startdir/pkg/var/state/dhcp/dhcpd.leases
-  chmod -R 644 $startdir/pkg/usr/man/*
-  chmod 755 $startdir/pkg/usr/man/man{1,3,5,8}
+  chmod -R 644 $startdir/pkg/usr/share/man/*
+  chmod 755 $startdir/pkg/usr/share/man/man{1,3,5,8}
   #sed -i 's|etc/dhclient-script|sbin/dhclient-script|g' \
   #$startdir/pkg/etc/dhclient.conf
   rm -f $startdir/pkg/var/state/dhcp/dhcpd.leases
   rm -f ${startdir}/pkg/sbin/{dhclient,dhclient-script}
-  rm -f ${startdir}/pkg/usr/man/man{5,8}/dhclient*
+  rm -f ${startdir}/pkg/usr/share/man/man{5,8}/dhclient*
   # install licenses
   install -m644 -D $startdir/src/$pkgname-$pkgver/LICENSE \
                    $startdir/pkg/usr/share/licenses/dhcp/LICENSE




More information about the arch-commits mailing list