Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1c1,3
- < # Maintainer: Rohit Manokaran <rohitmanokaran@yahoo.com>
- ---
- > # Maintainer: Rohit Manokaran <rohit000@live.com>
- > # Contributor: James An <james@jamesan.ca>
- > # Contributor: Rohit Manokaran <rohitmanokaran@yahoo.com>
- 9c11
- < pkgrel=19
- ---
- > pkgrel=20
- 14c16
- < depends=('dbus-glib>=0.82' 'libusb-compat' 'systemd>=189' 'filesystem>=2012' 'hal-info>=0.20090716' 'dmidecode' 'pciutils>=3.0.2' 'usbutils>=006' 'util-linux>=2.24' 'v4l-utils')
- ---
- > depends=('dbus-glib>=0.82' 'libusb-compat' 'hal-info>=0.20090716' 'dmidecode' 'v4l-utils')
- 20a23
- > hal.service
- 26,37d28
- < # patches/hal-0.5.9-hide-diagnostic.patch
- < # patches/hal-remove-dell-killswitch.patch
- < # patches/hal-KVM-evdev.patch
- < # patches/hal-HDAPS-blacklist.patch
- < # patches/hal-xen-unignore-axes.patch
- < # patches/hal-use-at-console.patch
- < # patches/fix-libusb-detection.patch
- < # patches/dbus-error-init.patch
- < # patches/path-max.patch
- < # patches/handle-input-touchpad.patch
- < # patches/macbook-fix-ioperm.patch
- < # patches/hal-ignore-internal-dm-devices.patch
- 40a32
- > 'ca4a7932fe7e8acbfa17245b62cc3b9b'
- 45,46c37
- < '7acfdd590c98272930ddfd37f1c7f5a3'
- < )
- ---
- > '7acfdd590c98272930ddfd37f1c7f5a3')
- 49,52d39
- <
- < cd $srcdir
- < patch -Np1 -d ${srcdir} < hal.patch
- <
- 54,57c41,46
- < patch -Np1 -i "${srcdir}/hal-libudev-events.patch"
- < patch -Np1 -i "${srcdir}/hal-glib-2.3-compile-fix.patch"
- < patch -Np1 -i "${srcdir}/udev-update.patch"
- < patch -Np1 -i "${srcdir}/badvok-compile-fix.patch"
- ---
- > patch -Np1 -d .. -i ../hal.patch
- >
- > patch -Np1 -i ../hal-libudev-events.patch
- > patch -Np1 -i ../hal-glib-2.3-compile-fix.patch
- > patch -Np1 -i ../udev-update.patch
- > patch -Np1 -i ../badvok-compile-fix.patch
- 85c74
- < cd $srcdir/${pkgname}-${pkgver}
- ---
- > cd "${srcdir}/${pkgname}-${pkgver}"
- 87,89d75
- < # install -m755 -d "${pkgdir}/etc/rc.d"
- < install -m755 -d "${pkgdir}/media"
- < # install -m755 "${srcdir}/hald" "${pkgdir}/etc/rc.d/hal"
- 107,123c93
- < install -m755 -d "${pkgdir}/usr/lib/systemd/system"
- < cat >${pkgdir}/usr/lib/systemd/system/hal.service <<EOF
- < [Unit]
- < Description=Hardware Abstraction Layer
- < Requires=dbus.service
- < Wants=acpid.service
- < After=dbus.service syslog.target acpid.service
- <
- < [Service]
- < Type=dbus
- < BusName=org.freedesktop.Hal
- < ExecStart=/usr/sbin/hald --daemon=no --use-syslog
- <
- < [Install]
- < WantedBy=multi-user.target
- < Alias=dbus-org.freedesktop.Hal.service
- < EOF
- ---
- > install -Dm644 ../hal.service "${pkgdir}/usr/lib/systemd/system/hal.service"
- 126c96
- < rm -r "${pkgdir}/var/run/hald"
- ---
- > rm -r "${pkgdir}/var/run"
- 131,132d100
- <
- <
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement