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

22 lines
621 B
Bash

# Contributor: Gour <gour@mail.inet.hr>
pkgname=emacs-muse
_pkgname=muse
pkgver=3.12
pkgrel=1
pkgdesc="Publishing environment for Emacs"
url="http://mwolson.org/projects/EmacsMuse.html"
arch=('i686' 'x86_64')
license=('GPL-3')
depends=('emacs' )
install=${pkgname}.install
source=(http://download.gna.org/muse-el/$_pkgname-$pkgver.tar.gz)
md5sums=('dd465db1e2b4866dbb76c0f1d31227d7')
build() {
cd $startdir/src/$_pkgname-$pkgver
cp Makefile.defs.default Makefile.defs
sed -i -e "s|\(PREFIX.*= \)/usr/local|\1/usr|" Makefile.defs || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}