blob: ab19959738af9014f3e1743928a26c27751b8880 (
plain)
1 # Packager: Daniel Mueller, daniel at danm dot de
2 # Maintainer: Johannes Winkelmann, jw at smts dot ch
3 # URL: http://www.xemacs.org
4 # Description: All packages for xemacs
5 # Depends on: xemacs
6
7 name=xemacs-sumo
8 version=2009-02-17
9 release=1
10 source=(ftp://ftp.ch.xemacs.org/mirror/xemacs/packages/$name-$version.tar.bz2)
11 build(){
12 install -d -m0755 $PKG/usr/lib/xemacs
13
14 find xemacs-packages \
15 -name "ChangeLog*" \
16 -o -name "*README*" \
17 -o -name "INSTALL*" \
18 -o -name "*NEWS*" \
19 -o -name "BUGS*" \
20 -o -name "AUTHORS" \
21 -o -name "COPYING" \
22 -o -name "TODO*"|xargs rm -f
23
24 rm -rf xemacs-packages/{info,etc/zenirc}
25
26 find xemacs-packages -name "*.el" | while read file; do
27 [ -f ${file}c ] && rm -f $file
28 done
29
30 mv xemacs-packages $PKG/usr/lib/xemacs/
31
32 chown -R root:root $PKG
33 }
|