diff options
author | Ben Westover | 2022-06-06 17:35:35 -0400 |
---|---|---|
committer | Ben Westover | 2022-06-06 17:35:35 -0400 |
commit | 93eec56e9442ed3b79c6e216724c2fa0e840b1dc (patch) | |
tree | 175d29f11fc27f1c9d63e044d4773679ddc9c7b7 | |
parent | e5e9bcbc74db79eb74940f242939fbe060a4ba39 (diff) | |
download | aur-93eec56e9442ed3b79c6e216724c2fa0e840b1dc.tar.gz |
Add post-install instructions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | mtkclient.install | 3 |
3 files changed, 7 insertions, 1 deletions
@@ -3,12 +3,14 @@ pkgbase = mtkclient pkgver = 1.52 pkgrel = 1 url = https://github.com/bkerler/mtkclient + install = mtkclient.install arch = any license = GPL makedepends = python-build makedepends = python-installer makedepends = python-wheel makedepends = python-setuptools + depends = libusb depends = python depends = python-pyusb depends = python-pycryptodome @@ -7,8 +7,9 @@ pkgdesc="Unofficial MTK reverse engineering and flash tool" arch=('any') url="https://github.com/bkerler/mtkclient" license=('GPL') -depends=('python' 'python-pyusb' 'python-pycryptodome' 'python-colorama') +depends=('libusb' 'python' 'python-pyusb' 'python-pycryptodome' 'python-colorama') makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools') +install=mtkclient.install source=("https://github.com/bkerler/mtkclient/archive/refs/tags/$pkgver.tar.gz" "usb.patch") sha256sums=('5a9363cdcb65392ed4dd19f8442d73f0560d2195b67e790abcee7d7ea34e9ff2' diff --git a/mtkclient.install b/mtkclient.install new file mode 100644 index 000000000000..3a302d07ff7c --- /dev/null +++ b/mtkclient.install @@ -0,0 +1,3 @@ +post_install() { + echo -e "\033[1;32m==>\033[0m \033[1mInstall the correct udev rules with the instructions at \e[4mhttps://github.com/bkerler/mtkclient#install-rules" +} |