# Contributor: Diogo Leal # Contributor: Diogo Leal # Maintainer : Parabola GNU / Linux-libre pkgname=hwd pkgver=5.5.2 pkgrel=2 pkgdesc="Hardware detect and xorg.conf generator for Arch Linux" arch=('i686' 'x86_64') url="http://user-contributions.org/projects/hwd/hwd.html" 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 $srcdir/$pkgname-$pkgver install -d ${pkgdir}/{etc/hwd,usr/bin,usr/share/hwd} install -Dm755 usr/sbin/* ${pkgdir}/usr/bin/ || return 1 for x in "etc/hwd" "usr/share/hwd/" "usr/bin" ; do install -Dm755 $x/* ${pkgdir}/$x/ || return 1; done }