mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
misc/funny-manpages: Allow VERSION override.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3c9d21d161
commit
e52536c986
1 changed files with 4 additions and 4 deletions
|
@ -24,9 +24,9 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=funny-manpages
|
||||
VERSION=1.3.5
|
||||
SRC_VERSION=1.3
|
||||
DEB_VERSION=1.3-5
|
||||
VERSION=${VERSION:-1.3.5}
|
||||
SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
|
||||
DEB_VERSION=5
|
||||
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-2}
|
||||
|
@ -53,7 +53,7 @@ find -L . \
|
|||
-exec chmod 644 {} \;
|
||||
|
||||
# Patch the manpages to the latest version.
|
||||
patch -p1 < $CWD/${PRGNAM}_$DEB_VERSION.diff
|
||||
patch -p1 < $CWD/${PRGNAM}_$SRC_VERSION-$DEB_VERSION.diff
|
||||
|
||||
# Create the directories we need
|
||||
mkdir -p $PKG/usr/man/man{1,3,6,7}
|
||||
|
|
Loading…
Reference in a new issue