blob: e3965eeb0c1489d282c3eec942b62484fe7bc370 (
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
|
# Maintainer : Kr1ss < $(tr +- .@ <<<kr1ss+x-yandex+com) >
# Contributor : Stephen Argent <steve [at] tuxcon [dot] com>
pkgname=maltego
pkgver=4.2.17.13809
pkgrel=1
pkgdesc='Information gathering software by Paterva'
url="https://www.$pkgname.com"
arch=('any')
license=('custom')
depends=('java-runtime' 'sh')
install="$pkgname.install"
source=("https://$pkgname-downloads.s3.us-east-2.amazonaws.com/linux/Maltego.v$pkgver.deb"
"LICENSE.pdf::https://www.$pkgname.com/pdf/legal/${pkgname^}%20Technologies_TermsandConditions_2020-11.pdf")
sha256sums=('169e7c4d89612317248c8223886254e00ce387eb06993746266ff58e11260e99'
'5295b55e0da0a7aaa733032bf6d508dd149d66b379f71c4b15271729c3aa5500')
package() {
bsdtar -xf data.tar.gz -C "$pkgdir"
sed -i 's|\(Exec=\)x-www-browser|\1xdg-open|g;s|^\(Version=\).*|\11.0|' \
"$pkgdir/usr/share/applications/$pkgname"{,_config}.desktop
chmod g-w "$pkgdir"/usr{,/bin,/share{,/applications,"/$pkgname",/pixmaps}}
install -Dm644 LICENSE.pdf -t"$pkgdir/usr/share/licenses/$pkgname/"
}
# vim: ts=2 sw=2 et ft=PKGBUILD:
|