diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/emacs-color-theme | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/emacs-color-theme')
-rw-r--r-- | pcr/emacs-color-theme/PKGBUILD | 48 | ||||
-rw-r--r-- | pcr/emacs-color-theme/emacs-color-theme.install | 9 | ||||
-rw-r--r-- | pcr/emacs-color-theme/fix-build.patch | 19 | ||||
-rw-r--r-- | pcr/emacs-color-theme/gnus-bug.diff | 28 |
4 files changed, 0 insertions, 104 deletions
diff --git a/pcr/emacs-color-theme/PKGBUILD b/pcr/emacs-color-theme/PKGBUILD deleted file mode 100644 index 53ad1bf24..000000000 --- a/pcr/emacs-color-theme/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 59903 2011-12-02 11:18:13Z andrea $ -# Contributor: Stefan Husmann <stefan-husmann@t-online.de> -# Contributor: Cesar Romero <cesar.romero@gmail.com> -# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io> - -pkgname=emacs-color-theme -pkgver=6.6.0 -pkgrel=8 -arch=('any') -pkgdesc="Emacs color themes" -url="https://gna.org/projects/color-theme" -license=('GPL2') -depends=('emacs' 'xorg-fonts-100dpi') -makedepends=('emacs') -provides=('color-theme') -replaces=('color-theme') -install=$pkgname.install -source=(http://download.savannah.gnu.org/releases/color-theme/color-theme-$pkgver.tar.gz - 'gnus-bug.diff' - 'fix-build.patch') -md5sums=('a4de73c236a6af11ab378bfe18dabcca' - '8b7ee1c4c6f80606f22c3de448ec92e8' - '25b92ea246716689502ebe050322a60a') - -build() { - cd $srcdir/color-theme-$pkgver - - patch -p1 -i $srcdir/gnus-bug.diff - patch -p0 -i $srcdir/fix-build.patch - - make -} - -package() { - cd $srcdir/color-theme-$pkgver - install -Dm644 color-theme.el \ - $pkgdir/usr/share/emacs/site-lisp/color-theme.el - install -Dm644 themes/color-theme-library.el \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.el - install -Dm644 themes/color-theme-example.el \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.el - install -Dm644 color-theme.elc \ - $pkgdir/usr/share/emacs/site-lisp/color-theme.elc - install -Dm644 themes/color-theme-library.elc \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.elc - install -Dm644 themes/color-theme-example.elc \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.elc -} diff --git a/pcr/emacs-color-theme/emacs-color-theme.install b/pcr/emacs-color-theme/emacs-color-theme.install deleted file mode 100644 index b1de09f76..000000000 --- a/pcr/emacs-color-theme/emacs-color-theme.install +++ /dev/null @@ -1,9 +0,0 @@ -# arg 1: the new package version -post_install() { -echo "# To start using color-theme add this to your .emacs:" -echo "# (require 'color-theme)" -} - -post_upgrade() { - post_install -}
\ No newline at end of file diff --git a/pcr/emacs-color-theme/fix-build.patch b/pcr/emacs-color-theme/fix-build.patch deleted file mode 100644 index cadb1ae05..000000000 --- a/pcr/emacs-color-theme/fix-build.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.orig 2009-05-15 18:22:49.000000000 +0200 -+++ Makefile 2009-05-16 08:59:36.000000000 +0200 -@@ -15,6 +15,7 @@ - TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) - MANUAL = color-theme - MISC = AUTHORS COPYING ChangeLog Makefile.defs Makefile $(AUTOLOADFILE).in -+LOADPATH = "$(shell pwd)" "$(shell pwd)/themes" - #AUTHORS CREDITS HISTORY NEWS README Makefile ChangeLog \ - #ChangeLog.2005 ChangeLog.2004 ChangeLog.2003 ChangeLog.2002 \ - #ChangeLog.2001 servers.pl color-theme-auto.in color-theme.texi -@@ -47,7 +48,7 @@ - - %.elc: %.el - @$(EMACS) $(OPTIONCOMPILE) \ -- --eval '(setq load-path (cons "." load-path))' \ -+ --eval '(setq load-path (append load-path (list $(LOADPATH))))' \ - -f batch-byte-compile $< - - %.info: %.texi diff --git a/pcr/emacs-color-theme/gnus-bug.diff b/pcr/emacs-color-theme/gnus-bug.diff deleted file mode 100644 index 9d227df56..000000000 --- a/pcr/emacs-color-theme/gnus-bug.diff +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naur color-theme-6.6.0.orig/color-theme.el color-theme-6.6.0.new/color-theme.el ---- color-theme-6.6.0.orig/color-theme.el 2011-11-18 01:17:29.000000000 +0100 -+++ color-theme-6.6.0.new/color-theme.el 2011-11-18 01:24:07.000000000 +0100 -@@ -73,9 +73,10 @@ - "Non-nil if running XEmacs.") - - ;; Add this since it appears to miss in emacs-2x --(or (fboundp 'replace-in-string) -- (defun replace-in-string (target old new) -- (replace-regexp-in-string old new target))) -+(if (fboundp 'replace-in-string) -+ (defalias 'color-theme-replace-in-string 'replace-in-string) -+ (defsubst color-theme-replace-in-string (target old new &optional literal) -+ (replace-regexp-in-string old new target nil literal))) - - ;; face-attr-construct has a problem in Emacs 20.7 and older when - ;; dealing with inverse-video faces. Here is a short test to check -@@ -1626,8 +1627,8 @@ - (add-to-list 'color-themes - (list ',n - (upcase-initials -- (replace-in-string -- (replace-in-string -+ (color-theme-replace-in-string -+ (color-theme-replace-in-string - (symbol-name ',n) "^color-theme-" "") "-" " ")) - ,author)) - (defun ,n () |