mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:47:21 +08:00
27 lines
924 B
Bash
27 lines
924 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# 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
|
|
}
|