package_sunxi-livesuite-dkms-git() {
pkgdesc="DKMS module for Allwinner devices"
url="https://github.com/M0Rf30/sunxi-awu***"
depends=('dkms')
conflicts=('sunxi-awu***-dkms')
replaces=('sunxi-livesuite-git-dkms' 'sunxi-awu***-dkms')
cd "${srcdir}/sunxi-awu***/"
install -Dt "${pkgdir}/usr/src/${pkgname}" -m644 awu***.c Makefile dkms.conf
install -Dm0644 /dev/stdin "${pkgdir}/usr/lib/udev/rules.d/99-aw_u***.rules" << EOF
# Copy this file to /etc/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "udevadm control --reload"
# This rules are based on the udev rules from the OpenOCD project, with unsupported probes removed.
# See http://openocd.org/ for more details.
#
# This file is available under the GNU General Public License v2.0
# [GNU MCU Eclipse] -----------------------------------------------------------
# To simplify access, the access rights were changed from:
# MODE="660", GROUP="plugdev", TAG+="uaccess"
# to:
# MODE="666"
# -----------------------------------------------------------------------------
package_sunxi-livesuite-dkms-git() {
pkgdesc="DKMS module for Allwinner devices"
url="https://github.com/M0Rf30/sunxi-awu***"
depends=('dkms')
conflicts=('sunxi-awu***-dkms')
replaces=('sunxi-livesuite-git-dkms' 'sunxi-awu***-dkms')
cd "${srcdir}/sunxi-awu***/"
install -Dt "${pkgdir}/usr/src/${pkgname}" -m644 awu***.c Makefile dkms.conf
install -Dm0644 /dev/stdin "${pkgdir}/usr/lib/udev/rules.d/99-aw_u***.rules" << EOF
# Copy this file to /etc/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "udevadm control --reload"
# This rules are based on the udev rules from the OpenOCD project, with unsupported probes removed.
# See http://openocd.org/ for more details.
#
# This file is available under the GNU General Public License v2.0
# [GNU MCU Eclipse] -----------------------------------------------------------
# To simplify access, the access rights were changed from:
# MODE="660", GROUP="plugdev", TAG+="uaccess"
# to:
# MODE="666"
# -----------------------------------------------------------------------------