[arch-commits] Commit in openocd/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Apr 15 21:41:13 UTC 2020
Date: Wednesday, April 15, 2020 @ 21:41:13
Author: ffy00
Revision: 615066
upgpkg: openocd 1:0.10.0-3 (refactor and install UDEV rules)
Fixes FS#66267
Modified:
openocd/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-15 21:25:43 UTC (rev 615065)
+++ PKGBUILD 2020-04-15 21:41:13 UTC (rev 615066)
@@ -5,31 +5,31 @@
# Contributor: Laszlo Papp <djszapi2 at gmail com>
# Contributor: Samuel Tardieu <sam at rfc1149.net>
+_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace opendous osbdm
+ parport presto_libftdi remote-bitbang rlink stlink ti-icdi ulink usbprog vsllink
+ aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 usb_blaster_libftdi)
+
pkgname=openocd
pkgver=0.10.0
+pkgrel=3
epoch=1
-pkgrel=2
pkgdesc='Debugging, in-system programming and boundary-scan testing for embedded target devices'
arch=('x86_64')
url='http://openocd.org'
license=('GPL')
-depends=('libftdi' 'libftdi-compat' 'libusb' 'libusb-compat' 'hidapi')
-options=(!strip)
-_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace
- opendous osbdm parport presto_libftdi remote-bitbang rlink stlink ti-icdi ulink usbprog vsllink
- aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 usb_blaster_libftdi)
+depends=('libftdi-compat' 'libusb-compat' 'hidapi')
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
sha512sums=('6c890c86c3339da49bd529e8674ca62bc7fce4a2a17798dcc5d70b4f7628b640d856651170a3f7e2e2a120989066e84d8439b56ff42ff2bd72446f9af0f28ba2')
prepare() {
- sed -i 's|ftdi_new();|(void*)12345;|g' $pkgname-$pkgver/configure{,.ac}
+ sed -i 's|GROUP="plugdev", ||g' $pkgname-$pkgver/contrib/60-openocd.rules
}
build() {
cd $pkgname-$pkgver
- libtoolize
- autoreconf
+ libtoolize -vif
+ autoreconf -vif
./configure \
--prefix=/usr \
--disable-werror \
@@ -43,5 +43,5 @@
make DESTDIR="$pkgdir" install
- cd "$pkgdir"/usr/share/openocd/scripts/target && mv 1986*.cfg 1986be1t.cfg
+ install -Dm 644 contrib/60-openocd.rules "$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
}
More information about the arch-commits
mailing list