updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emacs-color-theme / PKGBUILD
blobe0c17ea8c46719ebf382b843b3951d265ae591fe
1 # $Id: PKGBUILD 59903 2011-12-02 11:18:13Z andrea $
2 # Maintainer:
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
4 # Contributor: Cesar Romero <cesar.romero@gmail.com>
6 pkgname=emacs-color-theme
7 pkgver=6.6.0
8 pkgrel=7
9 arch=('any')
10 pkgdesc="Emacs color themes"
11 url="https://gna.org/projects/color-theme"
12 license=('GPL2')
13 depends=('emacs' 'xorg-fonts-100dpi')
14 makedepends=('emacs')
15 provides=('color-theme')
16 replaces=('color-theme')
17 install=$pkgname.install
18 source=(http://download.gna.org/color-theme/color-theme-$pkgver.tar.gz
19         'gnus-bug.diff'
20         'fix-build.patch')
21 md5sums=('a4de73c236a6af11ab378bfe18dabcca'
22          '8b7ee1c4c6f80606f22c3de448ec92e8'
23          '25b92ea246716689502ebe050322a60a')
25 build() {
26   cd $srcdir/color-theme-$pkgver
28   patch -p1 -i $srcdir/gnus-bug.diff
29   patch -p0 -i $srcdir/fix-build.patch
31   make
34 package() {
35   cd $srcdir/color-theme-$pkgver
36   install -Dm644 color-theme.el \
37     $pkgdir/usr/share/emacs/site-lisp/color-theme.el
38   install -Dm644 themes/color-theme-library.el \
39     $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.el
40   install -Dm644 themes/color-theme-example.el \
41     $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.el
42   install -Dm644 color-theme.elc \
43     $pkgdir/usr/share/emacs/site-lisp/color-theme.elc
44   install -Dm644 themes/color-theme-library.elc \
45     $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.elc
46   install -Dm644 themes/color-theme-example.elc \
47     $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.elc