aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-27 15:16:11 +0100
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:29:04 -0600
commitb5a7a95bdfa93a9ad3c6a8f0754eb1837a0c3e4c (patch)
tree50447d93775df38677012c4a6f779ef6901fd604 /academic
parentd8e4d5de7dbf7e6c915046d556e76850e06dc4da (diff)
academic/abntex: Updated for version 20200715_f0a4d3c.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/abntex/abntex.SlackBuild38
-rw-r--r--academic/abntex/abntex.info6
2 files changed, 15 insertions, 29 deletions
diff --git a/academic/abntex/abntex.SlackBuild b/academic/abntex/abntex.SlackBuild
index ec4940e05fec..6728604dc1ac 100644
--- a/academic/abntex/abntex.SlackBuild
+++ b/academic/abntex/abntex.SlackBuild
@@ -27,15 +27,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=abntex
-VERSION=${VERSION:-0.9_beta2}
+VERSION=${VERSION:-20200715_f0a4d3c}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-MAJOR=$(echo $VERSION | cut -d _ -f 1)
-MINOR=$(echo $VERSION | cut -d _ -f 2)
-
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -48,17 +45,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-FORCE_LYX=${FORCE_LYX:-NO}
-LYX_PATH=${LYX_PATH:-/usr/share/lyx}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$MAJOR
-tar xvf $CWD/$PRGNAM-$MAJOR-$MINOR.tar.gz
-cd $PRGNAM-$MAJOR
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -66,23 +60,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch < $CWD/Makefile.diff
-
-find texmf/ lyx/ -type f -exec chmod 644 {} \;
-
-echo quit | make doc
-make install DESTDIR=$PKG
-
-# Lyx may not have been installed
-if [ "$FORCE_LYX" != "NO" ]; then
- mkdir -p $PKG/usr/share/lyx
- cp -rf lyx/layouts/ $PKG/$LYX_PATH
-fi
-
+find . -name ".gitignore" -exec rm {} \;
+make install PREFIX=/usr DESTDIR=$PKG
+sh build.sh
+cd target
+for i in *.zip ; do unzip $i ; done
+rm *.zip *.tar.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LEIAME LEIAME.administracao LEIAME.linux compiled.docs/* lyx/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
+find . -name "*.pdf" -exec cp -a {} $PKG/usr/doc/$PRGNAM-$VERSION/ \;
+cp ../*.md ../LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/academic/abntex/abntex.info b/academic/abntex/abntex.info
index 9ced2dab26b5..a57b0537a583 100644
--- a/academic/abntex/abntex.info
+++ b/academic/abntex/abntex.info
@@ -1,8 +1,8 @@
PRGNAM="abntex"
-VERSION="0.9_beta2"
+VERSION="20200715_f0a4d3c"
HOMEPAGE="http://www.abntex.net.br/"
-DOWNLOAD="http://downloads.sourceforge.net/abntex/abntex-0.9-beta2.tar.gz"
-MD5SUM="4c5bc2d5388ddf03df754072116ab1f8"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/abntex-20200715_f0a4d3c.tar.xz"
+MD5SUM="f2cc9267ae71b14f9d9780fa824e8878"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""