# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=hwd pkgver=5.5.2 pkgrel=2 pkgdesc="Hardware detect and xorg.conf generator for Chakra-Project" 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) md5sums=('61af86fcec32b0caa541f7202d584d25') build() { cd $srcdir/$pkgname-$pkgver install -d ${pkgdir}/{etc/hwd,usr/bin,usr/sbin,usr/share/hwd} for x in "etc/hwd" "usr/share/hwd/" "usr/bin" "usr/sbin" ; do install -Dm755 $x/* ${pkgdir}/$x/ || return 1; done }