Package Details: mtkclient 2.0.1.freeze-1

Git Clone URL: https://aur.archlinux.org/mtkclient.git (read-only, click to copy)
Package Base: mtkclient
Description: Unofficial MTK reverse engineering and flash tool
Upstream URL: https://github.com/bkerler/mtkclient
Licenses: GPL3
Submitter: BenTheTechGuy
Maintainer: BenTheTechGuy
Last Packager: BenTheTechGuy
Votes: 3
Popularity: 0.009280
First Submitted: 2022-06-06 21:12 (UTC)
Last Updated: 2024-07-13 20:35 (UTC)

Latest Comments

dreieck commented on 2024-04-28 11:34 (UTC)

You need to change the license identifier to be SPDX compliant:

mtkclient E: GPL3 is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Regards and thanks for the package!

BenTheTechGuy commented on 2023-07-12 20:12 (UTC)

@taotieren, this won't work because install scripts are run as root.

taotieren commented on 2022-09-08 02:40 (UTC) (edited on 2022-09-08 02:41 (UTC) by taotieren)

PKKBUILD patch

package() {
    cd mtkclient-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 Setup/Linux/50-android.rules "${pkgdir}"/etc/udev/rules.d/50-android.rules
    install -Dm644 Setup/Linux/51-edl.rules "${pkgdir}"/etc/udev/rules.d/51-edl.rules
}

mtkclient.install patch

post_install() {
    groupadd dialout
    usermod -a -G lock,uucp,dialout,plugdev $(whoami)
    udevadm trigger
    udevadm control --reload-rules
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}