1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
5 pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf"
7 url="https://archlinux.org/packages/extra/any/hwdetect/"
9 depends=('sh' 'awk' 'grep' 'coreutils' 'file' 'sed' 'e2fsprogs' 'gzip')
10 optdepends=('cryptsetup: for encrypt mkinitcpio config support'
11 'dmraid: for dmraid mkinitcpio config support'
12 'lvm2: for lvm2 mkinitcpio config support'
13 'mdadm: for raid mkinitcpio config support')
15 sha512sums=('abe53a7b9c98452e26f50ef0c28bc140a5acf9e847c1b49398c7e33a9c2e247d0af532c55324e3cc5135ea9cf4d295443275c7ec830ee859be520d074e06f933')
18 install -D -m 755 "${srcdir}/hwdetect" "${pkgdir}/usr/bin/hwdetect"