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

Jan de Groot jgc at archlinux.org
Wed Apr 6 07:14:20 UTC 2011


    Date: Wednesday, April 6, 2011 @ 03:14:19
  Author: jgc
Revision: 118234

Fix pkgname -> pkgbase

Modified:
  dhcp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-04-06 06:30:24 UTC (rev 118233)
+++ PKGBUILD	2011-04-06 07:14:19 UTC (rev 118234)
@@ -12,7 +12,7 @@
 arch=('i686' 'x86_64')
 license=('custom:isc-dhcp')
 url="https://www.isc.org/software/dhcp"
-source=(http://ftp.isc.org/isc/${pkgname}/${pkgname}-${_pkgver}.tar.gz
+source=(http://ftp.isc.org/isc/${pkgbase}/${pkgbase}-${_pkgver}.tar.gz
         dhcpd dhcp.conf.d
         dhcp-4.1.1-missing-ipv6-not-fatal.patch
         dhclient-script-pathFixes.patch)
@@ -23,7 +23,7 @@
          'ddcc5cd576ec631ade6c4da21952b50b')
 
 build() {
-  cd ${srcdir}/${pkgname}-${_pkgver}
+  cd ${srcdir}/${pkgbase}-${_pkgver}
 
   # Define _GNU_SOURCE to fix IPV6.
   sed '/^CFLAGS="$CFLAGS/ s/INGS"/INGS -D_GNU_SOURCE"/' -i configure
@@ -46,7 +46,7 @@
   backup=('etc/dhcpd.conf' 'etc/conf.d/dhcp')
   install=dhcp.install
   
-  cd ${srcdir}/${pkgname}-${_pkgver}
+  cd ${srcdir}/${pkgbase}-${_pkgver}
   make DESTDIR=${pkgdir} install
 
   install -D -m755 ${srcdir}/dhcpd ${pkgdir}/etc/rc.d/dhcpd
@@ -64,7 +64,7 @@
   pkgdesc="dhclient is standalone client from the dhcp package"
   depends=('bash')
 
-  cd ${srcdir}/${pkgname}-${_pkgver}
+  cd ${srcdir}/${pkgbase}-${_pkgver}
   make -C client DESTDIR=${pkgdir} install
 
   # move dhclient.conf to dhclient.conf.example




More information about the arch-commits mailing list