# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Gleidson pkgname=emacs-haskell-mode _srcname=haskell-mode pkgver=2.4 pkgrel=2 pkgdesc="Haskell mode package for Emacs" arch=('i686' 'x86_64') license=('GPL') url="http://haskell.org/haskell-mode/" install=emacs-haskell-mode.install source=(http://www.iro.umontreal.ca/~monnier/elisp/${_srcname}-$pkgver.tar.gz) md5sums=('de5ff32478154a39bea3adb3b7ce0e94') build() { # remove unnecessary files rm -f $srcdir/${_srcname}-$pkgver/ChangeLog rm -f $srcdir/${_srcname}-$pkgver/Makefile rm -f $srcdir/${_srcname}-$pkgver/NEWS rm -f $srcdir/${_srcname}-$pkgver/README # install the directory in emacs site-lisp install -d $pkgdir/usr/share/emacs/site-lisp/${_srcname} # install the files in directory created above install -m644 $srcdir/${_srcname}-$pkgver/* -t $pkgdir/usr/share/emacs/site-lisp/${_srcname} }