summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7d2c8676a60a04c1a1da4b513bc316a76d8c502 (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
#Maintainer: M0Rf30

pkgname=whatweb-git
pkgver=4171.945341b
pkgrel=1
pkgdesc="Next generation web scanner that identifies what websites are running."
arch=('i686' 'x86_64')
conflicts=('whatweb')
url="http://www.morningstarsecurity.com/research/whatweb"
license=('GPL')
depends=('ruby1.8')
source=("whatweb::git://github.com/urbanadventurer/WhatWeb.git")

package() {
  cd whatweb
  sed -i 's/TODO //g' Makefile
  make DESTDIR=$pkgdir install
  sed 's#/usr/bin/env ruby#/usr/bin/ruby-1.8#g' -i ${pkgdir}/usr/bin/whatweb

}

pkgver() {
  cd whatweb
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

md5sums=('SKIP')