* update ctags to 1:6.1.0-2

This commit is contained in:
Alexander Baldeck 2024-04-09 20:49:03 +02:00
parent 1e3ae5f2d0
commit 29fd58c42e

View File

@ -5,24 +5,19 @@
# Contributor: John Proctor <jproctor@prium.net>
pkgname=ctags
_commit=7ad90a853a5aee974c757217c87a3b468855c2b1
pkgver=6.1.0
pkgrel=1
pkgrel=2
epoch=1
pkgdesc='Generates an index file of language objects found in source files'
url='https://ctags.io/'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('GPL')
license=('GPL-2.0-only')
depends=('glibc' 'libxml2' 'jansson' 'libyaml' 'libseccomp' 'libseccomp.so'
'pcre2')
makedepends=('git' 'python-docutils')
provides=('universal-ctags')
source=("git+https://github.com/universal-ctags/ctags.git#commit=$_commit")
sha512sums=('SKIP')
pkgver() {
git -C ctags describe --tags --match 'v*' | sed 's/^p//;s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
source=("git+https://github.com/universal-ctags/ctags.git#tag=v$pkgver")
sha256sums=('885e3c318b1c91c27ee526b7c63048ea2b34cd11f1ba1c9a689c679c8e32be27')
prepare() {
cd ctags