summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4597bfe41e79a022a0c7960ff106f6aff1ba1e56 (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: robertfoster

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')