[arch-commits] Commit in ctags/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Jan 7 22:58:47 UTC 2020


    Date: Tuesday, January 7, 2020 @ 22:58:47
  Author: anthraxx
Revision: 372790

archrelease: copy trunk to testing-x86_64

Added:
  ctags/repos/testing-x86_64/
  ctags/repos/testing-x86_64/PKGBUILD
    (from rev 372789, ctags/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: ctags/repos/testing-x86_64/PKGBUILD (from rev 372789, ctags/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-01-07 22:58:47 UTC (rev 372790)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=ctags
+_commit=a3c87ab5232ffb9d047b187d6fd3852bfd12b197  # master
+pkgver=r20200106+ga3c87ab5
+pkgrel=1
+epoch=1
+pkgdesc='Generates an index file of language objects found in source files'
+url='https://ctags.io/'
+arch=('x86_64')
+license=('GPL')
+depends=('libxml2' 'jansson' 'libyaml' 'libseccomp')
+makedepends=('git' 'python-docutils')
+provides=('universal-ctags')
+source=("git+https://github.com/universal-ctags/ctags#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  git -C ctags show --pretty='r%cd+g%h' --date='format:%Y%m%d' --no-patch
+}
+
+prepare() {
+  cd ctags
+  ./autogen.sh
+}
+
+build() {
+  cd ctags
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib
+  make
+}
+
+check() {
+  make -C ctags check
+}
+
+package() {
+  make -C ctags DESTDIR="${pkgdir}" install
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list