updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emacs-color-theme-solarized / PKGBUILD
blob2e36a896b7f424dd6033c559a4b436147469eea9
1 # Maintainer: Victor van den Elzen <victor.vde@gmail.com>
3 pkgname=emacs-color-theme-solarized
4 pkgver=1.0.0beta2
5 pkgrel=1
6 pkgdesc="Solarized color theme for Emacs"
7 arch=(any)
8 url="http://ethanschoonover.com/solarized"
9 depends=('emacs' 'emacs-color-theme')
10 source=("http://ethanschoonover.com/solarized/files/solarized.zip")
11 license=('MIT')
13 build() {
14     cd "${srcdir}/solarized/emacs-colors-solarized"
15     # sed -ie "s/:italic t//" color-theme-solarized.el # Disable italic comments
16     emacs --batch --eval '(progn (push "." load-path) (byte-compile-file "color-theme-solarized.el"))'
19 package() {
20     cd "${srcdir}/solarized/emacs-colors-solarized"
21     mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/themes"
22     cp color-theme-solarized.{el,elc} "${pkgdir}/usr/share/emacs/site-lisp/themes/"
23     mkdir -p "${pkgdir}/usr/share/licenses/emacs-color-theme-solarized"
24     cp LICENSE "${pkgdir}/usr/share/licenses/emacs-color-theme-solarized/"
27 md5sums=('75a6cada2cbe978f709060bc0e217f41')
28 sha1sums=('e0032d7cd715257c120e25bf978f2561459c5b08')