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

24 lines
730 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Esposito <ragnarok@email.it>
pkgname=emacs-php-mode
pkgver=1.5.0
pkgrel=1
license=("GPL")
pkgdesc="Emacs mode for php"
url="http://php-mode.sf.net"
arch=('i686' 'x86_64')
depends=('emacs')
options=(docs zipman)
install=emacs-php-mode.install
source=("http://downloads.sourceforge.net/php-mode/php-mode-$pkgver.tar.gz")
md5sums=('6ddad6d150c946846a65bcecfb2cc1a0')
build() {
cd $srcdir/php-mode-$pkgver
make php-mode.info.gz || return 1
install -D -m644 php-mode.el $pkgdir/usr/share/emacs/site-lisp/php-mode.el && \
install -D -m644 php-mode.info.gz $pkgdir/usr/share/info/php-mode.info.gz
}