rkdeveloptool

This commit is contained in:
alecs 2021-07-07 15:11:43 +02:00
parent 4e81b94fc4
commit fd5c52709d
5 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,34 @@
pkgname=rkdeveloptool
pkgver=70
pkgrel=1
pkgdesc='Development tool for Rockchip SOC'
arch=('x86_64')
url='https://git.ignuranza.net/andreacavalli/rkdeveloptool.git'
license=('GPL2')
makedepends=('autoconf'
'git')
depends=('libusb')
source=('git+https://git.ignuranza.net/andreacavalli/rkdeveloptool.git')
sha256sums=('SKIP')
install=$pkgname.install
pkgver() {
cd "$srcdir/$pkgname"
git rev-list --count HEAD
}
build() {
cd "$srcdir/$pkgname"
sed -i 's/-Werror/-Werror -Wno-format-truncation/' Makefile.am
autoreconf -i
./configure --prefix=/usr --disable-werror
make
}
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/"
}

View File

@ -0,0 +1,4 @@
post_install () {
udevadm control --reload
udevadm trigger
}

Binary file not shown.

Binary file not shown.

Binary file not shown.