summaryrefslogtreecommitdiffstats
path: root/development/coccinelle
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-07 18:03:34 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:49 +0700
commit021e3a0dd87a403949d99faa505a770ab56d3fac (patch)
tree98acd157d7b4c0a1486f28629a4383eea7e401ff /development/coccinelle
parent12d80c284ff6f74749f132215c8d1333c0e26499 (diff)
downloadslackbuilds-021e3a0dd87a403949d99faa505a770ab56d3fac.tar.gz
slackbuilds-021e3a0dd87a403949d99faa505a770ab56d3fac.tar.xz
development/coccinelle: Updated for version 1.0.0_rc21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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