summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-11-12 05:01:35 +0000
committerZach van Rijn <me@zv.io>2022-11-12 05:08:53 +0000
commit3c5e3fec7e5fb37a949de8693459673f6c5664f7 (patch)
treefe1133cda5714a296eeb8fef2e078e954d2db4fc
parent4a038479303bad59b4fa9f30097e9171a781fe06 (diff)
downloadpackages-3c5e3fec7e5fb37a949de8693459673f6c5664f7.tar.gz
packages-3c5e3fec7e5fb37a949de8693459673f6c5664f7.tar.bz2
packages-3c5e3fec7e5fb37a949de8693459673f6c5664f7.tar.xz
packages-3c5e3fec7e5fb37a949de8693459673f6c5664f7.zip
user/ctags: switch { exuberant --> universal } implementation. fixes #270.
-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"