summaryrefslogtreecommitdiff
path: root/pcr/hwd/PKGBUILD
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-06-01 08:41:55 +0200
committeraurelien <aurelien@xload.io>2014-06-01 08:41:55 +0200
commit046d46bbccb15826cb67244a90c65bb7dd84279c (patch)
tree59dcd056c0e40915263abc34e9e1688baecd14c5 /pcr/hwd/PKGBUILD
parent66565071c1ea5fa225b2825e12f112d458a4ab37 (diff)
downloadabslibre-046d46bbccb15826cb67244a90c65bb7dd84279c.tar.gz
abslibre-046d46bbccb15826cb67244a90c65bb7dd84279c.tar.bz2
abslibre-046d46bbccb15826cb67244a90c65bb7dd84279c.zip
hwd
Diffstat (limited to 'pcr/hwd/PKGBUILD')
-rw-r--r--pcr/hwd/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/hwd/PKGBUILD b/pcr/hwd/PKGBUILD
new file mode 100644
index 000000000..f4af6f8f5
--- /dev/null
+++ b/pcr/hwd/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Diogo Leal <estranho@diogoleal.com>
+# Contributor: Diogo Leal <estranho@diogoleal.com>
+# Maintainer : Parabola GNU / Linux-libre <aurelien@hackers.camp>
+
+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
+}