Date: Thursday, August 11, 2022 @ 20:00:25 Author: anthraxx Revision: 1265282
upgpkg: rz-ghidra 0.4.0-3: avoid cloning in prepare - rz-ghidra commit got referenced in a branch/tag now Modified: rz-ghidra/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-11 19:44:33 UTC (rev 1265281) +++ PKGBUILD 2022-08-11 20:00:25 UTC (rev 1265282) @@ -3,9 +3,8 @@ pkgname=rz-ghidra _gitcommit=e70aa0f68310f18620153eed57b27fdfb9ba3018 _gitcutter=7eb4311c2be2c0e5e6bcd098abf06beda2e96519 -_gitghidra=d87905747fe38d2dcd7492ed2e83bbf438b156d3 pkgver=0.4.0 -pkgrel=2 +pkgrel=3 pkgdesc='Deep ghidra decompiler integration for rizin and rz-cutter' url='https://github.com/rizinorg/rz-ghidra' arch=('x86_64') @@ -14,23 +13,19 @@ makedepends=('git' 'cmake' 'qt5-base' 'rz-cutter') source=("git+${url}#commit=${_gitcommit}" "git+https://github.com/rizinorg/cutter#commit=${_gitcutter}" -# rizin-ghidra::git+https://github.com/rizinorg/ghidra.git + rizin-ghidra::git+https://github.com/rizinorg/ghidra.git git+https://github.com/zeux/pugixml.git) sha512sums=('SKIP' 'SKIP' + 'SKIP' 'SKIP') pkgver() { cd ${pkgname} - git tag -d rz-0.2.0 >/dev/null git describe --tags --match 'rz-*' | sed 's/^rz-//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { -# pinned commit in submodule is not avilable in any branch - git clone https://github.com/rizinorg/ghidra.git rizin-ghidra - ( cd rizin-ghidra && git pull origin master && git pull origin $_gitghidra --rebase ) - cd ${pkgname} git submodule init git config submodule."third-party/pugixml".url "${srcdir}/pugixml"
