2006-02-23 15:26:10 +00:00
|
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
2008-09-22 20:32:39 +02:00
|
|
|
# Maintainer: Johannes Winkelmann, jw at smts dot ch
|
2006-02-23 15:26:10 +00:00
|
|
|
# URL: http://www.xemacs.org
|
|
|
|
# Description: All packages for xemacs
|
2007-03-27 18:06:35 +03:00
|
|
|
# Depends on: xemacs
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=xemacs-sumo
|
2007-05-16 21:00:32 +03:00
|
|
|
version=2007-04-27
|
2008-06-15 02:10:03 +03:00
|
|
|
release=2
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(ftp://ftp.ch.xemacs.org/mirror/xemacs/packages/$name-$version.tar.bz2)
|
|
|
|
build(){
|
2008-06-15 02:10:03 +03:00
|
|
|
install -d -m0755 $PKG/usr/lib/xemacs
|
|
|
|
|
|
|
|
find xemacs-packages \
|
|
|
|
-name "ChangeLog*" \
|
|
|
|
-o -name "*README*" \
|
|
|
|
-o -name "INSTALL*" \
|
|
|
|
-o -name "*NEWS*" \
|
|
|
|
-o -name "BUGS*" \
|
|
|
|
-o -name "AUTHORS" \
|
|
|
|
-o -name "COPYING" \
|
|
|
|
-o -name "TODO*"|xargs rm -f
|
|
|
|
|
|
|
|
rm -rf xemacs-packages/{info,etc/zenirc}
|
|
|
|
|
|
|
|
find xemacs-packages -name "*.el" | while read file; do
|
2007-03-27 18:06:35 +03:00
|
|
|
[ -f ${file}c ] && rm -f $file
|
|
|
|
done
|
2008-06-15 02:10:03 +03:00
|
|
|
|
|
|
|
mv xemacs-packages $PKG/usr/lib/xemacs/
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
chown -R root:root $PKG
|
|
|
|
}
|