Skip to content

Commit

Permalink
#4022 cent + tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dualfade committed Dec 4, 2023
1 parent c1d211e commit 05c2d0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/cent/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See COPYING for license details.

pkgname=cent
pkgver=125.12e484f
pkgver=v1.3.0.r0.g12e484f
pkgrel=1
pkgdesc='Community edition nuclei templates.'
arch=('x86_64')
Expand All @@ -16,7 +16,7 @@ sha512sums=('SKIP')
pkgver() {
cd $pkgname

echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
Expand All @@ -37,6 +37,5 @@ package() {

install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

0 comments on commit 05c2d0e

Please sign in to comment.