Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

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

By: a guest on Jun 8th, 2013  |  syntax: Bash  |  size: 0.88 KB  |  hits: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }