mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/ecb makedepends fix
This commit is contained in:
parent
f648b39761
commit
c4fe1854a4
1 changed files with 32 additions and 0 deletions
32
community/ecb/PKGBUILD
Normal file
32
community/ecb/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# $Id$
|
||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||
|
||||
pkgname=ecb
|
||||
pkgver=2.40.1pre
|
||||
pkgrel=7
|
||||
pkgdesc="Emacs Code Browser"
|
||||
arch=('any')
|
||||
url="http://ecb.sourceforge.net/"
|
||||
depends=('emacs')
|
||||
makedepends=('git')
|
||||
license=('GPL')
|
||||
install=ecb.install
|
||||
#source=(http://downloads.sourceforge.net/ecb/$pkgname-$pkgver.tar.gz)
|
||||
#source=(ecb-$pkgver.tar.gz::http://ecb.sourceforge.net/cvs_snapshots/ecb.tar.gz)
|
||||
source=(git://github.com/emacsmirror/ecb.git)
|
||||
md5sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname
|
||||
sed -i 's|common/cedet.el|cedet.elc|' Makefile
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname
|
||||
_emacsver=`pacman -Q emacs | cut -f2 -d\ |cut -f1 -d-`
|
||||
mkdir -p $pkgdir/usr/share/emacs/site-lisp/ecb
|
||||
make CEDET=/usr/share/emacs/${_emacsver}/lisp/cedet ecb
|
||||
cp -R $srcdir/$pkgname-snap/* $pkgdir/usr/share/emacs/site-lisp/ecb
|
||||
find $pkgdir/usr/share -type f -exec chmod 0644 {} \;
|
||||
find $pkgdir/usr/share -type d -exec chmod 0755 {} \;
|
||||
}
|
Loading…
Reference in a new issue