diff options
author | Ferdinand Bachmann | 2022-04-23 02:03:44 +0200 |
---|---|---|
committer | Ferdinand Bachmann | 2022-04-23 02:35:30 +0200 |
commit | dd4c9342ab96221088c2df73bbb68f94bcbe70da (patch) | |
tree | 997b3598c33abb978c5fcd4a4ff84add15469e51 | |
parent | 3653dc0d3432ca99aa02f392a49dfdfabc2b62e5 (diff) | |
download | aur-dd4c9342ab96221088c2df73bbb68f94bcbe70da.tar.gz |
use raspberrypi repo
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 9 deletions
@@ -1,6 +1,6 @@ -pkgbase = openocd-git +pkgbase = openocd-raspberrypi-git pkgdesc = Debugging, in-system programming and boundary-scan testing for embedded target devices (git version) - pkgver = 0.11.0.r584.g103b1d68d + pkgver = r8907.610f137d2 pkgrel = 1 url = http://openocd.org arch = i686 @@ -20,8 +20,9 @@ pkgbase = openocd-git depends = capstone provides = openocd conflicts = openocd + conflicts = openocd-git options = !strip - source = openocd-git::git+https://repo.or.cz/openocd.git + source = openocd-raspberrypi-git::git+https://github.com/raspberrypi/openocd.git source = git+https://github.com/msteveb/jimtcl.git source = git+https://gitlab.zapb.de/libjaylink/libjaylink.git source = git+https://git.savannah.nongnu.org/git/git2cl.git @@ -34,4 +35,4 @@ pkgbase = openocd-git sha1sums = SKIP sha1sums = SKIP -pkgname = openocd-git +pkgname = openocd-raspberrypi-git @@ -8,8 +8,8 @@ # Contributor: Samuel Tardieu <sam@rfc1149.net> _pkgbase=openocd -pkgname=openocd-git -pkgver=0.11.0.r584.g103b1d68d +pkgname=openocd-raspberrypi-git +pkgver=r8907.610f137d2 pkgrel=1 pkgdesc="Debugging, in-system programming and boundary-scan testing for embedded target devices (git version)" arch=('i686' 'x86_64' 'arm' 'aarch64') @@ -19,10 +19,10 @@ depends=('libftdi-compat' 'libusb-compat' 'hidapi' 'libudev.so' 'capstone') makedepends=('git' 'automake>=1.11' 'autoconf' 'libtool' 'tcl') options=(!strip) provides=('openocd') -conflicts=('openocd') +conflicts=('openocd' 'openocd-git') source=( - "${pkgname}::git+https://repo.or.cz/openocd.git" + "${pkgname}::git+https://github.com/raspberrypi/openocd.git" "git+https://github.com/msteveb/jimtcl.git" "git+https://gitlab.zapb.de/libjaylink/libjaylink.git" "git+https://git.savannah.nongnu.org/git/git2cl.git" @@ -80,7 +80,7 @@ _features=( pkgver() { cd "${srcdir}/${pkgname}" - git describe --tags --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |