From 6d799ecb43ca31b656b99a5cb262cd136cc24193 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 8 Nov 2021 14:31:48 +0100 Subject: [PATCH] [PKGBUILD] Remove unused PKGBUILD for org-mode --- Documents/code/AUR/org-mode/PKGBUILD | 39 ---------------- .../code/AUR/org-mode/emacs-org-mode.install | 44 ------------------- 2 files changed, 83 deletions(-) delete mode 100644 Documents/code/AUR/org-mode/PKGBUILD delete mode 100644 Documents/code/AUR/org-mode/emacs-org-mode.install diff --git a/Documents/code/AUR/org-mode/PKGBUILD b/Documents/code/AUR/org-mode/PKGBUILD deleted file mode 100644 index 08a2427..0000000 --- a/Documents/code/AUR/org-mode/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# contributor: zhuqin -# Maintainer: Stefan Husmann - -pkgname=emacs-org-mode-git -pkgver=9.4.6.r544.gc5573bdf4 -pkgrel=1 -epoch=1 -pkgdesc="Emacs Org Mode from git" -arch=('any') -url="http://orgmode.org/" -depends=('emacs') -makedepends=('git' 'texlive-core' 'perl' 'awk') -optdepends=('java-environment: for using ditaa.jar in the contrib directory' - 'zsh: for using dir2org.zsh in the contrib directory') -license=('GPL') -provides=("emacs-org-mode=$pkgver") -conflicts=('emacs-org-mode') -install=emacs-org-mode.install -source=(emacs-org-mode::git+https://code.orgmode.org/bzg/org-mode.git) -md5sums=('SKIP') - -pkgver() { - cd ${pkgname%-git} - git describe --tags | sed 's+-+.r+' | cut -c9- | tr - . -} - - build() { - cd ${pkgname%-git} - make -} - -package () { - cd ${pkgname%-git} - - make DESTDIR="$pkgdir" install - mkdir -p "$pkgdir"/usr/share/info/orgmode - find "$pkgdir"/usr/share/info -maxdepth 1 -type f -exec mv {} "$pkgdir"/usr/share/info/orgmode \; - install -d "$pkgdir"/usr/share/emacs/site-lisp/org_contrib -} diff --git a/Documents/code/AUR/org-mode/emacs-org-mode.install b/Documents/code/AUR/org-mode/emacs-org-mode.install deleted file mode 100644 index 57b075c..0000000 --- a/Documents/code/AUR/org-mode/emacs-org-mode.install +++ /dev/null @@ -1,44 +0,0 @@ -INFODIR=/usr/share/info - -pre_install() { -##! for file in {org,org-?.gz} ; do -##! if [ -e $INFODIR/$file ] ; then -##! echo "Removing $INFODIR/$file" -##! install-info --delete $INFODIR/$file $INFODIR/dir 2> /dev/null -##! rm -f $INFODIR/$file -##! fi -##! done - cat << EOM -To enable this version of org-mode instead of the one shipped with emacs, -add the line: - (require 'org-install) -to your .emacs file. - -NOTE: info documentation for emacs-org-mode goes now as 'orgmode' in /usr/share/info, - It does NOT replace the 'org' info files shipped with emacs: - $ info orgmode ## this version - $ info org ## emacs' org version -EOM -} - -post_install() { -##! mv $INFODIR/orgmode.gz $INFODIR/org.gz -##! install-info $INFODIR/org.gz $INFODIR/dir 2> /dev/null -##! and comment out the following line: - install-info --name='orgmode' --description='Org Mode provided by emacs-org-mode (AUR)' $INFODIR/orgmode.gz $INFODIR/dir 2> /dev/null - echo "For odt export, define a variable org-odt-data-dir to point " - echo "to an existing directory, e.g." - echo "(defvar org-odt-data-dir \"~/.emacs.d/org/etc\")" -} - -post_upgrade() { - post_install -} - - -pre_remove() { - install-info --delete $INFODIR/orgmode.gz $INFODIR/dir 2> /dev/null -##! comment out the line above and uncomment the following: -##! install-info --delete $INFODIR/org.gz $INFODIR/dir 2> /dev/null -##! rm $INFODIR/org.gz 2> /dev/null -}