summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 385bd5863cd43f741a3c8f6f7a61154096e37dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: apropos <jj@toki.la>
# Contributor: David Manouchehri
# Contributor: Alex Palaistras <alex+archlinux@deuill.org>
# Contributor: Elen Eisendle
# Contributor: Spenser Reinhardt

pkgname=binaryninja-personal
_pkgname=binaryninja
pkgver=4.0.4911
pkgrel=1
pkgdesc="An interactive decompiler, disassembler, debugger, and binary analysis platform. This package is for the Personal Edition and requires both an installer zip and a license."
arch=('x86_64')
url="https://binary.ninja"
license=('custom:Binary Ninja License Agreement')
depends=(
	'python' 'glibc' 'glib2' 'gcc-libs-multilib' 'pcre' 'zlib'
	'libssh2' 'libnghttp2' 'libpsl' 'libxcb' 'icu' 'keyutils'
	'libxext' 'libx11' 'libglvnd' 'krb5' 'e2fsprogs' 'libffi'
	'libxau' 'libxdmcp' 'libcurl-compat' 'openssl' 'qt5-base'
)
optdepends=('gtk-update-icon-cache: icon support')
source=(
	"file://BinaryNinja-personal.zip" # https://binary.ninja/recover/
	"${_pkgname}.png"
	"${_pkgname}.desktop"
)
sha256sums=(
	'e030971677465e1b2c3c7e3dfa380553a5f306eb088f028194845ab52bdc6739'
	'4f318001e7d39279ce063ef42077bae03e95c112aa203a4be3ea3d913c34327e'
	'a1e20e8176292c67fcc50d3444e95e31ee91ff6cf861f8529554152ed7bd8139'
)

# pkgver() { curl -s https://binary.ninja/js/changelog.js | perl -pe 's/.*?version":\s"(\d+\.\d+\.\d+)".*/$1/' }

package() {
	mkdir "${pkgdir}/opt"
	install -d "${pkgdir}"/usr/share/{icons,applications}

	cp -r "${srcdir}/${_pkgname}" "${pkgdir}/opt/${_pkgname}"
	install -m644 "${srcdir}/${_pkgname}.png" "${pkgdir}/usr/share/icons/"
	install -m644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/"
}