diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-11-08 15:51:58 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-11-08 15:51:58 -0500 |
commit | d34d74ae035bd310e728dbaee8b4d090928cfed4 (patch) | |
tree | 5339d6f53cda87afc3abcea9486222888ef00a3c /pcr/cedet-git/PKGBUILD | |
parent | 30112ab156b088b11dc2aedbce04ba703a7c5c3c (diff) | |
download | abslibre-d34d74ae035bd310e728dbaee8b4d090928cfed4.tar.gz abslibre-d34d74ae035bd310e728dbaee8b4d090928cfed4.tar.bz2 abslibre-d34d74ae035bd310e728dbaee8b4d090928cfed4.zip |
cedet-git-9571.gf6639c6-1: updating version
Diffstat (limited to 'pcr/cedet-git/PKGBUILD')
-rw-r--r-- | pcr/cedet-git/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/cedet-git/PKGBUILD b/pcr/cedet-git/PKGBUILD new file mode 100644 index 000000000..19206524a --- /dev/null +++ b/pcr/cedet-git/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer (Arch): Stefan Husmann <stefan-husmann@t-online.de> +# Contributor (Arch): Jed Brown <jed@59A2.org> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=cedet-git +_gitname=cedet +pkgver=9571.gf6639c6 +pkgrel=1 +pkgdesc="Collection of Emacs Development Enviromnent Tools (Git version)" +arch=('any') +url="http://cedet.sourceforge.net/" +license=('GPL') +conflicts=(cedet cedet-cvs cedet-bzr) +replaces=(cedet-cvs cedet-bzr) +provides=('cedet') +depends=('emacs') +makedepends=('git') +source=('cedet::git+http://git.code.sf.net/p/cedet/git') +md5sums=('SKIP') +install=$pkgname.install + +pkgver() { + cd "${srcdir}"/${_gitname} + printf "%s.g%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD) +} + +build() { + cd "${srcdir}"/${_gitname} + + unset MAKEFLAGS + make +} + +package() { + cd "$srcdir/${_gitname}" + + install -d $pkgdir/usr/share/emacs/site-lisp/cedet + install cedet-devel-load.el cedet-remove-builtin.el $pkgdir/usr/share/emacs/site-lisp/cedet + cp -a lisp contrib $pkgdir/usr/share/emacs/site-lisp/cedet + + # http://sourceforge.net/tracker/index.php?func=detail&aid=3585232&group_id=17886&atid=117886 + touch $pkgdir/usr/share/emacs/site-lisp/cedet/.nosearch + + # make INFODIR=$pkgdir/usr/share/info install-info +} |