[arch-commits] Commit in hwd/trunk (PKGBUILD hwd.install)

Thayer Williams thayer at archlinux.org
Mon Nov 17 23:53:18 UTC 2008


    Date: Monday, November 17, 2008 @ 18:53:18
  Author: thayer
Revision: 19253

upgpkg: hwd 5.3.4-2
    pkgbuild cleanup

Modified:
  hwd/trunk/PKGBUILD
  hwd/trunk/hwd.install

-------------+
 PKGBUILD    |   11 ++++++-----
 hwd.install |    6 +-----
 2 files changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-17 23:27:50 UTC (rev 19252)
+++ PKGBUILD	2008-11-17 23:53:18 UTC (rev 19253)
@@ -1,22 +1,23 @@
 # $Id$
-# Maintainer: damir <damir at archlinux.org>
 # Contributor: Markku (rasat at Arch Linux Forums)
+# Contributor: damir <damir at archlinux.org>
+# Maintainer: Thayer Williams <thayer at archlinux.org>
 
 pkgname=hwd
 pkgver=5.3.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Hardware detect for Arch Linux (devfs and udev)."
 url="http://user-contributions.org/projects/hwd/hwd.html"
+license=('GPL')
 arch=('i686' 'x86_64')
-license=('GPL')
 depends=('bash' 'pciutils' 'usbutils' 'ddcxinfo-arch' 'wget')
 install=hwd.install
 source=(http://user-contributions.org/projects/hwd/src/$pkgname-$pkgver.bin.tar.gz)
 
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  cp -R $startdir/src/$pkgname-$pkgver/{etc,usr} $startdir/pkg/ || return 1
+  cd $srcdir/$pkgname-$pkgver
+  cp -R $srcdir/$pkgname-$pkgver/{etc,usr} $pkgdir/ || return 1
 }
 
 md5sums=('002cfb6de516442203073084b6c1a7f9')

Modified: hwd.install
===================================================================
--- hwd.install	2008-11-17 23:27:50 UTC (rev 19252)
+++ hwd.install	2008-11-17 23:53:18 UTC (rev 19253)
@@ -1,15 +1,11 @@
-# arg 1:  the new package version
 post_install() {
     echo "==> Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
 }
 
-# arg 1:  the new package version
-# arg 2:  the old package version
 post_upgrade() {
-    echo "==> Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
+    post_install 
 }
 
-# arg 1:  the old package version
 pre_remove() {
     rm -R /etc/hwd >/dev/null 2>&1
 }




More information about the arch-commits mailing list