summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2019-05-03 11:40:16 -0400
committerJean Lucas2019-05-03 11:40:16 -0400
commitff4d96c0c4ae27475f06ba5feb925c64eeb1f71f (patch)
tree48e2d5be30cb29e5e161ef8c820e479efc9a4d1b
parent6aae019f9152f12ff8c8605d69bb1ec4b0a0939d (diff)
downloadaur-ff4d96c0c4ae27475f06ba5feb925c64eeb1f71f.tar.gz
Add provides
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab1f1540c68..5ac95698120 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
# Generated by mksrcinfo v8
-# Sat Apr 6 05:35:58 UTC 2019
+# Fri May 3 15:39:50 UTC 2019
pkgbase = ghidra-bin
pkgdesc = Software reverse engineering framework (bin)
pkgver = 9.0.2
- pkgrel = 1
+ pkgrel = 2
url = https://ghidra-sre.org
arch = x86_64
license = Apache
depends = java-environment>=11
depends = bash
+ provides = ghidra
conflicts = ghidra
conflicts = ghidra-git
source = https://ghidra-sre.org/ghidra_9.0.2_PUBLIC_20190403.zip
diff --git a/PKGBUILD b/PKGBUILD
index cc45d3cccf3..7529f8e0d5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,12 @@
pkgname=ghidra-bin
pkgver=9.0.2
_date=20190403
-pkgrel=1
+pkgrel=2
pkgdesc='Software reverse engineering framework (bin)'
arch=(x86_64)
url=https://ghidra-sre.org
license=(Apache)
+provides=(ghidra)
conflicts=(ghidra ghidra-git)
depends=('java-environment>=11' bash)
source=(https://ghidra-sre.org/ghidra_${pkgver}_PUBLIC_$_date.zip)
@@ -15,8 +16,7 @@ sha256sums=('10ffd65c266e9f5b631c8ed96786c41ef30e2de939c3c42770573bb3548f8e9f')
sha512sums=('865eb93029ca56936e444c76d442d14f71d7c3f59c2a19c67175759c918b8500e175e62ec7338e22e364b2a2ee42827f886c70a487f44b18dddeda60bf6a7ac7')
package() {
- cd ghidra_$pkgver
- install -d "$pkgdir"/{opt/ghidra,usr/bin}
- cp -a * "$pkgdir"/opt/ghidra
+ install -d "$pkgdir"/{opt,usr/bin}
+ cp -a ghidra-$pkgver "$pkgdir"/opt/ghidra
ln -s /opt/ghidra/ghidraRun "$pkgdir"/usr/bin/ghidra
}