summaryrefslogtreecommitdiff
path: root/multimedia/devede/devede.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/devede/devede.SlackBuild')
-rw-r--r--multimedia/devede/devede.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/multimedia/devede/devede.SlackBuild b/multimedia/devede/devede.SlackBuild
index 705ad98f0f..8ab059b6b3 100644
--- a/multimedia/devede/devede.SlackBuild
+++ b/multimedia/devede/devede.SlackBuild
@@ -22,11 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Roberto Neri <rneri@libero.it> to
+# - use 'pkgdocdir' and 'uninstall' install script options
+# - pass the version number to the build script
+
PRGNAM=devede
-VERSION=3.4
+VERSION=${VERSION:-3.11}
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -41,13 +46,10 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-./install.sh prefix=/usr DESTDIR=$PKG || exit 1
+./install.sh --prefix=/usr --pkgdocdir=/usr/doc/$PRGNAM-$VERSION --uninstall=no DESTDIR=$PKG || exit 1
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp version.txt $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/devede/html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/usr/share/doc/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc