PKGBUILD 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $Id: PKGBUILD 59903 2011-12-02 11:18:13Z andrea $
  2. # Maintainer (AUR:
  3. # Contributor (AUR): Stefan Husmann <stefan-husmann@t-online.de>
  4. # Contributor (AUR): Cesar Romero <cesar.romero@gmail.com>
  5. # Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>
  6. # parabola changes and rationale:
  7. # no changes.
  8. pkgname=emacs-color-theme
  9. pkgver=6.6.0
  10. pkgrel=8.1
  11. arch=('any')
  12. pkgdesc="Emacs color themes"
  13. url="https://gna.org/projects/color-theme"
  14. license=('GPL2')
  15. depends=('emacs' 'xorg-fonts-100dpi')
  16. makedepends=('emacs')
  17. provides=('color-theme')
  18. replaces=('color-theme')
  19. install=$pkgname.install
  20. source=(http://download.savannah.gnu.org/releases/color-theme/color-theme-$pkgver.tar.gz
  21. 'gnus-bug.diff'
  22. 'fix-build.patch')
  23. md5sums=('a4de73c236a6af11ab378bfe18dabcca'
  24. '8b7ee1c4c6f80606f22c3de448ec92e8'
  25. '25b92ea246716689502ebe050322a60a')
  26. build() {
  27. cd $srcdir/color-theme-$pkgver
  28. patch -p1 -i $srcdir/gnus-bug.diff
  29. patch -p0 -i $srcdir/fix-build.patch
  30. make
  31. }
  32. package() {
  33. cd $srcdir/color-theme-$pkgver
  34. install -Dm644 color-theme.el \
  35. $pkgdir/usr/share/emacs/site-lisp/color-theme.el
  36. install -Dm644 themes/color-theme-library.el \
  37. $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.el
  38. install -Dm644 themes/color-theme-example.el \
  39. $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.el
  40. install -Dm644 color-theme.elc \
  41. $pkgdir/usr/share/emacs/site-lisp/color-theme.elc
  42. install -Dm644 themes/color-theme-library.elc \
  43. $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.elc
  44. install -Dm644 themes/color-theme-example.elc \
  45. $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.elc
  46. }