opt/emacs/Pkgfile

26 lines
756 B
Plaintext
Raw Normal View History

2006-04-09 06:33:03 +02:00
# Description: an extensible, customizable, self-documenting real-time display editor
# URL: http://www.gnu.org/software/emacs/
2006-09-09 23:11:35 +02:00
# Maintainer: Antti Nyk<79>nen, aon at iki dot fi
2007-03-25 16:35:35 +02:00
# Depends on: xorg, libtiff
2006-02-23 16:26:10 +01:00
name=emacs
version=21.4a
release=1
2006-10-13 15:50:49 +02:00
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-21.4
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--with-x
make
make prefix=$PKG/usr libexecdir=$PKG/usr/lib install
rm -rf $PKG/usr/bin/emacs-21.4 $PKG/usr/info
find $PKG/usr/share/emacs -name "*.el" | while read file; do
[ -f ${file}c ] && rm -f $file
done
chown -R root.root $PKG
find $PKG/usr/share -type d -exec chmod 755 {} \;
find $PKG/usr/share -type f -exec chmod 644 {} \;
}