[aur-general] Gnu/GLOBAL 5.7.3 version
zhengyi
goodmenzy at gmail.com
Fri Nov 7 02:34:31 EST 2008
Hi,
I found the GLOBAL 5.7.3 in GNU. Would you please update your aur ?
In the attachment, my PKGBUILD is added. It _maybe_ works, I'm a newbie
of this software, and reading doc now.
I alwayse don't know the docs policy of Arch. Must I delete docs of a
package? Or to build another package only for docs ?
Thanks for your PKGBUILD.
-------------- next part --------------
# Author: timlee tl1234562004.at.yahoo.com>
# Contributor: Philipp Robbel robbel at gmail.com>
# Zhengy Goodme goodmenzy at gmail.com>
pkgname=global
pkgver=5.7.3
pkgrel=1
pkgdesc="A source code tag system"
arch=(i686 x86_64)
url="http://www.gnu.org/software/global/"
license=('GPL')
depends=()
backup=('etc/gtags.conf')
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('e975983619bae02b63ffc3aae1a645b8')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=$startdir/pkg/usr
# here is the docs.
# It seems necessary to creat a global-doc pkg instead
make pdf html || return 1
make install-info || return 1
install -d $startdir/pkg/usr/share/gtags
install -d $startdir/pkg/usr/share/gtags/global.html
install -m644 -D doc/global.pdf $startdir/pkg/usr/share/gtags/
install -m644 -D doc/global.html/* $startdir/pkg/usr/share/gtags/global.html/
# compile and install
make || return 1
make install
# copy gtags.conf and apply patch
mkdir -p $startdir/pkg/etc
cp $startdir/pkg/usr/share/gtags/gtags.conf $startdir/pkg/etc
# symbolic link to gtags.el
mkdir -p $startdir/pkg/usr/share/emacs/site-lisp
ln -s /usr/share/gtags/gtags.el $startdir/pkg/usr/share/emacs/site-lisp/gtags.el
}
More information about the aur-general
mailing list