mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 02:16:39 +02:00
30 lines
802 B
Text
30 lines
802 B
Text
# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
|
|
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
|
|
pkgname=katana
|
|
pkgver=1.1.2
|
|
pkgrel=2
|
|
pkgdesc="Next-generation crawling and spidering framework"
|
|
url="https://github.com/projectdiscovery/katana"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="go"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/projectdiscovery/katana/archive/v$pkgver.tar.gz"
|
|
options="net" # go dependencies
|
|
|
|
build() {
|
|
make build
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "$pkgname" -t "$pkgdir/usr/bin/"
|
|
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
c55b6ab406daa7493ba19163e656cfe556ef828f39262700a7ad21e14346e0085edff50e57b5ec2364dfa9c88daaedafd81388f060169d7b6c482b9de29bbfcd katana-1.1.2.tar.gz
|
|
"
|