blob: 1b86332954f5619996357868c1d1c68ec3413f25 (
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: dkasak <dkasak AT termina DOT org DOT uk>
# Contributor: nblock <nblock [/at\] archlinux DOT us>
# Contributor: DigitalPathogen <aur@digitalpathogen.co.uk>
# Contributor: daronin
# Contributor: kageurufu
pkgname=burpsuite
pkgver=2021.6
pkgrel=2
pkgdesc="An integrated platform for performing security testing of web applications (free edition)"
url="https://portswigger.net/burp/"
depends=('java-runtime>=9')
arch=('any')
license=('custom')
noextract=("${pkgname}-${pkgver}.jar")
source=("${pkgname}-${pkgver}.jar::https://portswigger.net/burp/releases/download?product=community&version=${pkgver}&type=Jar"
LICENSE
burpsuite.desktop
icon64.png)
install=burpsuite.install
sha256sums=('0cf522fca467264c2b73b28cab5d3e2c4ebe317f7224b82b8081ca8657cbfaf7'
'a1146672de7084a1cddc5b7dab4d18b3530c194bd6e45a2b0ac04b579751ca30'
'950c61d7ce1257c21a4152abebb8da320d0206ceb59247d6c912903d1ed39fc8'
'd31232a7dbdab9d5723f12aa25c52d13fd46ef2e8837a85fb9a08c3a7f151541')
package() {
mkdir -p ${pkgdir}/usr/bin
mkdir -p ${pkgdir}/usr/share/{applications,pixmaps,${pkgname},licenses/${pkgname}}
cd ${srcdir}
install -m644 ${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/${pkgname}/${pkgname}.jar
install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
install -m644 burpsuite.desktop ${pkgdir}/usr/share/applications/
install -m644 icon64.png ${pkgdir}/usr/share/pixmaps/burpsuite.png
# Create startup file for burpsuite.
echo "#!/bin/sh" > ${pkgdir}/usr/bin/${pkgname}
echo "exec \$JAVA_HOME/bin/java -jar /usr/share/burpsuite/burpsuite.jar \$@" >> ${pkgdir}/usr/bin/${pkgname}
chmod 755 ${pkgdir}/usr/bin/${pkgname}
}
# vim:set ts=2 sw=2 et:
|