# Maintainer : Evan James <dalto@endeavouros.com>

pkgname=eos-hwtool
pkgver=1.8
pkgrel=1
pkgdesc="The EndeavourOS hardware management tool is used to manage VM and GPU drivers"
arch=('any')
license=('GPL3')
depends=('python' 'python-natsort')
optdepends=('sudo')
source=(
    eos-hwtool
    eos-hwtool.bash-completion
)
sha256sums=('48c080064886344a4544578983e09deddcdd640d32b0a8c292bc04ca4ad2eb18'
            '9836580e53c9f9d7b5d0560a685e6f4e7a367bbf3d6691b8ae7adb22fb0e3015')
package() {

    install -Dm0755 "$srcdir/eos-hwtool"        "$pkgdir/usr/bin/eos-hwtool"
    install -Dm644  eos-hwtool.bash-completion  "$pkgdir/usr/share/bash-completion/completions/eos-hwtool"
}
