You are not logged in.
Hi,
I just created my first PKGBUILD file and I wanted to get a quick review before I submit just to make sure I didn't forget anything.
So here it is:
----------------
# Contributor: charlieb <charlieburrows@gmail.com>
pkgname=emacs-color-theme
pkgver=6.6.0
pkgrel=1
pkgdesc="An emacs-lisp mode for skinning your emacs"
url="http://www.nongnu.org/color-theme/"
arch=('any')
license=('GPL2')
depends=('emacs')
makedepends=('emacs')
source=(http://download.savannah.gnu.org/releases/color-theme/color-theme-6.6.0.tar.gz)
md5sums=('a4de73c236a6af11ab378bfe18dabcca')
build() {
cd "$srcdir/color-theme-$pkgver"
install -Dm444 color-theme.el \
"$pkgdir/usr/share/emacs/site-lisp/color-theme/color-theme.el"
install -Dm444 color-theme-autoloads.el \
"$pkgdir/usr/share/emacs/site-lisp/color-theme/color-theme-autoloads.el"
install -Dm444 themes/color-theme-library.el \
"$pkgdir/usr/share/emacs/site-lisp/color-theme/themes/color-theme-library.el"
emacs -q --no-site-file --batch -f batch-byte-compile \
$pkgdir/usr/share/emacs/site-lisp/color-theme/*.el || return 1
emacs -q --no-site-file --eval \
"(progn (setq load-path
(cons \"$pkgdir/usr/share/emacs/site-lisp/color-theme\"
load-path))
(require 'color-theme))" \
--batch -f batch-byte-compile \
$pkgdir/usr/share/emacs/site-lisp/color-theme/themes/*.el || return 1
}
----------------
Cheers,
Charlie
Offline
what's the difference with http://www.archlinux.org/packages/commu … lor-theme/ ?
Offline
There is no difference. I did not find that in the searched that I did. Oh well herp-derp.
Cheers,
Charlie
Offline