SHARE
TWEET

hwd PKGBUILD updated to work after binary move to /usr/bin

a guest Jun 8th, 2013 64 Never
  1. # $Id: PKGBUILD 36955 2009-04-29 01:32:59Z thayer $
  2. # Contributor: Diogo Leal <estranho@diogoleal.com>
  3. # Contributor: Kamil Śliwak <cameel2/at/gmail/com>
  4. # Maintainer: Diogo Leal <estranho@diogoleal.com>
  5.  
  6. pkgname=hwd
  7. pkgver=5.5.2
  8. pkgrel=2
  9. pkgdesc="Hardware detect and xorg.conf generator for Arch Linux"
  10. arch=('i686' 'x86_64')
  11. url="http://user-contributions.org/projects/hwd/hwd.html"
  12. license=('GPL')
  13. depends=('bash' 'pciutils' 'usbutils' 'ddcxinfo-arch' 'wget')
  14. install=hwd.install
  15. source=(http://user-contributions.org/projects/hwd/src/$pkgname-$pkgver.bin.tar.gz)
  16. md5sums=('61af86fcec32b0caa541f7202d584d25')
  17.  
  18. build() {
  19.   cd $srcdir/$pkgname-$pkgver
  20.   install -d ${pkgdir}/{etc/hwd,usr/bin,usr/share/hwd}
  21.   install -Dm755 usr/sbin/* ${pkgdir}/usr/bin/ || return 1
  22.   for x in "etc/hwd" "usr/share/hwd/" "usr/bin" ; do install -Dm755 $x/* ${pkgdir}/$x/ || return 1; done
  23. }
RAW Paste Data
Top