# Maintainer: Stefan Husmann # Contributor: Cesar Romero pkgname=emacs-color-theme pkgver=6.6.0 pkgrel=3 arch=('any') pkgdesc="Emacs color themes" url="https://gna.org/projects/color-theme" license=('GPL2') depends=('emacs' 'xorg-fonts-100dpi') provides=('color-theme') replaces=('color-theme') install=$pkgname.install source=(http://download.gna.org/color-theme/color-theme-$pkgver.tar.gz) md5sums=('a4de73c236a6af11ab378bfe18dabcca') build() { cd $srcdir/color-theme-$pkgver install -Dm644 color-theme.el \ $pkgdir/usr/share/emacs/site-lisp/color-theme.el || return 1 install -Dm644 themes/color-theme-library.el \ $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.el || return 1 install -Dm644 themes/color-theme-example.el \ $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.el || return 1 cd $pkgdir/usr/share/emacs/site-lisp for _i in color-theme.el themes/color-theme-library.el \ themes/color-theme-example.el do emacs -batch -f batch-byte-compile ${_i} || return 1 done }