summaryrefslogtreecommitdiff
path: root/office/pandoc-bin
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo@palmtx.com.ar>2019-04-29 23:58:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-29 23:58:29 +0700
commit66118ad0467c7cd2cf5f05675415286c2ce671e1 (patch)
tree18cff870d06627e2abd25c60e1a23d85a1486c3a /office/pandoc-bin
parent2a77753cb34e8e23cce929c6ab926e57a0de4ead (diff)
downloadslackbuilds-66118ad0467c7cd2cf5f05675415286c2ce671e1.tar.gz
office/pandoc-bin: Restore update.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pandoc-bin')
-rw-r--r--office/pandoc-bin/pandoc-bin.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/office/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index bcebb6cc0a..fc47c6a070 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.SlackBuild
@@ -22,7 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=pandoc
+PRGNAM=pandoc-bin
+SRCNAM=pandoc
VERSION=${VERSION:-2.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,10 +51,9 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-linux.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION-linux.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,7 +71,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/ -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM-bin.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc