diff options
author | Luke Street | 2021-04-24 11:47:06 -0400 |
---|---|---|
committer | Luke Street | 2021-04-24 11:47:06 -0400 |
commit | 47f5f5c1169f68759209a558d86d66b965ae3c6c (patch) | |
tree | bbdfebcc6dd994b7c7f7be5654b8879a1b22c42e /PKGBUILD | |
parent | 7348035aefc506fe98461cf42870a2d7156155ab (diff) | |
download | aur-47f5f5c1169f68759209a558d86d66b965ae3c6c.tar.gz |
Go back to using unzip
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,6 +19,7 @@ depends=( makedepends=( 'git' 'gradle' + 'unzip' ) source=( "git+https://github.com/NationalSecurityAgency/ghidra" @@ -79,7 +80,7 @@ package() { echo -e "${_prefix}Extracting the zip archive" _appver=$(grep -oP '(?<=^application.version=).*$' Ghidra/application.properties) _relname=$(grep -oP '(?<=^application.release.name=).*$' Ghidra/application.properties) - (cd "$pkgdir"/opt && jar xf "$srcdir/$_pkgname"/build/dist/ghidra_"${_appver}_${_relname}_$(date +"%Y%m%d")"_linux64.zip) + unzip -u build/dist/ghidra_"${_appver}_${_relname}_$(date +"%Y%m%d")"_linux64.zip -d "$pkgdir"/opt echo -e "${_prefix}Setting up a versionless directory name" mv "$pkgdir"/opt/ghidra{_"${_appver}_${_relname}",} |