summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/ctags/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/ctags/APKBUILD b/user/ctags/APKBUILD
new file mode 100644
index 000000000..bdc83ed14
--- /dev/null
+++ b/user/ctags/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=ctags
+pkgver=5.8
+pkgrel=0
+pkgdesc="Source code indexer for faster searching"
+url="http://ctags.sourceforge.net/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0-only"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://prdownloads.sourceforge.net/ctags/ctags-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ install -D -m755 ctags "$pkgdir"/usr/bin/ctags
+ install -D -m644 ctags.1 "$pkgdir"/usr/share/man/man1/ctags.1
+}
+
+sha512sums="981912cd335978cde22864e977947fc75326572fb29518e559cc4a8ac1edc84b3604165218a666e36353f17da4f89f8e967acdb88696f816748eb946d79eaa15 ctags-5.8.tar.gz"