Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (32 sloc) 1.25 KB
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
pkgname=darkjumper
pkgver=5.8
pkgrel=8
pkgdesc="This tool will try to find every website that host at the same server at your target"
depends=('perl' 'python2')
url="http://sourceforge.net/projects/darkjumper/"
groups=('archstrike' 'archstrike-webapps')
license=('GPL')
arch=('any')
source=(http://downloads.sourceforge.net/darkjumper/${pkgname}.v${pkgver}.tar.gz)
sha512sums=('91f412cce641831f3797e659b5f8390f984e61c5736503ab1fc0c8fa06abf5b96d6290a70ab46a30be24c0dd194a8ff6634b3775963d23db7d5449d810bb2374')
prepare(){
cd "${srcdir}/darkjumper.v${pkgver}" || exit
sed -i 's:/usr/bin/python:/usr/bin/env python2:' *.py
sed -i 's:/usr/bin/perl:/usr/bin/env perl:' *.pl
}
package() {
cd "${srcdir}/darkjumper.v${pkgver}" || exit
install -dm755 "${pkgdir}/usr/share/darkjumper/"
install -dm755 "${pkgdir}/usr/bin/"
cp -a --no-preserve=ownership ./* "${pkgdir}/usr/share/darkjumper/"
for i in *.pl; do install -Dm755 ${i} "${pkgdir}/usr/share/${pkgname}"/${i};done
for i in *.py; do install -Dm755 ${i} "${pkgdir}/usr/share/${pkgname}"/${i};done
cat > "${pkgdir}/usr/bin/darkjumper" << EOF
#!/bin/sh
cd /usr/share/darkjumper
python2 darkjumper.py "\$@"
EOF
chmod +x "${pkgdir}/usr/bin/darkjumper"
}
You can’t perform that action at this time.