summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2019-10-07 23:33:46 -0400
committerJean Lucas2019-10-07 23:33:46 -0400
commit5f23bf52ee2d2444190142b59752589cea863905 (patch)
treeba009e5ab5186b68853f059dad06911605e113ed
parent32e86bd14332af388182e4192b92898e210084b7 (diff)
downloadaur-5f23bf52ee2d2444190142b59752589cea863905.tar.gz
Remove package variant conflicts; remove sha512sums (sha256 is enough); rename analyzeHeadless link 'ghidra-headless'
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD22
2 files changed, 12 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f5c9320f677..7ab08bed9fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ghidra-bin
pkgdesc = Software reverse engineering framework (bin)
pkgver = 9.0.4
- pkgrel = 3
+ pkgrel = 4
url = https://www.nsa.gov/ghidra
arch = x86_64
license = Apache
@@ -9,19 +9,14 @@ pkgbase = ghidra-bin
depends = bash
provides = ghidra
conflicts = ghidra
- conflicts = ghidra-git
source = https://ghidra-sre.org/ghidra_9.0.4_PUBLIC_20190516.zip
+ source = https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_9.0.4_build/LICENSE
source = ghidra.desktop
source = https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_9.0.4_build/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon256.png
- source = https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_9.0.4_build/LICENSE
sha256sums = a50d0cd475d9377332811eeae66e94bdc9e7d88e58477c527e9c6b78caec18bf
+ sha256sums = c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
sha256sums = 15b6fa386be85b23c879331e93124953cd724765248895a7e305c68ca698867c
sha256sums = 0e53f1b091046809c0f393326cadc69c27b1d574254e1094beedb312d09aa9c9
- sha256sums = c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
- sha512sums = be8c6ed3bfc8661489e9da191e643a7fbbe15b3adb82cd312f5c1abb08b761e8d8bef7cf7125fef0faa55e8660cd3ce405a580adce9adee5b52ea98eec625103
- sha512sums = a85b8b3276e2ff4ed8bda6470c15d02711ebaa48463c775cd2a36549fad738e9fe073dab80f8c57646490ffc959cdc27e9d25b1dc2a5810b0ddb249b5dc99a9b
- sha512sums = a942e9e22c20526cca59d289ef232984b21d25abc767b95803d39f1e90472290c395b61cdf186b0d6b54fc701e161552d2356aa651d16afbe7620b4b6118a2e9
- sha512sums = dc6b68d13b8cf959644b935f1192b02c71aa7a5cf653bd43b4480fa89eec8d4d3f16a2278ec8c3b40ab1fdb233b3173a78fd83590d6f739e0c9e8ff56c282557
pkgname = ghidra-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5e8ca5f9f45..aa583bfaa73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,35 +3,31 @@
pkgname=ghidra-bin
pkgver=9.0.4
_date=20190516
-pkgrel=3
+pkgrel=4
pkgdesc='Software reverse engineering framework (bin)'
arch=(x86_64)
url=https://www.nsa.gov/ghidra
license=(Apache)
provides=(ghidra)
-conflicts=(ghidra ghidra-git)
+conflicts=(ghidra)
depends=('java-environment>=11' bash)
source=(https://ghidra-sre.org/ghidra_${pkgver}_PUBLIC_$_date.zip
+ https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_${pkgver}_build/LICENSE
ghidra.desktop
- https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_${pkgver}_build/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon256.png
- https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_${pkgver}_build/LICENSE)
+ https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_${pkgver}_build/Ghidra/Framework/Generic/src/main/resources/images/GhidraIcon256.png)
sha256sums=('a50d0cd475d9377332811eeae66e94bdc9e7d88e58477c527e9c6b78caec18bf'
+ 'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4'
'15b6fa386be85b23c879331e93124953cd724765248895a7e305c68ca698867c'
- '0e53f1b091046809c0f393326cadc69c27b1d574254e1094beedb312d09aa9c9'
- 'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
-sha512sums=('be8c6ed3bfc8661489e9da191e643a7fbbe15b3adb82cd312f5c1abb08b761e8d8bef7cf7125fef0faa55e8660cd3ce405a580adce9adee5b52ea98eec625103'
- 'a85b8b3276e2ff4ed8bda6470c15d02711ebaa48463c775cd2a36549fad738e9fe073dab80f8c57646490ffc959cdc27e9d25b1dc2a5810b0ddb249b5dc99a9b'
- 'a942e9e22c20526cca59d289ef232984b21d25abc767b95803d39f1e90472290c395b61cdf186b0d6b54fc701e161552d2356aa651d16afbe7620b4b6118a2e9'
- 'dc6b68d13b8cf959644b935f1192b02c71aa7a5cf653bd43b4480fa89eec8d4d3f16a2278ec8c3b40ab1fdb233b3173a78fd83590d6f739e0c9e8ff56c282557')
+ '0e53f1b091046809c0f393326cadc69c27b1d574254e1094beedb312d09aa9c9')
package() {
install -d "$pkgdir"/{opt,usr/bin}
cp -a ghidra_$pkgver "$pkgdir"/opt/ghidra
ln -s /opt/ghidra/ghidraRun "$pkgdir"/usr/bin/ghidra
- ln -s /opt/ghidra/support/analyzeHeadless "$pkgdir"/usr/bin/ghidra-analyzeHeadless
+ ln -s /opt/ghidra/support/analyzeHeadless "$pkgdir"/usr/bin/ghidra-headless
+
+ install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/ghidra
install -Dm 644 ghidra.desktop -t "$pkgdir"/usr/share/applications
install -Dm 644 GhidraIcon256.png "$pkgdir"/usr/share/pixmaps/ghidra.png
-
- install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/ghidra
}