|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2010 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2011 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,9 +29,9 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-devhelp} |
|
|
|
|
VERSION=${VERSION:-2.30.0} |
|
|
|
|
VERSION=${VERSION:-2.32.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.30/$ARCHIVE} |
|
|
|
|
WGET=${WGET:-http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.32/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-devhelp} |
|
|
|
@ -100,8 +100,9 @@ mkdir -p $PKG/usr/doc/$NAME
|
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog NEWS README TODO \ |
|
|
|
|
$PKG/usr/doc/$NAME |
|
|
|
|
|
|
|
|
|
# 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 |
|
|
|
|