diff options
Diffstat (limited to 'pcr/emacs-org-mode-ravel-git/PKGBUILD')
-rw-r--r-- | pcr/emacs-org-mode-ravel-git/PKGBUILD | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/pcr/emacs-org-mode-ravel-git/PKGBUILD b/pcr/emacs-org-mode-ravel-git/PKGBUILD deleted file mode 100644 index 66baa08b5..000000000 --- a/pcr/emacs-org-mode-ravel-git/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# contributor: zhuqin <zhuqin83@gmail.com> -# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> -# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io> - -pkgname=emacs-org-mode-ravel-git -pkgver=20120812 -pkgrel=1 -pkgdesc="R backends for Orgmode by Chas Berry" -arch=('any') -url="https://github.com/chasberry/orgmode-accessories" -depends=(emacs emacs-org-mode) -makedepends=('git') -license=('GPL') -source=() - - - -_gitroot="https://github.com/chasberry/orgmode-accessories.git" -_gitname="master" - -build() { - cd $srcdir - msg "Connecting to the GIT server...." - - if [[ -d $srcdir/$_gitname ]] ; then - cd $_gitname - git pull origin - msg "The local files are updated." - else - git clone $_gitroot $_gitname - fi - - msg "GIT checkout done" - msg "Starting make..." - - [[ -d $srcdir/$_gitname-build ]] && rm -rf $srcdir/$_gitname-build - git clone $srcdir/$_gitname $srcdir/$_gitname-build - - cd $srcdir/$_gitname-build - - emacs --batch --visit scratch --eval "(progn (require 'org) (require 'org-export) (require 'org-e-latex) (require 'org-e-html) (org-babel-load-file \"ravel.org\"))" -} - -package() { - cd $srcdir/$_gitname-build - - install -Dm 644 e-ravel.el $pkgdir/usr/share/emacs/site-lisp/e-ravel.el - - mkdir -p $pkgdir/usr/share/doc/e-ravel/ - cp *.org $pkgdir/usr/share/doc/e-ravel/ -} -md5sums=() |