[arch-commits] Commit in global/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri May 14 13:54:30 UTC 2021
Date: Friday, May 14, 2021 @ 13:54:30
Author: arodseth
Revision: 934009
upgpkg: global 6.6.6-1
Modified:
global/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-14 13:54:21 UTC (rev 934008)
+++ PKGBUILD 2021-05-14 13:54:30 UTC (rev 934009)
@@ -6,30 +6,27 @@
# Contributor: Matthias Meulien <orontee at gmail.com>
pkgname=global
-pkgver=6.6.5
+pkgver=6.6.6
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)
+depends=(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')
+sha256sums=('758078afff98d4c051c58785c7ada3ed1977fabb77f8897ff657b71cc62d4d5d')
prepare() {
- cd "$pkgname-$pkgver"
-
+ 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"
-
+ cd $pkgname-$pkgver
autoreconf -fi
./configure \
--prefix=/usr \
@@ -39,11 +36,11 @@
}
check() {
- make -C "$pkgname-$pkgver" -k check
+ make -C $pkgname-$pkgver -k check
}
package() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
@@ -59,5 +56,3 @@
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