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

Levente Polyak anthraxx at archlinux.org
Mon Oct 15 21:57:44 UTC 2018


    Date: Monday, October 15, 2018 @ 21:57:43
  Author: anthraxx
Revision: 336582

archrelease: copy trunk to testing-x86_64

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

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

Copied: ctags/repos/testing-x86_64/PKGBUILD (from rev 336581, ctags/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-10-15 21:57:43 UTC (rev 336582)
@@ -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=45968eff8429f8f4942be5701f6c3b794afaf5f3  # master
+pkgver=r20181015+g45968eff
+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