In some cases this will introduce cycles which could likely be cleaned up by only depending on some unix tools instead of the whole autotools. Rebuilding doesn't make much sense at this point since it just adds a subset of base-devel which is still installed by default.
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: João Guerra <joca.bt@gmail.com>
|
|
|
|
pkgname=global
|
|
pkgver=6.6.7
|
|
pkgrel="1"
|
|
pkgdesc="A source code tagging system"
|
|
arch=("i686" "x86_64")
|
|
url="https://www.gnu.org/software/global/"
|
|
license=('GPL3')
|
|
depends=("libltdl")
|
|
optdepends=("ctags" "python3-pygments")
|
|
makedepends=("ncurses-devel" 'autotools')
|
|
options=(libtool !emptydirs)
|
|
source=("https://ftp.gnu.org/gnu/global/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
|
sha256sums=('69a0f77f53827c5568176c1d382166df361e74263a047f0b3058aa2f2ad58a3c'
|
|
'SKIP')
|
|
validpgpkeys=("26F631B43D624A927E6F1C33969C3BE389DDA6EB") # Shigio YAMAGUCHI <shigio@gnu.org>
|
|
|
|
prepare() {
|
|
cd "${pkgname}-${pkgver}"
|
|
autoreconf -fiv
|
|
}
|
|
|
|
build () {
|
|
cd "${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--build=${CHOST} \
|
|
--host=${CHOST} \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--with-exuberant-ctags=ctags
|
|
make
|
|
}
|
|
|
|
package () {
|
|
cd "${pkgname}-${pkgver}"
|
|
make prefix="${pkgdir}/usr" install
|
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|