Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 898 Bytes
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
pkgname=ptp
pkgver=0.4.2
pkgrel=2
pkgdesc="Ranks the discoveries listed in security tool reports."
url="http://owtf.github.io/ptp"
depends=('python')
makedepends=('python-setuptools' 'python-lxml' 'python-js2py' 'python-pyjsparser')
license=('BSD')
arch=('any')
source=("https://github.com/owtf/ptp/archive/v${pkgver}.tar.gz")
sha512sums=('c21fb859650f260bf665701b10dcf0c0e1555313df8f4b4503efa006c42e6c1af023dbe702f5fccd4f4c466dc9b72d86224c287a5014064005ae6a3e3acd7589')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="$pkgdir" -O1 --skip-build
rm -rf "${pkgdir}"/usr/lib/python.7/test
rm -rf "${pkgdir}"/usr/lib/python.7/site-packages/tests
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
You can’t perform that action at this time.