[arch-commits] Commit in global/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Sep 4 08:47:53 UTC 2020
Date: Friday, September 4, 2020 @ 08:47:53
Author: arodseth
Revision: 697871
archrelease: copy trunk to community-x86_64
Added:
global/repos/community-x86_64/PKGBUILD
(from rev 697870, global/trunk/PKGBUILD)
Deleted:
global/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-04 08:47:48 UTC (rev 697870)
+++ PKGBUILD 2020-09-04 08:47:53 UTC (rev 697871)
@@ -1,63 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Fredy García <frealgagu at gmail dot com>
-# Contributor: Randy Ramos <rramos1295 at gmail dot com>
-# Contributor: Peter Vasil <mail at petervasil.net>
-# Contributor: Lucas De Marchi <lucas.de.marchi at gmail.com>
-# Contributor: Matthias Meulien <orontee at gmail.com>
-
-pkgname=global
-pkgver=6.6.4
-pkgrel=1
-pkgdesc='Source code tag system'
-arch=(x86_64)
-url='https://www.gnu.org/software/global/'
-license=(GPL)
-depends=(bash libltdl perl python sqlite)
-optdepends=(ctags emacs idutils python-pygments vim)
-options=(!emptydirs !libtool)
-source=("https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- sed -i 's/\.la/.so/g' gtags.conf.in
-
- # Rename lid to lid-idutils to avoid a name collision with idutils from AUR
- sed -i 's/usable("lid")/usable("lid-idutils")/g' "$pkgname/$pkgname.c"
-}
-
-build() {
- cd "$pkgname-$pkgver"
-
- autoreconf -fi
- ./configure \
- --prefix=/usr \
- --with-exuberant-ctags=/usr/bin/ctags \
- --with-sqlite3
- make
-}
-
-check() {
- make -C "$pkgname-$pkgver" -k check
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- # Package the emacs script
- install -d "$pkgdir/usr/share/emacs/site-lisp"
- mv "$pkgdir/usr/share/gtags/gtags.el" \
- "$pkgdir/usr/share/emacs/site-lisp/gtags.el"
-
- # Package the vim scripts
- install -d "$pkgdir/usr/share/vim/vimfiles/plugin"
- mv "$pkgdir/usr/share/gtags/gtags.vim" \
- "$pkgdir/usr/share/vim/vimfiles/plugin/gtags.vim"
- mv "$pkgdir/usr/share/gtags/gtags-cscope.vim" \
- "$pkgdir/usr/share/vim/vimfiles/plugin/gtags-cscope.vim"
-}
-
-# vim: ts=2 sw=2 et:
Copied: global/repos/community-x86_64/PKGBUILD (from rev 697870, global/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-04 08:47:53 UTC (rev 697871)
@@ -0,0 +1,63 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Fredy García <frealgagu at gmail dot com>
+# Contributor: Randy Ramos <rramos1295 at gmail dot com>
+# Contributor: Peter Vasil <mail at petervasil.net>
+# Contributor: Lucas De Marchi <lucas.de.marchi at gmail.com>
+# Contributor: Matthias Meulien <orontee at gmail.com>
+
+pkgname=global
+pkgver=6.6.5
+pkgrel=1
+pkgdesc='Source code tag system'
+arch=(x86_64)
+url='https://www.gnu.org/software/global/'
+license=(GPL)
+depends=(bash libltdl perl python sqlite)
+optdepends=(ctags emacs idutils python-pygments vim)
+options=(!emptydirs !libtool)
+source=("https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('9c3730bd9e975d94231f3402d5526b79c0b23cc665d624c9829c948dfad37b83')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ sed -i 's/\.la/.so/g' gtags.conf.in
+
+ # Rename lid to lid-idutils to avoid a name collision with idutils from AUR
+ sed -i 's/usable("lid")/usable("lid-idutils")/g' "$pkgname/$pkgname.c"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ autoreconf -fi
+ ./configure \
+ --prefix=/usr \
+ --with-exuberant-ctags=/usr/bin/ctags \
+ --with-sqlite3
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # Package the emacs script
+ install -d "$pkgdir/usr/share/emacs/site-lisp"
+ mv "$pkgdir/usr/share/gtags/gtags.el" \
+ "$pkgdir/usr/share/emacs/site-lisp/gtags.el"
+
+ # Package the vim scripts
+ install -d "$pkgdir/usr/share/vim/vimfiles/plugin"
+ mv "$pkgdir/usr/share/gtags/gtags.vim" \
+ "$pkgdir/usr/share/vim/vimfiles/plugin/gtags.vim"
+ mv "$pkgdir/usr/share/gtags/gtags-cscope.vim" \
+ "$pkgdir/usr/share/vim/vimfiles/plugin/gtags-cscope.vim"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list