mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
misc/asr-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
5d20fe0862
commit
0a046d4d7d
1 changed files with 4 additions and 4 deletions
|
@ -25,9 +25,9 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=asr-manpages
|
||||
VERSION=1.3.6
|
||||
SRC_VERSION=1.3
|
||||
DEB_VERSION=1.3-6
|
||||
VERSION=${VERSION:-1.3.6}
|
||||
SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
|
||||
DEB_VERSION=6
|
||||
# Hard code the ARCH as this is truly architecture independent
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
|
@ -48,7 +48,7 @@ tar xvf $CWD/${PRGNAM}_$SRC_VERSION.orig.tar.gz
|
|||
cd $PRGNAM-$SRC_VERSION.orig
|
||||
|
||||
# Patch the manpages to the latest version.
|
||||
patch -p1 < $CWD/${PRGNAM}_$DEB_VERSION.diff
|
||||
patch -p1 < $CWD/${PRGNAM}_$SRC_VERSION-$DEB_VERSION.diff
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
Loading…
Reference in a new issue