From 637c326f230906eddb8a27a55554965735e1d7b1 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 14 Oct 2016 10:56:31 +0100 Subject: [PATCH] Add neomutt slackbuild --- .gitignore | 1 + neomutt/doinst.sh.gz | Bin 0 -> 264 bytes neomutt/neomutt.SlackBuild | 129 +++++++++++++++++++++++++++++++++++++ neomutt/slack-desc | 19 ++++++ 4 files changed, 149 insertions(+) create mode 100644 .gitignore create mode 100644 neomutt/doinst.sh.gz create mode 100644 neomutt/neomutt.SlackBuild create mode 100644 neomutt/slack-desc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ac84b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.*z diff --git a/neomutt/doinst.sh.gz b/neomutt/doinst.sh.gz new file mode 100644 index 0000000000000000000000000000000000000000..012e8e614cf1a5e0e114e0d5b45461dfc952ebea GIT binary patch literal 264 zcmV+j0r&nNiwFp?SNJ>v17vS$ZgX@lb7%lfPfbh2Fc7`>S3GM$1#R)*Md@ul2&bEaRW^%N!qfg|J|9eikC2XUo&r*f_3lb7x=7z=lhqwZmw${w~w2?R>sAkJ)vPn zb!w**{r%AfT9s%|@nDhn6zMD>Oc+WgtQ!ft12Z~9Y?ts0T*kCeyk(!Wc*O~>A{t(Y zw>t?5OhANXhY$?VShTeoII4)h;LS~%y{ggw;$rxRAM^OUJf$QvBAGcD9WvkeaVVRj zFGilND_yqIWOa$pT?r%Ug^E||78~po3!;s8fy1S6a)x5tw$*o49s5%rIzQ*!J@FF< O@mD`jNM!bJ0RRA?G /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +# Compress and link manpages, if any: +if [ -d $PKG/usr/man ]; then + ( cd $PKG/usr/man + for manpagedir in $(find . -type d -name "man*") ; do + ( cd $manpagedir + for eachpage in $( find . -type l -maxdepth 1) ; do + ln -s $( readlink $eachpage ).gz $eachpage.gz + rm $eachpage + done + gzip -9 *.? + ) + done + ) +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh + +# This stuff is redundant or not useful to most people, IMHO. +# If you want it, use the source, Luke. +rm -f $PKG/usr/doc/mutt-$VERSION/*.html +rm -f $PKG/etc/mutt/*.dist + +# This is an ancient artifact +rm -f $PKG/usr/doc/mutt-$VERSION/samples/ca-bundle.crt + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +mv $PKG/etc/mutt/Muttrc $PKG/etc/mutt/Muttrc.new + +cd $PKG +/sbin/makepkg -l y -c n ../neomutt-$VERSION-$ARCH-$BUILD.txz + diff --git a/neomutt/slack-desc b/neomutt/slack-desc new file mode 100644 index 0000000..36d5f09 --- /dev/null +++ b/neomutt/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +neomutt: Mutt (the Mutt mail user agent) +neomutt: +neomutt: Mutt is a small but very powerful text-based MIME mail client. +neomutt: Mutt is highly configurable, and is well suited to the mail power +neomutt: user with advanced features like key bindings, keyboard macros, +neomutt: mail threading, regular expression searches and a powerful pattern +neomutt: matching language for selecting groups of messages. +neomutt: +neomutt: +neomutt: +neomutt: -- 2.44.0