diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-03-05 20:25:07 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-07 08:45:29 +0700 |
commit | 7ba955674516d4c81473565065c857140d0dfa93 (patch) | |
tree | e3d942e877eeec543f92fc971e6a4150990af296 /libraries | |
parent | 65fd5387267c9aba2a2a133f8098f8ba4d70b6cb (diff) |
libraries/ocaml-camomile: Correctly handle github tarball.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ocaml-camomile/ocaml-camomile.SlackBuild | 9 | ||||
-rw-r--r-- | libraries/ocaml-camomile/ocaml-camomile.info | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/libraries/ocaml-camomile/ocaml-camomile.SlackBuild b/libraries/ocaml-camomile/ocaml-camomile.SlackBuild index 3e54b1bdfa440..96e9b92d1f043 100644 --- a/libraries/ocaml-camomile/ocaml-camomile.SlackBuild +++ b/libraries/ocaml-camomile/ocaml-camomile.SlackBuild @@ -28,8 +28,7 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=camomile -SRCNAM2=Camomile +SRCNAM=Camomile if [ -z "$ARCH" ]; then case "$(uname -m)" in @@ -69,9 +68,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM2-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM2-$VERSION +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc -mv $PKG/usr/doc/$SRCNAM $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/doc/camomile $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/ocaml-camomile/ocaml-camomile.info b/libraries/ocaml-camomile/ocaml-camomile.info index 39935eb57d286..7f6c089664358 100644 --- a/libraries/ocaml-camomile/ocaml-camomile.info +++ b/libraries/ocaml-camomile/ocaml-camomile.info @@ -1,7 +1,7 @@ PRGNAM="ocaml-camomile" VERSION="1.0.2" HOMEPAGE="http://camomile.sourceforge.net/" -DOWNLOAD="https://github.com/yoriyuki/Camomile/archive/1.0.2/camomile-1.0.2.tar.gz" +DOWNLOAD="https://github.com/yoriyuki/Camomile/archive/1.0.2/Camomile-1.0.2.tar.gz" MD5SUM="2ec60575e485b0b92f821949a81acb4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |