blob: 77ed9f702b8c146bf0e2f01dd351864042678e65 (
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
|
# Maintainer: Misaka13514 <Misaka13514 at gmail dot com>
pkgname=nuclei-templates
pkgver=10.0.4
pkgrel=1
pkgdesc="Templates for the nuclei engine to find security vulnerabilities"
arch=('any')
url="https://github.com/projectdiscovery/nuclei-templates"
license=('MIT')
options=(!strip)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('e362b2bd34bbccaef6d3647ced0011af14da275f8b9c3f2f90ab182b6b98dc71')
package() {
cd "$pkgname-$pkgver"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
mv LICENSE* "$pkgdir/usr/share/licenses/$pkgname"
install -dm755 "$pkgdir/usr/share/doc/$pkgname"
mv README* "$pkgdir/usr/share/doc/$pkgname"
install -dm755 "$pkgdir/usr/share/nuclei-templates"
cp -dpr --no-preserve=ownership * "$pkgdir/usr/share/nuclei-templates"
}
# vim: ts=2 sw=2 et:
|