blob: db1235a75bc14fcc4bfcdb5a36cfd551ca38d968 (
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
|
# Maintainer: Jonathon Fernyhough <jonathon_at_manjaro_org>
pkgname='hopper'
_pkgname='hopperv4'
pkgver='4.4.4'
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=('5a62bdb752813f7119d59fe5d034ad8e381a2889'
'c3f410d29524eb02a8bf3dc1b29aaeb82b1844e6')
changelog='ChangeLog'
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
}
|