summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Palaistras2016-08-20 15:45:57 +0100
committerAlex Palaistras2016-08-20 15:45:57 +0100
commit5353663552b97be18d2af8293898b5ce6e6938b6 (patch)
tree06e5436a5c3edad1df862964a98286907eaff444
downloadaur-5353663552b97be18d2af8293898b5ce6e6938b6.tar.gz
Initial commit of Binary Ninja package
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD35
-rwxr-xr-xbinaryninja-demo2
-rw-r--r--binaryninja-demo.desktop6
-rw-r--r--binaryninja-demo.install11
-rw-r--r--binaryninja.pngbin0 -> 9535 bytes
6 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d1c32a49dfe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = binaryninja-demo
+ pkgdesc = Binary Ninja is a binary multi-tool and reversing platform
+ pkgver = 1.0.7
+ pkgrel = 1
+ url = https://binary.ninja
+ install = binaryninja-demo.install
+ arch = x86_64
+ license = custom:Binary Ninja License Agreement
+ source = https://cdn.binary.ninja/installers/BinaryNinja-demo.zip
+ source = binaryninja-demo
+ source = binaryninja.png
+ source = binaryninja-demo.desktop
+ sha1sums = 490891e7e1ad5bbf2d047ee420699e1e74b84345
+ sha1sums = de0caa6928230dc5eb0dda8b45b9f03d4db294a2
+ sha1sums = 20fe20fdfef3eee049c257adae4b3c00113455da
+ sha1sums = b650efdf8b007b5c9245fed32dca304ddde07f65
+
+pkgname = binaryninja-demo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7398a281eec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Alex Palaistras <alex+archlinux@deuill.org>
+
+pkgname=binaryninja-demo
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="Binary Ninja is a binary multi-tool and reversing platform"
+arch=('x86_64')
+license=('custom:Binary Ninja License Agreement')
+url="https://binary.ninja"
+source=(
+ "https://cdn.binary.ninja/installers/BinaryNinja-demo.zip"
+ "binaryninja-demo"
+ "binaryninja.png"
+ "binaryninja-demo.desktop"
+)
+sha1sums=(
+ '490891e7e1ad5bbf2d047ee420699e1e74b84345'
+ 'de0caa6928230dc5eb0dda8b45b9f03d4db294a2'
+ '20fe20fdfef3eee049c257adae4b3c00113455da'
+ 'b650efdf8b007b5c9245fed32dca304ddde07f65'
+)
+install='binaryninja-demo.install'
+
+package() {
+ mkdir ${pkgdir}/opt
+ mkdir -p ${pkgdir}/usr/share/icons/hicolor/128x128/apps
+ mkdir -p ${pkgdir}/usr/share/applications
+ mkdir -p ${pkgdir}/usr/bin
+
+ mv ${srcdir}/binaryninja ${pkgdir}/opt/binaryninja-demo
+
+ install -m644 ${srcdir}/binaryninja.png ${pkgdir}/usr/share/icons/hicolor/128x128/apps/
+ install -m644 ${srcdir}/binaryninja-demo.desktop ${pkgdir}/usr/share/applications/
+ install -m755 ${srcdir}/binaryninja-demo ${pkgdir}/usr/bin
+}
diff --git a/binaryninja-demo b/binaryninja-demo
new file mode 100755
index 00000000000..bc9c1e6cc37
--- /dev/null
+++ b/binaryninja-demo
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /opt/binaryninja-demo/binaryninja "$@" \ No newline at end of file
diff --git a/binaryninja-demo.desktop b/binaryninja-demo.desktop
new file mode 100644
index 00000000000..75f879ef825
--- /dev/null
+++ b/binaryninja-demo.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Binary Ninja Demo
+Exec=/usr/bin/binaryninja-demo
+Icon=binaryninja
+Type=Application
+Categories=Development;Debugger;Profiling;
diff --git a/binaryninja-demo.install b/binaryninja-demo.install
new file mode 100644
index 00000000000..b1477143938
--- /dev/null
+++ b/binaryninja-demo.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -f -q -t /usr/share/pixmaps
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/binaryninja.png b/binaryninja.png
new file mode 100644
index 00000000000..dad774b9b5c
--- /dev/null
+++ b/binaryninja.png
Binary files differ