summaryrefslogtreecommitdiff
path: root/development/coccinelle
diff options
context:
space:
mode:
Diffstat (limited to 'development/coccinelle')
-rw-r--r--development/coccinelle/coccinelle.SlackBuild8
-rw-r--r--development/coccinelle/coccinelle.info6
-rw-r--r--development/coccinelle/doinst.sh3
3 files changed, 8 insertions, 9 deletions
diff --git a/development/coccinelle/coccinelle.SlackBuild b/development/coccinelle/coccinelle.SlackBuild
index e110992ca5..5a939c73db 100644
--- a/development/coccinelle/coccinelle.SlackBuild
+++ b/development/coccinelle/coccinelle.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=coccinelle
-VERSION=${VERSION:-1.0.0_rc20}
+VERSION=${VERSION:-1.0.0_rc21}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -91,11 +91,6 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -105,6 +100,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/coccinelle/coccinelle.info b/development/coccinelle/coccinelle.info
index 184c6e8461..6b216151de 100644
--- a/development/coccinelle/coccinelle.info
+++ b/development/coccinelle/coccinelle.info
@@ -1,8 +1,8 @@
PRGNAM="coccinelle"
-VERSION="1.0.0_rc20"
+VERSION="1.0.0_rc21"
HOMEPAGE="http://coccinelle.lip6.fr/"
-DOWNLOAD="http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc20.tgz"
-MD5SUM="08c21af0160863bda903d68718462979"
+DOWNLOAD="http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc21.tgz"
+MD5SUM="0387370889c434a69306f8e22919d6ce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="menhir"
diff --git a/development/coccinelle/doinst.sh b/development/coccinelle/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/development/coccinelle/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi