rkdeveloptool
This commit is contained in:
parent
4e81b94fc4
commit
fd5c52709d
34
pkgbuilds/rkdeveloptool-git/PKGBUILD
Normal file
34
pkgbuilds/rkdeveloptool-git/PKGBUILD
Normal 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/"
|
||||
}
|
4
pkgbuilds/rkdeveloptool-git/rkdeveloptool.install
Normal file
4
pkgbuilds/rkdeveloptool-git/rkdeveloptool.install
Normal file
@ -0,0 +1,4 @@
|
||||
post_install () {
|
||||
udevadm control --reload
|
||||
udevadm trigger
|
||||
}
|
BIN
x86_64/cringe.db
BIN
x86_64/cringe.db
Binary file not shown.
Binary file not shown.
BIN
x86_64/rkdeveloptool-70-1-x86_64.pkg.tar.zst
Normal file
BIN
x86_64/rkdeveloptool-70-1-x86_64.pkg.tar.zst
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user