summaryrefslogtreecommitdiff
path: root/xemacs-sumo/Pkgfile
diff options
context:
space:
mode:
authorAntti Nykanen <aon@iki.fi>2008-06-15 02:10:03 +0300
committerAntti Nykanen <aon@iki.fi>2008-06-15 02:10:03 +0300
commita82c6461e3d6eb3830930faa30ef3bc9bf243c14 (patch)
tree369084c540e94da2a2bea48a223038f7416f24ee /xemacs-sumo/Pkgfile
parent095630c1c6d331b4e94031c5f604594d2f1ae997 (diff)
downloadopt-a82c6461e3d6eb3830930faa30ef3bc9bf243c14.tar.gz
opt-a82c6461e3d6eb3830930faa30ef3bc9bf243c14.tar.xz
xemacs-sumo: junk cleanup
Diffstat (limited to 'xemacs-sumo/Pkgfile')
-rw-r--r--xemacs-sumo/Pkgfile23
1 files changed, 19 insertions, 4 deletions
diff --git a/xemacs-sumo/Pkgfile b/xemacs-sumo/Pkgfile
index cf32dc6d4..8fa70e5f6 100644
--- a/xemacs-sumo/Pkgfile
+++ b/xemacs-sumo/Pkgfile
@@ -6,13 +6,28 @@
name=xemacs-sumo
version=2007-04-27
-release=1
+release=2
source=(ftp://ftp.ch.xemacs.org/mirror/xemacs/packages/$name-$version.tar.bz2)
build(){
- mkdir -p $PKG/usr/lib/xemacs
- mv xemacs-packages $PKG/usr/lib/xemacs/
- find $PKG/usr/lib/xemacs -name "*.el" | while read file; do
+ 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
[ -f ${file}c ] && rm -f $file
done
+
+ mv xemacs-packages $PKG/usr/lib/xemacs/
+
chown -R root:root $PKG
}

Generated by cgit