summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/hwd/PKGBUILD21
-rw-r--r--pcr/hwd/hwd.install30
2 files changed, 0 insertions, 51 deletions
diff --git a/pcr/hwd/PKGBUILD b/pcr/hwd/PKGBUILD
deleted file mode 100644
index bffd46937..000000000
--- a/pcr/hwd/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# 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=3
-pkgdesc="Hardware detect and xorg.conf generator"
-arch=('i686' 'x86_64' 'mips64el')
-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
-}
diff --git a/pcr/hwd/hwd.install b/pcr/hwd/hwd.install
deleted file mode 100644
index 04955bfa9..000000000
--- a/pcr/hwd/hwd.install
+++ /dev/null
@@ -1,30 +0,0 @@
-# arg 1: the new package version
-post_install() {
-echo ""
-echo "lshwd dependency is replaced by pciutils and usbutils."
-echo ""
-echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
-echo ""
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- /bin/true
-echo ""
-echo "lshwd dependency is replaced by pciutils and usbutils."
-echo ""
-echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
-echo ""
-
-}
-
-# arg 1: the old package version
-pre_remove() {
- rm -R /etc/hwd >/dev/null 2>&1
-}
-
-op=$1
-shift
-
-$op $*