summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/ctags/APKBUILD31
1 files changed, 21 insertions, 10 deletions
diff --git a/user/ctags/APKBUILD b/user/ctags/APKBUILD
index 135c0326d..8fb14ec4b 100644
--- a/user/ctags/APKBUILD
+++ b/user/ctags/APKBUILD
@@ -1,17 +1,24 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ctags
-pkgver=5.8
+pkgver=5.9.20221106.0
pkgrel=0
-pkgdesc="Source code indexer for faster searching"
-url="http://ctags.sourceforge.net/"
+pkgdesc="A maintained ctags implementation"
+url="https://ctags.io/"
arch="all"
-options="!check" # No test suite.
+options=""
license="GPL-2.0-only"
depends=""
-makedepends=""
+makedepends="autoconf automake py3-docutils"
+checkdepends="python3"
subpackages="$pkgname-doc"
-source="https://prdownloads.sourceforge.net/ctags/ctags-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/universal-ctags/ctags/archive/p$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-p$pkgver"
+
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
build() {
./configure \
@@ -20,13 +27,17 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --disable-external-sort
make
}
+check() {
+ make check
+}
+
package() {
- install -D -m755 ctags "$pkgdir"/usr/bin/ctags
- install -D -m644 ctags.1 "$pkgdir"/usr/share/man/man1/ctags.1
+ make DESTDIR="$pkgdir" install
}
-sha512sums="981912cd335978cde22864e977947fc75326572fb29518e559cc4a8ac1edc84b3604165218a666e36353f17da4f89f8e967acdb88696f816748eb946d79eaa15 ctags-5.8.tar.gz"
+sha512sums="9e658fefa1e8d043c2a1349d4fe251a76db9aa26e2bc8e46ac185224e89f3ad2d53f531f2c706bcaef48af5655abb2f79b0a34aa5c890bf6a4cbfc3eac9b3273 ctags-5.9.20221106.0.tar.gz"