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

Gaetan Bisson bisson at archlinux.org
Wed Aug 18 02:36:59 EDT 2010


    Date: Wednesday, August 18, 2010 @ 02:36:59
  Author: bisson
Revision: 87740

adding curly brackets

Modified:
  avahi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 06:29:28 UTC (rev 87739)
+++ PKGBUILD	2010-08-18 06:36:59 UTC (rev 87740)
@@ -22,7 +22,7 @@
 provides=('howl' 'mdnsresponder')
 replaces=('howl' 'mdnsresponder')
 options=('!libtool')
-source=("http://www.avahi.org/download/avahi-$pkgver.tar.gz"
+source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz"
         'avahi-daemon-dbus.patch'
         'gnome-nettool.png')
 sha1sums=('e763bbeba92fd5b3ba3e2af5fc85aaf99b406c8b'
@@ -31,7 +31,7 @@
 
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
   sed -i 's/Requires.private/Requires/' avahi-qt4.pc.in
   sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf
@@ -57,16 +57,16 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="${pkgdir}" install
 
   # howl and mdnsresponder compatability
-  cd "$pkgdir"/usr/include
+  cd "${pkgdir}"/usr/include
   ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h
   ln -s avahi-compat-howl howl
-  cd "$pkgdir"/usr/lib/pkgconfig
+  cd "${pkgdir}"/usr/lib/pkgconfig
   ln -s avahi-compat-howl.pc howl.pc
 
-  install -D -m 644 "$srcdir"/gnome-nettool.png "$pkgdir"/usr/share/pixmaps/gnome-nettool.png
+  install -D -m 644 "${srcdir}"/gnome-nettool.png "${pkgdir}"/usr/share/pixmaps/gnome-nettool.png
 }



More information about the arch-commits mailing list