PKGBUILDs/community/ecb/PKGBUILD

24 lines
763 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=ecb
pkgver=2.40
pkgrel=3
pkgdesc="Emacs Code Browser"
arch=('i686' 'x86_64')
url="http://ecb.sourceforge.net/"
depends=(emacs cedet)
license=('GPL')
install=ecb.install
source=(http://downloads.sourceforge.net/ecb/$pkgname-$pkgver.tar.gz)
md5sums=('7f1df8e1c15b8d95641b40abbd706cd7')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/share/emacs/site-lisp/ecb
make CEDET=/usr/share/emacs/site-lisp/cedet ecb && \
cp -R $startdir/src/$pkgname-$pkgver/* $startdir/pkg/usr/share/emacs/site-lisp/ecb && \
find $pkgdir/usr/share -type f -exec chmod 0644 {} \; && \
find $pkgdir/usr/share -type d -exec chmod 0755 {} \;
}