blob: 9a31913e163d11a95e6733bd64ed8dcaa3b162d9 (
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
|
# Maintainer: Jonathon Fernyhough <jonathon_at_manjaro_org>
pkgname='hopper'
_pkgname='hopperv4'
pkgver='4.3.5'
pkgrel='1'
pkgdesc='Reverse engineering tool that lets you disassemble, decompile and debug your applications'
arch=('x86_64')
url='https://www.hopperapp.com/'
license=('Commercial')
depends=('hicolor-icon-theme' 'libbsd' 'python2' 'qt5-base')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-v4-${pkgver}-Linux.pkg.tar.xz"
'LICENSE')
sha1sums=('2ffc9b833611106328d49e2a692baad3633b1920'
'c3f410d29524eb02a8bf3dc1b29aaeb82b1844e6')
sha256sums=('cd48a4115ceba8a11185d47cf274d593cc868dac9f3aaae612e5555da88e3bdd'
'0155d243d79d1ba0f6ff914f8ddb07a277830826559b2dd7922be01c3190393d')
package() {
# Copy package content
cp -r ${srcdir}/opt ${pkgdir}/opt
cp -r ${srcdir}/usr ${pkgdir}/usr
# Move docs to /opt
mv ${pkgdir}/usr/share/doc/hopperv4 ${pkgdir}/opt/hopper-v4/doc
ln -s /opt/hopper-v4/doc ${pkgdir}/usr/share/doc/hopperv4
# Remove launcher from Accessories
sed -i '10s|Utility;||' ${pkgdir}/usr/share/applications/hopper-v4.desktop
# Install license file
# https://www.hopperapp.com/license_agreement.html @ 2017-08-14
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|