diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 29 insertions, 12 deletions
@@ -1,19 +1,24 @@ pkgbase = whatweb-git pkgdesc = Next generation web scanner that identifies what websites are running. - pkgver = v0.4.9.r440.7885799c + pkgver = v0.5.3.r28.4257078b pkgrel = 1 url = http://www.morningstarsecurity.com/research/whatweb arch = i686 arch = x86_64 license = GPL depends = ruby + depends = ruby-addressable + optdepends = ruby-rake: development test use + optdepends = ruby-rdoc: development test use + optdepends = ruby-minitest: development test use + optdepends = ruby-rubocop: development test use + optdepends = ruby-bundler-audit: development test use + optdepends = ruby-pry: debugging provides = whatweb conflicts = whatweb replaces = whatweb source = whatweb::git://github.com/urbanadventurer/WhatWeb.git - source = patch md5sums = SKIP - md5sums = 0de7ce37f82d813e06275f6e08a41fa1 pkgname = whatweb-git @@ -1,7 +1,9 @@ +# Maintainer PumpkinCheshire <sollyonzou@gmail.com> # Maintainer: robertfoster pkgname=whatweb-git -pkgver=v0.4.9.r440.7885799c +_name=whatweb +pkgver=v0.5.3.r28.4257078b pkgrel=1 pkgdesc="Next generation web scanner that identifies what websites are running." arch=('i686' 'x86_64') @@ -10,20 +12,30 @@ conflicts=('whatweb') provides=('whatweb') url="http://www.morningstarsecurity.com/research/whatweb" license=('GPL') -depends=('ruby') -source=("whatweb::git://github.com/urbanadventurer/WhatWeb.git" -patch) +depends=('ruby' 'ruby-addressable') +optdepends=('ruby-rake: development test use' + 'ruby-rdoc: development test use' + 'ruby-minitest: development test use' + 'ruby-rubocop: development test use' + 'ruby-bundler-audit: development test use' + 'ruby-pry: debugging') +source=("whatweb::git://github.com/urbanadventurer/WhatWeb.git") +md5sums=('SKIP') + +prepare() { + cd $_name + sed -i '/bundle install/d' Makefile + sed -i "s|require 'lib/whatweb'|require '/usr/share/whatweb/lib/whatweb'|" whatweb +} package() { - cd whatweb - patch -Np1 -i ../patch + cd $_name make DESTDIR=$pkgdir install } pkgver() { - cd whatweb + cd $_name printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } -md5sums=('SKIP' -'0de7ce37f82d813e06275f6e08a41fa1') + |