PKGBUILDs/community/emacs-haskell-mode/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
971 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Gleidson <gleidson.echeli@gmail.com>
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}
}