Package Details: rkdeveloptool 69-1

Git Clone URL: https://aur.archlinux.org/rkdeveloptool.git (read-only, click to copy)
Package Base: rkdeveloptool
Description: Development tool for Rockchip SOC
Upstream URL: https://github.com/rockchip-linux/rkdeveloptool
Keywords: rockchip
Licenses: GPL2
Submitter: crab2313
Maintainer: crab2313
Last Packager: crab2313
Votes: 6
Popularity: 0.002852
First Submitted: 2018-09-21 06:53 (UTC)
Last Updated: 2022-04-02 09:56 (UTC)

Latest Comments

crab2313 commented on 2022-04-02 09:51 (UTC)

@albertlv

automake and pkgconf are two implicit build dependencies since they are in the base-devel package group.

albertlv commented on 2022-04-02 06:38 (UTC)

need:

automake pkgconf

yjun commented on 2021-08-03 05:34 (UTC) (edited on 2021-08-03 05:39 (UTC) by yjun)

  • aarch64 support

plz add aarch64 architecture support, I have test this package on My Arch Linux ARM board, It works fine.

  • wrong path of udev rule file in package

[https://wiki.archlinux.org/title/Udev#About_udev_rules]

udev rules written by the **administrator** go in /etc/udev/rules.d/, their file name has to end with .rules. The udev rules shipped with various **packages** are found in /usr/lib/udev/rules.d/.

  • remove rkdeveloptool.install

After change the path of udev rule file, It's ok to remove rkdeveloptool.install, sine the pacman hook(/usr/share/libalpm/hooks/30-systemd-udev-reload.hook) will be
trigger to execute udev reload.

diff:

diff --git a/PKGBUILD b/PKGBUILD
index 843dc3a..d90103b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
 # Maintainer: crab2313 <crab2313@gmail.com>

 pkgname=rkdeveloptool
-pkgver=66
+pkgver=69
 pkgrel=1
 pkgdesc='Development tool for Rockchip SOC'
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url='https://github.com/rockchip-linux/rkdeveloptool'
 license=('GPL2')
 makedepends=('autoconf'
@@ -13,7 +13,7 @@ depends=('libusb')
 source=('git+https://github.com/rockchip-linux/rkdeveloptool.git')
 sha256sums=('SKIP')

-install=$pkgname.install
+# install=$pkgname.install

 pkgver() {
        cd "$srcdir/$pkgname"
@@ -31,8 +31,7 @@ build() {
 package() {
        cd "$srcdir/$pkgname"
     make DESTDIR=$pkgdir install
-       mkdir -p "$pkgdir/etc/udev/rules.d/"
-       install -m644 99-rk-rockusb.rules "$pkgdir/etc/udev/rules.d/"
+       install -Dm644 99-rk-rockusb.rules -t "$pkgdir/usr/lib/udev/rules.d/"
 }

 # vim: set sw=4 ts=4 noet:
diff --git a/rkdeveloptool.install b/rkdeveloptool.install
deleted file mode 100644
index 3cb79e9..0000000
--- a/rkdeveloptool.install
+++ /dev/null
@@ -1,4 +0,0 @@
-post_install () {
-    udevadm control --reload
-    udevadm trigger
-}

crab2313 commented on 2018-11-27 05:46 (UTC)

@American_Jesus fixed, thank you.

American_Jesus commented on 2018-10-27 17:23 (UTC)

/tmp/alpm_78fIJq/.INSTALL: line 2: udevadmin: command not found
/tmp/alpm_78fIJq/.INSTALL: line 3: udevadmin: command not found

Use udevadm instead