n/amule: Updated.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent c9ede21441
commit b22971f9a8
  1. 7
      n/amule/amule.SlackBuild
  2. 4
      n/amule/doinst.sh

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009 Damien Goutte-Gattat
# Copyright (C) 2009,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -35,7 +35,7 @@ WGET=${WGET:-http://download2.berlios.de/amule/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-amule}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -109,8 +109,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Move documentation
mv $PKG/usr/share/doc $PKG/usr
# Copy slack-desc file
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Package the tree
cd $PKG

@ -0,0 +1,4 @@
#!/bin/sh
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
fi
Loading…
Cancel
Save