summaryrefslogtreecommitdiff
path: root/pcr/emacs-org-mode
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/emacs-org-mode
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/emacs-org-mode')
-rw-r--r--pcr/emacs-org-mode/PKGBUILD39
-rw-r--r--pcr/emacs-org-mode/emacs-org-mode.install62
2 files changed, 0 insertions, 101 deletions
diff --git a/pcr/emacs-org-mode/PKGBUILD b/pcr/emacs-org-mode/PKGBUILD
deleted file mode 100644
index 4b36a3e3b..000000000
--- a/pcr/emacs-org-mode/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Contributor: Jiyunatori <tori_LEAVETHISOUT_@0xc29.net>
-# Contributor: mdev
-# adopted by domanov <domanov_LEAVETHISOUT_@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
-
-pkgname=emacs-org-mode
-_srcname=org
-pkgver=7.9.2
-pkgrel=1
-pkgdesc="Emacs Org Mode"
-arch=('any')
-url="http://orgmode.org/"
-depends=(emacs)
-license=('GPL')
-install=emacs-org-mode.install
-source=(http://orgmode.org/$_srcname-$pkgver.tar.gz)
-md5sums=('e79441ff81c176e70230937e09f6042c')
-
-build() {
- cd "${srcdir}/${_srcname}-${pkgver}"
- make compile || return 1
-}
-
-package() {
- cd "${srcdir}/${_srcname}-${pkgver}"
- make prefix="${pkgdir}/usr/share" install || return 1
-
- ## by default now we install also the contrib directory
- install -d -m755 $pkgdir/usr/share/emacs/site-lisp/org_contrib || return 1
- cp -r contrib/* $pkgdir/usr/share/emacs/site-lisp/org_contrib || return 1
-
- ##! proper install of info files (thanks mdev)
- ##! replace "orgmode" with "org" in the following lines if you want
- ##! to replace emacs own org's info files. You also need to change the .install.
- install -D -m644 doc/org $pkgdir/usr/share/info/orgmode || return 1
- gzip -9 $pkgdir/usr/share/info/orgmode || return 1
- rm $pkgdir/usr/share/info/org || return 1
-}
-md5sums=('e79441ff81c176e70230937e09f6042c')
diff --git a/pcr/emacs-org-mode/emacs-org-mode.install b/pcr/emacs-org-mode/emacs-org-mode.install
deleted file mode 100644
index e8bd91185..000000000
--- a/pcr/emacs-org-mode/emacs-org-mode.install
+++ /dev/null
@@ -1,62 +0,0 @@
-## NOTE: the line commented with '##!' are needed
-## to REPLACE the info file shipped by emacs (currently at version 6.21)
-## with the info docs from this distribution (thanks mdev)
-
-# arg 1: the new package version
-# arg 2: the old package version
-
-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 (currently 6.21)
-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
-}
-
-pre_upgrade() {
- /bin/true
-}
-
-post_upgrade() {
- post_install $1
-}
-
-
-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
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-op=$1
-shift
-$op $*