summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9303b59f1a8401cdfd5cb9326ce2ecb99da14940 (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
# Maintainer: robertfoster

pkgname=whatweb-git
pkgver=v0.4.9.r440.7885799c
pkgrel=1
pkgdesc="Next generation web scanner that identifies what websites are running."
arch=('i686' 'x86_64')
replaces=('whatweb')
conflicts=('whatweb')
provides=('whatweb')
url="http://www.morningstarsecurity.com/research/whatweb"
license=('GPL')
depends=('ruby')
source=("whatweb::git://github.com/urbanadventurer/WhatWeb.git"
patch)

package() {
	cd whatweb
	patch -Np1 -i ../patch
	make DESTDIR=$pkgdir install
}

pkgver() {
	cd whatweb
	printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

md5sums=('SKIP'
'0de7ce37f82d813e06275f6e08a41fa1')