[arch-commits] Commit in openocd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Apr 15 21:41:24 UTC 2020


    Date: Wednesday, April 15, 2020 @ 21:41:23
  Author: ffy00
Revision: 615067

archrelease: copy trunk to community-x86_64

Added:
  openocd/repos/community-x86_64/PKGBUILD
    (from rev 615066, openocd/trunk/PKGBUILD)
Deleted:
  openocd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-15 21:41:13 UTC (rev 615066)
+++ PKGBUILD	2020-04-15 21:41:23 UTC (rev 615067)
@@ -1,47 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Matthias Bauch <matthias.bauch at gmail.com>
-# Contributor: Laszlo Papp <djszapi2 at gmail com>
-# Contributor: Samuel Tardieu <sam at rfc1149.net>
-
-pkgname=openocd
-pkgver=0.10.0
-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)
-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}
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  libtoolize
-  autoreconf
-  ./configure \
-  	--prefix=/usr \
-  	--disable-werror \
-  	${_features[@]/#/--enable-}
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-
-  cd "$pkgdir"/usr/share/openocd/scripts/target && mv 1986*.cfg 1986be1t.cfg
-}

Copied: openocd/repos/community-x86_64/PKGBUILD (from rev 615066, openocd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-15 21:41:23 UTC (rev 615067)
@@ -0,0 +1,47 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Matthias Bauch <matthias.bauch at gmail.com>
+# 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
+pkgdesc='Debugging, in-system programming and boundary-scan testing for embedded target devices'
+arch=('x86_64')
+url='http://openocd.org'
+license=('GPL')
+depends=('libftdi-compat' 'libusb-compat' 'hidapi')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha512sums=('6c890c86c3339da49bd529e8674ca62bc7fce4a2a17798dcc5d70b4f7628b640d856651170a3f7e2e2a120989066e84d8439b56ff42ff2bd72446f9af0f28ba2')
+
+prepare() {
+  sed -i 's|GROUP="plugdev", ||g' $pkgname-$pkgver/contrib/60-openocd.rules
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  libtoolize -vif
+  autoreconf -vif
+  ./configure \
+  	--prefix=/usr \
+  	--disable-werror \
+  	${_features[@]/#/--enable-}
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm 644 contrib/60-openocd.rules "$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
+}



More information about the arch-commits mailing list