mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
development/coccinelle: Updated for version 1.0.0_rc21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
12d80c284f
commit
021e3a0dd8
3 changed files with 8 additions and 9 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
3
development/coccinelle/doinst.sh
Normal file
3
development/coccinelle/doinst.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue