diff options
Diffstat (limited to 'haskell')
581 files changed, 6903 insertions, 2004 deletions
diff --git a/haskell/cabal-install/README b/haskell/cabal-install/README new file mode 100644 index 0000000000..fd546af36a --- /dev/null +++ b/haskell/cabal-install/README @@ -0,0 +1,20 @@ +cabal-install is a tool to manage Haskell's package building. + +Cabal is a system for building and packaging Haskell libraries and +programs. It defines a common interface for package authors and +distributors to easily build their applications in a portable way. +Cabal is part of a larger infrastructure for distributing, organizing, +and cataloging Haskell libraries and programs. + +This is a binary repack. + +Although SBo provides ghc, which, in turn, +can theoretically build everything using the Setup.hs files in +package distributions, managing versions in Haskell is not trivial, +and also sematically dubious, since most Haskell libraries are static. + +Cabal is intended to remediate this issue. Each cabal-based +SlackBuild would have to carry a large number of source files, but, +in turn, would avoid having to micro-manage dependencies, and +pollute the file system with single-use static libraries. + diff --git a/haskell/cabal-install/cabal-install.SlackBuild b/haskell/cabal-install/cabal-install.SlackBuild new file mode 100644 index 0000000000..e355dcd5d1 --- /dev/null +++ b/haskell/cabal-install/cabal-install.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/bash + +# Slackware build script for cabal-install + +# Copyright 2023, Lockywolf +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=cabal-install +VERSION=${VERSION:-3.10.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" + SRC_SUFFIX=i386-linux-deb9 +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" + SRC_SUFFIX=i386-linux-deb9 +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + SRC_SUFFIX=x86_64-linux-ubuntu20_04 +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + printf "Unsupported architecture: ARM.\n" 1>&2 + exit 1 +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + printf "Unsupported architecture: unknown.\n" 1>&2 + exit 2 +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION-$SRC_SUFFIX.tar.xz +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +install -D -m755 cabal "$PKG"/opt/cabal-install/cabal +install -d -m755 "$PKG"/usr/bin + +( + cd $PKG/usr/bin + ln -sr ../../opt/cabal-install/cabal ./cabal +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + plan.json \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/cabal-install/cabal-install.info b/haskell/cabal-install/cabal-install.info new file mode 100644 index 0000000000..b597cfe098 --- /dev/null +++ b/haskell/cabal-install/cabal-install.info @@ -0,0 +1,10 @@ +PRGNAM="cabal-install" +VERSION="3.10.1.0" +HOMEPAGE="https://www.haskell.org/cabal/" +DOWNLOAD="https://downloads.haskell.org/~cabal/cabal-install-3.10.1.0/cabal-install-3.10.1.0-i386-linux-deb9.tar.xz" +MD5SUM="ad3773d50d26fc229eaaa0500f8fce72" +DOWNLOAD_x86_64="https://downloads.haskell.org/~cabal/cabal-install-3.10.1.0/cabal-install-3.10.1.0-x86_64-linux-ubuntu20_04.tar.xz" +MD5SUM_x86_64="3cb02cc60db86efbf460f639146728fe" +REQUIRES="" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.cabal-install_2023-10-17@lockywolf.net" diff --git a/haskell/cabal-install/slack-desc b/haskell/cabal-install/slack-desc new file mode 100644 index 0000000000..64eed7ecb4 --- /dev/null +++ b/haskell/cabal-install/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +cabal-install: cabal-install (Common Architecture Building Applications Libraries) +cabal-install: +cabal-install: cabal-install provides a binary cabal, which is required to build +cabal-install: Haskell libraries and applications. It may be seen as a Haskell +cabal-install: equivalent of rustup, cargo, or go get. +cabal-install: +cabal-install: +cabal-install: +cabal-install: +cabal-install: +cabal-install: diff --git a/haskell/ghc/README b/haskell/ghc/README index 85310df7ef..3b80d3343a 100644 --- a/haskell/ghc/README +++ b/haskell/ghc/README @@ -1,6 +1,7 @@ -GHC is a state-of-the-art, open source, compiler and interactive environment -for the functional language Haskell. This is a complete build, including -interactive system and profiling libraries and documentation. +GHC is a state-of-the-art, open source, compiler and interactive +environment for the functional language Haskell. This is a complete +build, including interactive system and profiling libraries and +documentation. You will need 4.3G of free space in /tmp/SBo to build this package. diff --git a/haskell/ghc/ghc.SlackBuild b/haskell/ghc/ghc.SlackBuild index 6071f388de..964b6770c2 100644 --- a/haskell/ghc/ghc.SlackBuild +++ b/haskell/ghc/ghc.SlackBuild @@ -145,7 +145,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # If docs were not built and installed, let's install the prebuilt manpage # (taken from the prebuilt tarball) if [ ! -d $PKG/usr/man ]; then - install -D -m0644 $CWD/ghc.1 $PKG/usr/man/man1 + install -D -m0644 $CWD/ghc.1 $PKG/usr/man/man1/ghc.1 fi # Install the bash completion file too diff --git a/haskell/ghcup/README b/haskell/ghcup/README new file mode 100644 index 0000000000..267d0a9859 --- /dev/null +++ b/haskell/ghcup/README @@ -0,0 +1,7 @@ +GHCup makes it easy to install specific versions of GHC on GNU/Linux, +macOS (aka Darwin), FreeBSD and Windows and can also bootstrap a fresh +Haskell developer environment from scratch. It follows the UNIX +philosophy of do one thing and do it well. Similar in scope to rustup, +pyenv and jenv. + +This is a binary repack. diff --git a/haskell/haskell-store/haskell-store.SlackBuild b/haskell/ghcup/ghcup.SlackBuild index 3df530059a..aed6ea6ec6 100644 --- a/haskell/haskell-store/haskell-store.SlackBuild +++ b/haskell/ghcup/ghcup.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-store +# Slackware build script for ghcup -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2023, Lockywolf # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,16 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-store -VERSION=${VERSION:-0.5.0.1} +PRGNAM=ghcup +VERSION=${VERSION:-0.1.20.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -42,9 +38,12 @@ if [ -z "$ARCH" ]; then esac fi -# 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. +case "$ARCH" in + i?86) SRCARCH=i386 ;; + x86_64) SRCARCH=$ARCH ;; + *) printf "%s unsupported\n" "$ARCH" 1>&2 ; exit 1 ;; +esac + if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -54,65 +53,37 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION + +mkdir -p $PKG/usr/bin/ +install -m 755 $CWD/$SRCARCH-linux-$PRGNAM-$VERSION $PKG/usr/bin/$SRCARCH-linux-$PRGNAM-$VERSION + +( + cd $PKG/usr/bin + ln -sr $SRCARCH-linux-$PRGNAM-$VERSION $PRGNAM +) + chown -R root:root . -find -L . \ +find -L $PKG/ \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -runghc Setup build -runghc Setup haddock -runghc Setup copy --destdir=$PKG -runghc Setup register --gen-pkg-config - -PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) -mkdir -p $PKG/$PKGCONFD -mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/ghcup/ghcup.info b/haskell/ghcup/ghcup.info new file mode 100644 index 0000000000..644357d1ef --- /dev/null +++ b/haskell/ghcup/ghcup.info @@ -0,0 +1,10 @@ +PRGNAM="ghcup" +VERSION="0.1.20.0" +HOMEPAGE="https://www.haskell.org/ghcup/" +DOWNLOAD="https://downloads.haskell.org/~ghcup/0.1.20.0/i386-linux-ghcup-0.1.20.0" +MD5SUM="c89e96a3a348891065d9350a5b24a203" +DOWNLOAD_x86_64="https://downloads.haskell.org/~ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0" +MD5SUM_x86_64="0edabd54c4053a62fa54ec0091642ce0" +REQUIRES="" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.ghcup_2023-11-27@lockywolf.net" diff --git a/haskell/ghcup/slack-desc b/haskell/ghcup/slack-desc new file mode 100644 index 0000000000..b627b7174d --- /dev/null +++ b/haskell/ghcup/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +ghcup: ghcup (Glasgow Haskell Compiler version manager) +ghcup: +ghcup: GHCup is the main installer for the general purpose language +ghcup: Haskell. +ghcup: +ghcup: ghcup allows installing different versions of GHC as a user, and +ghcup: switch them as desired. +ghcup: +ghcup: +ghcup: +ghcup: diff --git a/haskell/haskell-Diff/haskell-Diff.SlackBuild b/haskell/haskell-Diff/haskell-Diff.SlackBuild index 7bfbd3dd72..732f6c95ea 100644 --- a/haskell/haskell-Diff/haskell-Diff.SlackBuild +++ b/haskell/haskell-Diff/haskell-Diff.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-Diff -VERSION=${VERSION:-0.3.4} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/haskell/haskell-Diff/haskell-Diff.info b/haskell/haskell-Diff/haskell-Diff.info index 9b90e74c46..dacc4fa7ec 100644 --- a/haskell/haskell-Diff/haskell-Diff.info +++ b/haskell/haskell-Diff/haskell-Diff.info @@ -1,10 +1,10 @@ PRGNAM="haskell-Diff" -VERSION="0.3.4" +VERSION="0.4.1" HOMEPAGE="https://hackage.haskell.org/package/Diff" -DOWNLOAD="https://hackage.haskell.org/packages/archive/Diff/0.3.4/Diff-0.3.4.tar.gz" -MD5SUM="a1806f2218e169fc6bd1c3a8ab082365" +DOWNLOAD="https://hackage.haskell.org/packages/archive/Diff/0.4.1/Diff-0.4.1.tar.gz" +MD5SUM="5212d9a7d723c02481ce9cec93d16d38" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild b/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild index a76530645e..5cc7234782 100644 --- a/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild +++ b/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-GLURaw -VERSION=${VERSION:-2.0.0.3} +VERSION=${VERSION:-2.0.0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-GLURaw/haskell-GLURaw.info b/haskell/haskell-GLURaw/haskell-GLURaw.info index 0f792f47e9..6e8542055c 100644 --- a/haskell/haskell-GLURaw/haskell-GLURaw.info +++ b/haskell/haskell-GLURaw/haskell-GLURaw.info @@ -1,8 +1,8 @@ PRGNAM="haskell-GLURaw" -VERSION="2.0.0.3" +VERSION="2.0.0.5" HOMEPAGE="https://hackage.haskell.org/package/GLURaw" -DOWNLOAD="https://hackage.haskell.org/packages/archive/GLURaw/2.0.0.3/GLURaw-2.0.0.3.tar.gz" -MD5SUM="364adf511af399d0cc865c6a15d9c17e" +DOWNLOAD="https://hackage.haskell.org/packages/archive/GLURaw/2.0.0.5/GLURaw-2.0.0.5.tar.gz" +MD5SUM="ed598080f2ace73c39fe9936841e5e95" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-OpenGLRaw" diff --git a/haskell/haskell-GLUT/haskell-GLUT.SlackBuild b/haskell/haskell-GLUT/haskell-GLUT.SlackBuild index 97569eca9c..a089077e4c 100644 --- a/haskell/haskell-GLUT/haskell-GLUT.SlackBuild +++ b/haskell/haskell-GLUT/haskell-GLUT.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-GLUT -VERSION=${VERSION:-2.7.0.12} +VERSION=${VERSION:-2.7.0.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-GLUT/haskell-GLUT.info b/haskell/haskell-GLUT/haskell-GLUT.info index ec2218341c..c1af1768d5 100644 --- a/haskell/haskell-GLUT/haskell-GLUT.info +++ b/haskell/haskell-GLUT/haskell-GLUT.info @@ -1,8 +1,8 @@ PRGNAM="haskell-GLUT" -VERSION="2.7.0.12" +VERSION="2.7.0.16" HOMEPAGE="https://hackage.haskell.org/package/GLUT" -DOWNLOAD="https://hackage.haskell.org/package/GLUT-2.7.0.12/GLUT-2.7.0.12.tar.gz" -MD5SUM="296b6ee02a6b004f4c0c406fc9b35544" +DOWNLOAD="https://hackage.haskell.org/package/GLUT-2.7.0.16/GLUT-2.7.0.16.tar.gz" +MD5SUM="b0a5586c9c20a800e82ae17aeaa2d21b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-OpenGL haskell-random" diff --git a/haskell/haskell-Glob/haskell-Glob.info b/haskell/haskell-Glob/haskell-Glob.info index 40e60244dc..14c1b65d4b 100644 --- a/haskell/haskell-Glob/haskell-Glob.info +++ b/haskell/haskell-Glob/haskell-Glob.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/Glob/0.9.3/Glob-0.9.3.tar MD5SUM="250e52de006f720e582ba179cd87389e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-dlist haskell-semigroups haskell-transformers-compat" +REQUIRES="haskell-dlist haskell-semigroups" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-HTTP/README b/haskell/haskell-HTTP/README index dba905f5e6..f17285c2f4 100644 --- a/haskell/haskell-HTTP/README +++ b/haskell/haskell-HTTP/README @@ -1,7 +1,6 @@ -The HTTP package supports client-side web programming in Haskell. -It lets you set up HTTP connections, transmitting requests and -processing the responses coming back, all from within the comforts -of Haskell. +The HTTP package supports client-side web programming in Haskell. It +lets you set up HTTP connections, transmitting requests and processing +the responses coming back, all from within the comforts of Haskell. -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-HTTP/haskell-HTTP.SlackBuild b/haskell/haskell-HTTP/haskell-HTTP.SlackBuild index 86c8bc3bf1..01c9d81d5a 100644 --- a/haskell/haskell-HTTP/haskell-HTTP.SlackBuild +++ b/haskell/haskell-HTTP/haskell-HTTP.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-HTTP -VERSION=${VERSION:-4000.3.11} +VERSION=${VERSION:-4000.3.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-HTTP/haskell-HTTP.info b/haskell/haskell-HTTP/haskell-HTTP.info index 5937c09981..ee9d0f66f2 100644 --- a/haskell/haskell-HTTP/haskell-HTTP.info +++ b/haskell/haskell-HTTP/haskell-HTTP.info @@ -1,8 +1,8 @@ PRGNAM="haskell-HTTP" -VERSION="4000.3.11" +VERSION="4000.3.16" HOMEPAGE="https://hackage.haskell.org/package/HTTP" -DOWNLOAD="https://hackage.haskell.org/packages/archive/HTTP/4000.3.11/HTTP-4000.3.11.tar.gz" -MD5SUM="393b74a683fb72136b1ea33bbdf2f981" +DOWNLOAD="https://hackage.haskell.org/packages/archive/HTTP/4000.3.16/HTTP-4000.3.16.tar.gz" +MD5SUM="027f5f8d9b710ad0199394a2b4c8a25b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-network haskell-network-uri" diff --git a/haskell/haskell-HUnit/README b/haskell/haskell-HUnit/README index fbb9a4fb20..25ef8c8282 100644 --- a/haskell/haskell-HUnit/README +++ b/haskell/haskell-HUnit/README @@ -1,5 +1,5 @@ HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java. -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild b/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild index 500060ad6b..df07e8a7d1 100644 --- a/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild +++ b/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-HsYAML -VERSION=${VERSION:-0.1.1.2} +VERSION=${VERSION:-0.2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/4.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-HsYAML/haskell-HsYAML.info b/haskell/haskell-HsYAML/haskell-HsYAML.info index 6921f93afd..679e85c809 100644 --- a/haskell/haskell-HsYAML/haskell-HsYAML.info +++ b/haskell/haskell-HsYAML/haskell-HsYAML.info @@ -1,8 +1,10 @@ PRGNAM="haskell-HsYAML" -VERSION="0.1.1.2" +VERSION="0.2.1.0" HOMEPAGE="https://hackage.haskell.org/package/HsYAML" -DOWNLOAD="https://hackage.haskell.org/packages/archive/HsYAML/0.1.1.2/HsYAML-0.1.1.2.tar.gz" -MD5SUM="1def1d7e6d28962e67f5ad63afa902d5" +DOWNLOAD="https://hackage.haskell.org/packages/archive/HsYAML/0.2.1.0/HsYAML-0.2.1.0.tar.gz \ + https://hackage.haskell.org/package/HsYAML-0.2.1.0/revision/4.cabal" +MD5SUM="1ce1fc0063dc21f6019dac3c6f0f0b5f \ + f353bda3bfb0584a6cf070b192bcc893" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-dlist haskell-fail haskell-nats" diff --git a/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild b/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild index 8666e56904..23c18a6fa9 100644 --- a/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild +++ b/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-JuicyPixels -VERSION=${VERSION:-3.3.2} +VERSION=${VERSION:-3.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-JuicyPixels/haskell-JuicyPixels.info b/haskell/haskell-JuicyPixels/haskell-JuicyPixels.info index 1dd1669661..53fd0a56cd 100644 --- a/haskell/haskell-JuicyPixels/haskell-JuicyPixels.info +++ b/haskell/haskell-JuicyPixels/haskell-JuicyPixels.info @@ -1,10 +1,10 @@ PRGNAM="haskell-JuicyPixels" -VERSION="3.3.2" +VERSION="3.3.6" HOMEPAGE="https://hackage.haskell.org/package/JuicyPixels" -DOWNLOAD="https://hackage.haskell.org/packages/archive/JuicyPixels/3.3.2/JuicyPixels-3.3.2.tar.gz" -MD5SUM="0397309f6741ddd99abe4dd48c468617" +DOWNLOAD="https://hackage.haskell.org/packages/archive/JuicyPixels/3.3.6/JuicyPixels-3.3.6.tar.gz" +MD5SUM="f8b23355ffd70a978beac4f56750ef5c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-mmap haskell-primitive haskell-vector haskell-zlib" +REQUIRES="haskell-mmap haskell-vector haskell-zlib" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-optparse-simple/README b/haskell/haskell-OneTuple/README index 0ac705c17b..911a41a7bf 100644 --- a/haskell/haskell-optparse-simple/README +++ b/haskell/haskell-OneTuple/README @@ -1,4 +1,4 @@ -Simple interface to optparse-applicative. +Singleton Tuple After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-cabal-install/doinst.sh b/haskell/haskell-OneTuple/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-cabal-install/doinst.sh +++ b/haskell/haskell-OneTuple/doinst.sh diff --git a/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.SlackBuild b/haskell/haskell-OneTuple/haskell-OneTuple.SlackBuild index ad49465303..a0b860479f 100644 --- a/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.SlackBuild +++ b/haskell/haskell-OneTuple/haskell-OneTuple.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-persistent-sqlite +# Slackware build script for haskell-OneTuple -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2021 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-persistent-sqlite -VERSION=${VERSION:-2.9.0} +PRGNAM=haskell-OneTuple +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -108,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE ChangeLog.md \ + Changelog.md LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/haskell/haskell-OneTuple/haskell-OneTuple.info b/haskell/haskell-OneTuple/haskell-OneTuple.info new file mode 100644 index 0000000000..3cdede9b0d --- /dev/null +++ b/haskell/haskell-OneTuple/haskell-OneTuple.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-OneTuple" +VERSION="0.3.1" +HOMEPAGE="https://hackage.haskell.org/package/OneTuple" +DOWNLOAD="https://hackage.haskell.org/package/OneTuple-0.3.1/OneTuple-0.3.1.tar.gz" +MD5SUM="efa3a0fb0712f6560201331db8579faf" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hashable haskell-transformers-compat" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-mustache/slack-desc b/haskell/haskell-OneTuple/slack-desc index 45bd712b9b..a354117a1b 100644 --- a/haskell/haskell-mustache/slack-desc +++ b/haskell/haskell-OneTuple/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-mustache: haskell-mustache (mustache template parser library) -haskell-mustache: -haskell-mustache: Allows parsing and rendering template files with mustache markup. See -haskell-mustache: the mustache language reference. -haskell-mustache: -haskell-mustache: -haskell-mustache: -haskell-mustache: -haskell-mustache: -haskell-mustache: -haskell-mustache: +haskell-OneTuple: haskell-OneTuple (Singleton Tuple) +haskell-OneTuple: +haskell-OneTuple: This package is a compatibility package for a singleton data type. +haskell-OneTuple: +haskell-OneTuple: https://hackage.haskell.org/package/OneTuple +haskell-OneTuple: +haskell-OneTuple: +haskell-OneTuple: +haskell-OneTuple: +haskell-OneTuple: +haskell-OneTuple: diff --git a/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild b/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild index f8997f5c10..17a3a92c02 100644 --- a/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild +++ b/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-OpenGL -VERSION=${VERSION:-3.0.2.0} +VERSION=${VERSION:-3.0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-OpenGL/haskell-OpenGL.info b/haskell/haskell-OpenGL/haskell-OpenGL.info index ccfa658b6a..60815959b4 100644 --- a/haskell/haskell-OpenGL/haskell-OpenGL.info +++ b/haskell/haskell-OpenGL/haskell-OpenGL.info @@ -1,10 +1,12 @@ PRGNAM="haskell-OpenGL" -VERSION="3.0.2.0" +VERSION="3.0.3.0" HOMEPAGE="https://hackage.haskell.org/package/OpenGL" -DOWNLOAD="https://hackage.haskell.org/packages/archive/OpenGL/3.0.2.0/OpenGL-3.0.2.0.tar.gz" -MD5SUM="37011c110e862a46dfc2b931407ced19" +DOWNLOAD="https://hackage.haskell.org/packages/archive/OpenGL/3.0.3.0/OpenGL-3.0.3.0.tar.gz \ + https://hackage.haskell.org/package/OpenGL-3.0.3.0/revision/1.cabal" +MD5SUM="61fcf6ff183336315fd54f825617e633 \ + fa1d6567f49c4b8167508d26e14a278f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-OpenGLRaw haskell-GLURaw haskell-ObjectName haskell-StateVar" +REQUIRES="haskell-GLURaw haskell-ObjectName haskell-StateVar" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-QuickCheck/haskell-QuickCheck.info b/haskell/haskell-QuickCheck/haskell-QuickCheck.info index 54f5eeba9c..6dd27010eb 100644 --- a/haskell/haskell-QuickCheck/haskell-QuickCheck.info +++ b/haskell/haskell-QuickCheck/haskell-QuickCheck.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/package/QuickCheck-2.14.2/QuickCheck-2.14. MD5SUM="b48574aeb82a44b724c1c889254bb9e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-erf haskell-extensible-exceptions haskell-random haskell-tf-random haskell-splitmix" +REQUIRES="haskell-erf haskell-extensible-exceptions haskell-tf-random haskell-splitmix" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-ShellCheck/README b/haskell/haskell-ShellCheck/README index 3fdcbf914b..0a76f6d8cf 100644 --- a/haskell/haskell-ShellCheck/README +++ b/haskell/haskell-ShellCheck/README @@ -2,9 +2,11 @@ haskell-ShellCheck - shell script analysis tool The goals of ShellCheck are: -* To point out and clarify typical beginner's syntax issues, that causes a shell - to give cryptic error messages. -* To point out and clarify typical intermediate level semantic problems, that - causes a shell to behave strangely and counter-intuitively. -* To point out subtle caveats, corner cases and pitfalls, that may cause an - advanced user's otherwise working script to fail under future circumstances. +* To point out and clarify typical beginner's syntax issues, that cause + a shell to give cryptic error messages. +* To point out and clarify typical intermediate level semantic + problems, that cause a shell to behave strangely and + counter-intuitively. +* To point out subtle caveats, corner cases and pitfalls, that may + cause an advanced user's otherwise working script to fail under + future circumstances. diff --git a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild index 222be64ec2..3e5ed888cc 100644 --- a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild +++ b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for haskell-ShellCheck -# Copyright 2017-2018, 2020 Andrew Clemons, Wellington New Zealand +# Copyright 2017-2018, 2020-2021 Andrew Clemons, Wellington New Zealand +# Copyright 2022 Andrew Clemons, Tokyo Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-ShellCheck -VERSION=${VERSION:-0.7.2} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -76,6 +74,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-ShellCheck/haskell-ShellCheck.info b/haskell/haskell-ShellCheck/haskell-ShellCheck.info index 96a3603ae6..82936c15be 100644 --- a/haskell/haskell-ShellCheck/haskell-ShellCheck.info +++ b/haskell/haskell-ShellCheck/haskell-ShellCheck.info @@ -1,10 +1,10 @@ PRGNAM="haskell-ShellCheck" -VERSION="0.7.2" +VERSION="0.9.0" HOMEPAGE="https://www.shellcheck.net/" -DOWNLOAD="https://hackage.haskell.org/package/ShellCheck-0.7.2/ShellCheck-0.7.2.tar.gz" -MD5SUM="bd9e5fbd1e1f76f0591adf702b7999a4" +DOWNLOAD="https://hackage.haskell.org/package/ShellCheck-0.9.0/ShellCheck-0.9.0.tar.gz" +MD5SUM="ac7102f45d8c88ae70b19521d5b27a52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-json haskell-QuickCheck haskell-regex-tdfa haskell-Diff" +REQUIRES="haskell-aeson haskell-json haskell-QuickCheck haskell-regex-tdfa haskell-Diff haskell-fgl" MAINTAINER="Andrew Clemons" EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-StateVar/haskell-StateVar.SlackBuild b/haskell/haskell-StateVar/haskell-StateVar.SlackBuild index b0b1cb31a2..c3a7136502 100644 --- a/haskell/haskell-StateVar/haskell-StateVar.SlackBuild +++ b/haskell/haskell-StateVar/haskell-StateVar.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-StateVar -VERSION=${VERSION:-1.1.1.1} +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-StateVar/haskell-StateVar.info b/haskell/haskell-StateVar/haskell-StateVar.info index c9ff054f9f..96fed778ef 100644 --- a/haskell/haskell-StateVar/haskell-StateVar.info +++ b/haskell/haskell-StateVar/haskell-StateVar.info @@ -1,8 +1,8 @@ PRGNAM="haskell-StateVar" -VERSION="1.1.1.1" +VERSION="1.2.2" HOMEPAGE="https://hackage.haskell.org/package/StateVar" -DOWNLOAD="https://hackage.haskell.org/packages/archive/StateVar/1.1.1.1/StateVar-1.1.1.1.tar.gz" -MD5SUM="e85013160dce6c2095c76d2d221ba979" +DOWNLOAD="https://hackage.haskell.org/package/StateVar-1.2.2/StateVar-1.2.2.tar.gz" +MD5SUM="f8eef62fbd91e14eceee6e1a5cc8bc1c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-X11/haskell-X11.SlackBuild b/haskell/haskell-X11/haskell-X11.SlackBuild index 2c88b03255..074a59f911 100644 --- a/haskell/haskell-X11/haskell-X11.SlackBuild +++ b/haskell/haskell-X11/haskell-X11.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-X11 -VERSION=${VERSION:-1.9} +VERSION=${VERSION:-1.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-X11/haskell-X11.info b/haskell/haskell-X11/haskell-X11.info index 6e74f9567a..d20ddcf497 100644 --- a/haskell/haskell-X11/haskell-X11.info +++ b/haskell/haskell-X11/haskell-X11.info @@ -1,10 +1,10 @@ PRGNAM="haskell-X11" -VERSION="1.9" +VERSION="1.10.2" HOMEPAGE="https://hackage.haskell.org/package/X11" -DOWNLOAD="https://hackage.haskell.org/packages/archive/X11/1.9/X11-1.9.tar.gz" -MD5SUM="6af9e7cc7691204df50e53e3e808281d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/X11/1.10.2/X11-1.10.2.tar.gz" +MD5SUM="f06fda448813122112181f2ef9219605" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-data-default" +REQUIRES="haskell-data-default-class" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild b/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild index 3855a9e2dd..8acb2d8ee0 100644 --- a/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild +++ b/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-aeson-compat -VERSION=${VERSION:-0.3.9} +VERSION=${VERSION:-0.3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-aeson-compat/haskell-aeson-compat.info b/haskell/haskell-aeson-compat/haskell-aeson-compat.info index 1ade1ed74d..1bdd5c4bb2 100644 --- a/haskell/haskell-aeson-compat/haskell-aeson-compat.info +++ b/haskell/haskell-aeson-compat/haskell-aeson-compat.info @@ -1,10 +1,12 @@ PRGNAM="haskell-aeson-compat" -VERSION="0.3.9" +VERSION="0.3.10" HOMEPAGE="https://hackage.haskell.org/package/aeson-compat" -DOWNLOAD="https://hackage.haskell.org/packages/archive/aeson-compat/0.3.9/aeson-compat-0.3.9.tar.gz" -MD5SUM="8a4caac9283b46b0db7ee2c69aad2abc" +DOWNLOAD="https://hackage.haskell.org/packages/archive/aeson-compat/0.3.10/aeson-compat-0.3.10.tar.gz \ + https://hackage.haskell.org/package/aeson-compat-0.3.10/revision/2.cabal" +MD5SUM="bd47941ce142bc69b0433bef00ebd11b \ + 5da558645e0c6dfc1b2b1455db5c11b2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-attoparsec haskell-attoparsec-iso8601 haskell-base-compat haskell-exceptions haskell-hashable haskell-nats haskell-scientific haskell-semigroups haskell-tagged haskell-time-locale-compat haskell-unordered-containers haskell-vector haskell-void" +REQUIRES="haskell-aeson haskell-attoparsec-iso8601 haskell-nats" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild index 016548d889..2808910103 100644 --- a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild +++ b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-aeson-pretty -VERSION=${VERSION:-0.8.7} +VERSION=${VERSION:-0.8.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.info b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.info index 8db70aa888..ff7923bfac 100644 --- a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.info +++ b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.info @@ -1,10 +1,10 @@ PRGNAM="haskell-aeson-pretty" -VERSION="0.8.7" +VERSION="0.8.9" HOMEPAGE="https://hackage.haskell.org/package/aeson-pretty" -DOWNLOAD="https://hackage.haskell.org/packages/archive/aeson-pretty/0.8.7/aeson-pretty-0.8.7.tar.gz" -MD5SUM="d83188bff0ddecc881279235d1600748" +DOWNLOAD="https://hackage.haskell.org/packages/archive/aeson-pretty/0.8.9/aeson-pretty-0.8.9.tar.gz" +MD5SUM="8d58b436360a293dd837677c19ef1381" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-attoparsec haskell-base-compat haskell-cmdargs haskell-scientific haskell-semigroups haskell-unordered-containers haskell-vector" +REQUIRES="haskell-aeson haskell-cmdargs" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-aeson/haskell-aeson.SlackBuild b/haskell/haskell-aeson/haskell-aeson.SlackBuild index 6f37afa57a..055fc6a452 100644 --- a/haskell/haskell-aeson/haskell-aeson.SlackBuild +++ b/haskell/haskell-aeson/haskell-aeson.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-aeson -VERSION=${VERSION:-1.4.1.0} +VERSION=${VERSION:-2.0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -108,7 +109,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/$PRGNAM-$VERSION -cp -a LICENSE changelog.md README.markdown examples $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.markdown changelog.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-aeson/haskell-aeson.info b/haskell/haskell-aeson/haskell-aeson.info index 89e7114a1b..e3f10bcd71 100644 --- a/haskell/haskell-aeson/haskell-aeson.info +++ b/haskell/haskell-aeson/haskell-aeson.info @@ -1,10 +1,12 @@ PRGNAM="haskell-aeson" -VERSION="1.4.1.0" +VERSION="2.0.2.0" HOMEPAGE="https://hackage.haskell.org/package/aeson" -DOWNLOAD="https://hackage.haskell.org/package/aeson-1.4.1.0/aeson-1.4.1.0.tar.gz" -MD5SUM="8c3ad7d707d1f363a9c026707a9a95e9" +DOWNLOAD="https://hackage.haskell.org/package/aeson-2.0.2.0/aeson-2.0.2.0.tar.gz \ + https://hackage.haskell.org/package/aeson-2.0.2.0/revision/1.cabal" +MD5SUM="e8f76b9edd743867375e20a95dd4ee5e \ + 9d4417743f0244d10f604a9332d84c6a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-dlist haskell-attoparsec haskell-base-compat haskell-blaze-builder haskell-hashable haskell-scientific haskell-syb haskell-tagged haskell-th-abstraction haskell-time-locale-compat haskell-uuid-types haskell-unordered-containers haskell-vector" +REQUIRES="haskell-dlist haskell-attoparsec haskell-blaze-builder haskell-syb haskell-time-locale-compat haskell-uuid-types haskell-strict haskell-witherable haskell-semialign haskell-text-short haskell-time-compat haskell-base-compat-batteries haskell-data-fix" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-persistent/README b/haskell/haskell-appar/README index c5d779fec0..f61139622a 100644 --- a/haskell/haskell-persistent/README +++ b/haskell/haskell-appar/README @@ -1,4 +1,4 @@ -Type-safe, multi-backend data serialization. +A simple applicative parser After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-cmdlib/doinst.sh b/haskell/haskell-appar/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-cmdlib/doinst.sh +++ b/haskell/haskell-appar/doinst.sh diff --git a/haskell/haskell-megaparsec/haskell-megaparsec.SlackBuild b/haskell/haskell-appar/haskell-appar.SlackBuild index 976a55c776..810ba99d2d 100644 --- a/haskell/haskell-megaparsec/haskell-megaparsec.SlackBuild +++ b/haskell/haskell-appar/haskell-appar.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-megaparsec +# Slackware build script for haskell-appar -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2021 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-megaparsec -VERSION=${VERSION:-7.0.2} +PRGNAM=haskell-appar +VERSION=${VERSION:-0.1.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -108,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS.md CHANGELOG.md LICENSE.md README.md \ + LICENSE README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/haskell/haskell-appar/haskell-appar.info b/haskell/haskell-appar/haskell-appar.info new file mode 100644 index 0000000000..5f4f2f82d2 --- /dev/null +++ b/haskell/haskell-appar/haskell-appar.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-appar" +VERSION="0.1.8" +HOMEPAGE="https://hackage.haskell.org/package/appar" +DOWNLOAD="https://hackage.haskell.org/package/appar-0.1.8/appar-0.1.8.tar.gz" +MD5SUM="f03eedb21422780a3d90d8e2fef51253" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-stack/slack-desc b/haskell/haskell-appar/slack-desc index 1dc7ba0046..27c2e5b501 100644 --- a/haskell/haskell-stack/slack-desc +++ b/haskell/haskell-appar/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-stack: haskell-stack (The Haskell Tool Stack) -haskell-stack: -haskell-stack: Stack is a cross-platform program for developing Haskell projects. -haskell-stack: -haskell-stack: -haskell-stack: -haskell-stack: -haskell-stack: -haskell-stack: -haskell-stack: -haskell-stack: +haskell-appar: haskell-appar (A simple applicative parser) +haskell-appar: +haskell-appar: A simple applicative parser in Parsec style +haskell-appar: +haskell-appar: https://hackage.haskell.org/package/appar +haskell-appar: +haskell-appar: +haskell-appar: +haskell-appar: +haskell-appar: +haskell-appar: diff --git a/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild b/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild index d5760216a4..32e37c7901 100644 --- a/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild +++ b/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-asn1-encoding -VERSION=${VERSION:-0.9.5} +VERSION=${VERSION:-0.9.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-asn1-encoding/haskell-asn1-encoding.info b/haskell/haskell-asn1-encoding/haskell-asn1-encoding.info index 260367fb90..3c110e9ed7 100644 --- a/haskell/haskell-asn1-encoding/haskell-asn1-encoding.info +++ b/haskell/haskell-asn1-encoding/haskell-asn1-encoding.info @@ -1,10 +1,10 @@ PRGNAM="haskell-asn1-encoding" -VERSION="0.9.5" +VERSION="0.9.6" HOMEPAGE="https://hackage.haskell.org/package/asn1-encoding" -DOWNLOAD="https://hackage.haskell.org/packages/archive/asn1-encoding/0.9.5/asn1-encoding-0.9.5.tar.gz" -MD5SUM="3c1ea2b58e43faa6cd557cde2e18fcec" +DOWNLOAD="https://hackage.haskell.org/packages/archive/asn1-encoding/0.9.6/asn1-encoding-0.9.6.tar.gz" +MD5SUM="98bc3d5b717eb6b5f47c2d676c9eaaf4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-types haskell-hourglass" +REQUIRES="haskell-asn1-types" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-asn1-parse/haskell-asn1-parse.info b/haskell/haskell-asn1-parse/haskell-asn1-parse.info index ff4dfb5abf..e7d20a7ced 100644 --- a/haskell/haskell-asn1-parse/haskell-asn1-parse.info +++ b/haskell/haskell-asn1-parse/haskell-asn1-parse.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/asn1-parse/0.9.4/asn1-par MD5SUM="8ace2ce66174478cea183a37f181da99" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-encoding haskell-asn1-types" +REQUIRES="haskell-asn1-encoding" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-persistent-template/README b/haskell/haskell-assoc/README index 7db5d88d39..d2d866f486 100644 --- a/haskell/haskell-persistent-template/README +++ b/haskell/haskell-assoc/README @@ -1,4 +1,4 @@ -Type-safe, non-relational, multi-backend persistence. +swap and assoc: Symmetric and Semigroupy Bifunctors After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-exceptions/doinst.sh b/haskell/haskell-assoc/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-exceptions/doinst.sh +++ b/haskell/haskell-assoc/doinst.sh diff --git a/haskell/haskell-assoc/haskell-assoc.SlackBuild b/haskell/haskell-assoc/haskell-assoc.SlackBuild new file mode 100644 index 0000000000..ec39b75d8a --- /dev/null +++ b/haskell/haskell-assoc/haskell-assoc.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-assoc + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-assoc +VERSION=${VERSION:-1.0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-assoc/haskell-assoc.info b/haskell/haskell-assoc/haskell-assoc.info new file mode 100644 index 0000000000..6b49e5264d --- /dev/null +++ b/haskell/haskell-assoc/haskell-assoc.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-assoc" +VERSION="1.0.2" +HOMEPAGE="https://hackage.haskell.org/package/assoc" +DOWNLOAD="https://hackage.haskell.org/package/assoc-1.0.2/assoc-1.0.2.tar.gz" +MD5SUM="5ac0edb289ccb830ab5060c3f4c58654" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-bifunctors" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-assoc/slack-desc b/haskell/haskell-assoc/slack-desc new file mode 100644 index 0000000000..dd6c0a2c33 --- /dev/null +++ b/haskell/haskell-assoc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-assoc: haskell-assoc (swap and assoc: Symmetric and Semigroupy Bifunctors) +haskell-assoc: +haskell-assoc: Provides generalisations of swap :: (a,b) -> (b,a) and +haskell-assoc: assoc :: ((a,b),c) -> (a,(b,c)) to Bifunctors supporting similar +haskell-assoc: operations (e.g. Either, These). +haskell-assoc: +haskell-assoc: https://hackage.haskell.org/package/assoc +haskell-assoc: +haskell-assoc: +haskell-assoc: +haskell-assoc: diff --git a/haskell/haskell-async/haskell-async.SlackBuild b/haskell/haskell-async/haskell-async.SlackBuild index dba5c374e6..5fb0fa73ea 100644 --- a/haskell/haskell-async/haskell-async.SlackBuild +++ b/haskell/haskell-async/haskell-async.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-async -VERSION=${VERSION:-2.2.3} +VERSION=${VERSION:-2.2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-async/haskell-async.info b/haskell/haskell-async/haskell-async.info index 5be49b6ee8..a3c3931b46 100644 --- a/haskell/haskell-async/haskell-async.info +++ b/haskell/haskell-async/haskell-async.info @@ -1,8 +1,10 @@ PRGNAM="haskell-async" -VERSION="2.2.3" +VERSION="2.2.4" HOMEPAGE="https://hackage.haskell.org/package/async" -DOWNLOAD="https://hackage.haskell.org/package/async-2.2.3/async-2.2.3.tar.gz" -MD5SUM="4ce524510bcc08d46c440f3a152d061a" +DOWNLOAD="https://hackage.haskell.org/package/async-2.2.4/async-2.2.4.tar.gz \ + https://hackage.haskell.org/package/async-2.2.4/revision/1.cabal" +MD5SUM="ab045e22a02b07d8806086053c9a7fe0 \ + a895bb2e6224fefbddd0059263554628" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-hashable" diff --git a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild index 64f963deb1..95c0f0d035 100644 --- a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild +++ b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-attoparsec-iso8601 -VERSION=${VERSION:-1.0.1.0} +VERSION=${VERSION:-1.0.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info index ffff9a66e3..701c781759 100644 --- a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info +++ b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info @@ -1,10 +1,10 @@ PRGNAM="haskell-attoparsec-iso8601" -VERSION="1.0.1.0" +VERSION="1.0.2.1" HOMEPAGE="https://hackage.haskell.org/package/attoparsec-iso8601" -DOWNLOAD="https://hackage.haskell.org/packages/archive/attoparsec-iso8601/1.0.1.0/attoparsec-iso8601-1.0.1.0.tar.gz" -MD5SUM="af5ed13c32e07587aa63f3d21d99db13" +DOWNLOAD="https://hackage.haskell.org/packages/archive/attoparsec-iso8601/1.0.2.1/attoparsec-iso8601-1.0.2.1.tar.gz" +MD5SUM="e1c712a9829959b4128db8b117687d40" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-attoparsec haskell-base-compat" +REQUIRES="haskell-attoparsec haskell-base-compat-batteries haskell-time-compat" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild b/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild index e496f72e60..b9ec769abf 100644 --- a/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild +++ b/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-attoparsec -VERSION=${VERSION:-0.14.1} +VERSION=${VERSION:-0.14.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-attoparsec/haskell-attoparsec.info b/haskell/haskell-attoparsec/haskell-attoparsec.info index d6352549bb..231e6181e8 100644 --- a/haskell/haskell-attoparsec/haskell-attoparsec.info +++ b/haskell/haskell-attoparsec/haskell-attoparsec.info @@ -1,8 +1,8 @@ PRGNAM="haskell-attoparsec" -VERSION="0.14.1" +VERSION="0.14.3" HOMEPAGE="https://hackage.haskell.org/package/attoparsec" -DOWNLOAD="https://hackage.haskell.org/package/attoparsec-0.14.1/attoparsec-0.14.1.tar.gz" -MD5SUM="b78e0eeb73bf788672156c314d796f28" +DOWNLOAD="https://hackage.haskell.org/package/attoparsec-0.14.3/attoparsec-0.14.3.tar.gz" +MD5SUM="81aab924db01d8db48fe521b4d2afb95" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-scientific" diff --git a/haskell/haskell-store/README b/haskell/haskell-base-compat-batteries/README index 97879db193..ed7889d0dc 100644 --- a/haskell/haskell-store/README +++ b/haskell/haskell-base-compat-batteries/README @@ -1,4 +1,4 @@ -The 'store' package provides efficient binary serialization. +base-compat with extra batteries After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hackage-security/doinst.sh b/haskell/haskell-base-compat-batteries/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-hackage-security/doinst.sh +++ b/haskell/haskell-base-compat-batteries/doinst.sh diff --git a/haskell/haskell-base-compat-batteries/haskell-base-compat-batteries.SlackBuild b/haskell/haskell-base-compat-batteries/haskell-base-compat-batteries.SlackBuild new file mode 100644 index 0000000000..89904f41e1 --- /dev/null +++ b/haskell/haskell-base-compat-batteries/haskell-base-compat-batteries.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-base-compat-batteries + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-base-compat-batteries +VERSION=${VERSION:-0.12.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES.markdown LICENSE README.markdown \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-base-compat-batteries/haskell-base-compat-batteries.info b/haskell/haskell-base-compat-batteries/haskell-base-compat-batteries.info new file mode 100644 index 0000000000..b98cbb6bfc --- /dev/null +++ b/haskell/haskell-base-compat-batteries/haskell-base-compat-batteries.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-base-compat-batteries" +VERSION="0.12.1" +HOMEPAGE="https://hackage.haskell.org/package/base-compat-batteries" +DOWNLOAD="https://hackage.haskell.org/package/base-compat-batteries-0.12.1/base-compat-batteries-0.12.1.tar.gz" +MD5SUM="6b0ffed2ca63d00f0b0ecdb49991bc8d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-bifunctors haskell-OneTuple haskell-base-compat" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-base-compat-batteries/slack-desc b/haskell/haskell-base-compat-batteries/slack-desc new file mode 100644 index 0000000000..ddef00b860 --- /dev/null +++ b/haskell/haskell-base-compat-batteries/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-base-compat-batteries: haskell-base-compat-batteries (base-compat with extra batteries) +haskell-base-compat-batteries: +haskell-base-compat-batteries: Provides functions available in later versions of base to a wider +haskell-base-compat-batteries: range of compilers, without requiring you to use CPP pragmas in your +haskell-base-compat-batteries: code. +haskell-base-compat-batteries: +haskell-base-compat-batteries: https://hackage.haskell.org/package/base-compat-batteries +haskell-base-compat-batteries: +haskell-base-compat-batteries: +haskell-base-compat-batteries: +haskell-base-compat-batteries: diff --git a/haskell/haskell-base-compat/haskell-base-compat.SlackBuild b/haskell/haskell-base-compat/haskell-base-compat.SlackBuild index 56bd7ad90b..578bdd2df7 100644 --- a/haskell/haskell-base-compat/haskell-base-compat.SlackBuild +++ b/haskell/haskell-base-compat/haskell-base-compat.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-base-compat -VERSION=${VERSION:-0.10.4} +VERSION=${VERSION:-0.12.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-base-compat/haskell-base-compat.info b/haskell/haskell-base-compat/haskell-base-compat.info index f78de10854..858c778ea9 100644 --- a/haskell/haskell-base-compat/haskell-base-compat.info +++ b/haskell/haskell-base-compat/haskell-base-compat.info @@ -1,8 +1,8 @@ PRGNAM="haskell-base-compat" -VERSION="0.10.4" +VERSION="0.12.1" HOMEPAGE="https://hackage.haskell.org/package/base-compat" -DOWNLOAD="https://hackage.haskell.org/package/base-compat-0.10.4/base-compat-0.10.4.tar.gz" -MD5SUM="63b67cf818ce2c7c1c039c589570ec47" +DOWNLOAD="https://hackage.haskell.org/package/base-compat-0.12.1/base-compat-0.12.1.tar.gz" +MD5SUM="fa5de645d51656aa3232d0372f0ee348" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-base-orphans/haskell-base-orphans.SlackBuild b/haskell/haskell-base-orphans/haskell-base-orphans.SlackBuild index 6a6c3ff765..dc88b06a3c 100644 --- a/haskell/haskell-base-orphans/haskell-base-orphans.SlackBuild +++ b/haskell/haskell-base-orphans/haskell-base-orphans.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-base-orphans -VERSION=${VERSION:-0.8} +VERSION=${VERSION:-0.8.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-base-orphans/haskell-base-orphans.info b/haskell/haskell-base-orphans/haskell-base-orphans.info index 732a439143..0b96d3862b 100644 --- a/haskell/haskell-base-orphans/haskell-base-orphans.info +++ b/haskell/haskell-base-orphans/haskell-base-orphans.info @@ -1,8 +1,8 @@ PRGNAM="haskell-base-orphans" -VERSION="0.8" +VERSION="0.8.6" HOMEPAGE="https://hackage.haskell.org/package/base-orphans" -DOWNLOAD="https://hackage.haskell.org/packages/archive/base-orphans/0.8/base-orphans-0.8.tar.gz" -MD5SUM="bc6379a15684562aa3df39927bad60a4" +DOWNLOAD="https://hackage.haskell.org/packages/archive/base-orphans/0.8.6/base-orphans-0.8.6.tar.gz" +MD5SUM="e5129e29b458a77b2ec65fc6caa9cb52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-base16-bytestring/README b/haskell/haskell-base16-bytestring/README index 0b296e6a46..465e561f7a 100644 --- a/haskell/haskell-base16-bytestring/README +++ b/haskell/haskell-base16-bytestring/README @@ -1,5 +1,6 @@ -This package provides a Haskell library for working with base16-encoded data -quickly and efficiently, using the ByteString type. +This package provides a Haskell library for working with +base16-encoded data quickly and efficiently, using the ByteString +type. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild index 7f77068ce1..3a6eb6590c 100644 --- a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild +++ b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-base16-bytestring -VERSION=${VERSION:-0.1.1.6} +VERSION=${VERSION:-0.1.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -107,7 +107,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/$PRGNAM-$VERSION -cp -a LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.info b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.info index 94ed73f1af..29e4918313 100644 --- a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.info +++ b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.info @@ -1,8 +1,8 @@ PRGNAM="haskell-base16-bytestring" -VERSION="0.1.1.6" +VERSION="0.1.1.7" HOMEPAGE="https://hackage.haskell.org/package/base16-bytestring" -DOWNLOAD="https://hackage.haskell.org/package/base16-bytestring-0.1.1.6/base16-bytestring-0.1.1.6.tar.gz" -MD5SUM="b6aac9d679d7dd84c3cd23cbc143eb29" +DOWNLOAD="https://hackage.haskell.org/package/base16-bytestring-0.1.1.7/base16-bytestring-0.1.1.7.tar.gz" +MD5SUM="d881e9b58a84a7ffd1b4c1082ac0b915" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-basement/haskell-basement.SlackBuild b/haskell/haskell-basement/haskell-basement.SlackBuild index 879d1a2fcb..769e0f319b 100644 --- a/haskell/haskell-basement/haskell-basement.SlackBuild +++ b/haskell/haskell-basement/haskell-basement.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-basement -VERSION=${VERSION:-0.0.8} +VERSION=${VERSION:-0.0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-basement/haskell-basement.info b/haskell/haskell-basement/haskell-basement.info index 157e6069d7..f0ebbcc56f 100644 --- a/haskell/haskell-basement/haskell-basement.info +++ b/haskell/haskell-basement/haskell-basement.info @@ -1,8 +1,8 @@ PRGNAM="haskell-basement" -VERSION="0.0.8" +VERSION="0.0.12" HOMEPAGE="https://hackage.haskell.org/package/basement" -DOWNLOAD="https://hackage.haskell.org/package/basement-0.0.8/basement-0.0.8.tar.gz" -MD5SUM="329eb6f36dd5fd9d37cb46b5447a2347" +DOWNLOAD="https://hackage.haskell.org/package/basement-0.0.12/basement-0.0.12.tar.gz" +MD5SUM="23f69a4875014d19c62d7f1a64a10298" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild b/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild index af3dc8ed01..690119e45a 100644 --- a/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild +++ b/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-bifunctors -VERSION=${VERSION:-5.5.3} +VERSION=${VERSION:-5.5.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-bifunctors/haskell-bifunctors.info b/haskell/haskell-bifunctors/haskell-bifunctors.info index 7cfcefe482..cb363eaa52 100644 --- a/haskell/haskell-bifunctors/haskell-bifunctors.info +++ b/haskell/haskell-bifunctors/haskell-bifunctors.info @@ -1,10 +1,10 @@ PRGNAM="haskell-bifunctors" -VERSION="5.5.3" +VERSION="5.5.11" HOMEPAGE="https://hackage.haskell.org/package/bifunctors" -DOWNLOAD="https://hackage.haskell.org/packages/archive/bifunctors/5.5.3/bifunctors-5.5.3.tar.gz" -MD5SUM="8801325f2845e5b15a9ef185481e71ce" +DOWNLOAD="https://hackage.haskell.org/packages/archive/bifunctors/5.5.11/bifunctors-5.5.11.tar.gz" +MD5SUM="c9149df8a5bcd42ee7c6d494c6f64bee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base-orphans haskell-comonad haskell-semigroups haskell-tagged haskell-th-abstraction haskell-transformers-compat" +REQUIRES="haskell-comonad" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-blaze-html/haskell-blaze-html.SlackBuild b/haskell/haskell-blaze-html/haskell-blaze-html.SlackBuild index a24d8eb706..a62f41475d 100644 --- a/haskell/haskell-blaze-html/haskell-blaze-html.SlackBuild +++ b/haskell/haskell-blaze-html/haskell-blaze-html.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-blaze-html -VERSION=${VERSION:-0.9.1.1} +VERSION=${VERSION:-0.9.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-blaze-html/haskell-blaze-html.info b/haskell/haskell-blaze-html/haskell-blaze-html.info index be64a9f149..6259cd2937 100644 --- a/haskell/haskell-blaze-html/haskell-blaze-html.info +++ b/haskell/haskell-blaze-html/haskell-blaze-html.info @@ -1,8 +1,8 @@ PRGNAM="haskell-blaze-html" -VERSION="0.9.1.1" +VERSION="0.9.1.2" HOMEPAGE="https://hackage.haskell.org/package/blaze-html" -DOWNLOAD="https://hackage.haskell.org/packages/archive/blaze-html/0.9.1.1/blaze-html-0.9.1.1.tar.gz" -MD5SUM="8fc618796e9c9e624fc6338f247232f6" +DOWNLOAD="https://hackage.haskell.org/packages/archive/blaze-html/0.9.1.2/blaze-html-0.9.1.2.tar.gz" +MD5SUM="a1b7997875d18d26b13de20aa032e2ec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-blaze-markup" diff --git a/haskell/haskell-blaze-markup/haskell-blaze-markup.SlackBuild b/haskell/haskell-blaze-markup/haskell-blaze-markup.SlackBuild index aa167c4afc..5873692d9a 100644 --- a/haskell/haskell-blaze-markup/haskell-blaze-markup.SlackBuild +++ b/haskell/haskell-blaze-markup/haskell-blaze-markup.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-blaze-markup -VERSION=${VERSION:-0.8.2.2} +VERSION=${VERSION:-0.8.2.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-blaze-markup/haskell-blaze-markup.info b/haskell/haskell-blaze-markup/haskell-blaze-markup.info index 8bcaa680fe..b0a5e16694 100644 --- a/haskell/haskell-blaze-markup/haskell-blaze-markup.info +++ b/haskell/haskell-blaze-markup/haskell-blaze-markup.info @@ -1,8 +1,8 @@ PRGNAM="haskell-blaze-markup" -VERSION="0.8.2.2" +VERSION="0.8.2.8" HOMEPAGE="https://hackage.haskell.org/package/blaze-markup" -DOWNLOAD="https://hackage.haskell.org/packages/archive/blaze-markup/0.8.2.2/blaze-markup-0.8.2.2.tar.gz" -MD5SUM="dedd732217118f0645ed88630e5b140e" +DOWNLOAD="https://hackage.haskell.org/packages/archive/blaze-markup/0.8.2.8/blaze-markup-0.8.2.8.tar.gz" +MD5SUM="c77409e818921e2892a756b8c621cb54" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-blaze-builder" diff --git a/haskell/haskell-byteorder/README b/haskell/haskell-byteorder/README new file mode 100644 index 0000000000..cbe08f7610 --- /dev/null +++ b/haskell/haskell-byteorder/README @@ -0,0 +1,4 @@ +Exposes the native endianness or byte ordering of the system. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hashed-storage/doinst.sh b/haskell/haskell-byteorder/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-hashed-storage/doinst.sh +++ b/haskell/haskell-byteorder/doinst.sh diff --git a/haskell/haskell-parallel/haskell-parallel.SlackBuild b/haskell/haskell-byteorder/haskell-byteorder.SlackBuild index d0e9f3d230..f918a24505 100644 --- a/haskell/haskell-parallel/haskell-parallel.SlackBuild +++ b/haskell/haskell-byteorder/haskell-byteorder.SlackBuild @@ -1,9 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-parallel +# Slackware build script for haskell-byteorder -# Copyright 2015 Mikko Värri, Finland -# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2021 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-parallel -VERSION=${VERSION:-3.2.2.0} +PRGNAM=haskell-byteorder +VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -109,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE changelog.md \ + LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/haskell/haskell-byteorder/haskell-byteorder.info b/haskell/haskell-byteorder/haskell-byteorder.info new file mode 100644 index 0000000000..5392b74351 --- /dev/null +++ b/haskell/haskell-byteorder/haskell-byteorder.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-byteorder" +VERSION="1.0.4" +HOMEPAGE="https://hackage.haskell.org/package/byteorder" +DOWNLOAD="https://hackage.haskell.org/package/byteorder-1.0.4/byteorder-1.0.4.tar.gz" +MD5SUM="a68226a369ffae7f344d6f21d2827439" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-byteorder/slack-desc b/haskell/haskell-byteorder/slack-desc new file mode 100644 index 0000000000..c33fafd8ac --- /dev/null +++ b/haskell/haskell-byteorder/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-byteorder: haskell-byteorder (native endianness or byte ordering library.) +haskell-byteorder: +haskell-byteorder: This package is for working with the native byte-ordering of the +haskell-byteorder: system. +haskell-byteorder: +haskell-byteorder: https://hackage.haskell.org/package/byteorder +haskell-byteorder: +haskell-byteorder: +haskell-byteorder: +haskell-byteorder: +haskell-byteorder: diff --git a/haskell/haskell-cabal-doctest/README b/haskell/haskell-cabal-doctest/README new file mode 100644 index 0000000000..c35b549675 --- /dev/null +++ b/haskell/haskell-cabal-doctest/README @@ -0,0 +1,4 @@ +A Setup.hs helper for running doctests. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-haskell-src/doinst.sh b/haskell/haskell-cabal-doctest/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-haskell-src/doinst.sh +++ b/haskell/haskell-cabal-doctest/doinst.sh diff --git a/haskell/haskell-cabal-doctest/haskell-cabal-doctest.SlackBuild b/haskell/haskell-cabal-doctest/haskell-cabal-doctest.SlackBuild new file mode 100644 index 0000000000..536e4c6f24 --- /dev/null +++ b/haskell/haskell-cabal-doctest/haskell-cabal-doctest.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-cabal-doctest + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-cabal-doctest +VERSION=${VERSION:-1.0.9} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-cabal-doctest/haskell-cabal-doctest.info b/haskell/haskell-cabal-doctest/haskell-cabal-doctest.info new file mode 100644 index 0000000000..47bc6f1a1b --- /dev/null +++ b/haskell/haskell-cabal-doctest/haskell-cabal-doctest.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-cabal-doctest" +VERSION="1.0.9" +HOMEPAGE="https://hackage.haskell.org/package/cabal-doctest" +DOWNLOAD="https://hackage.haskell.org/package/cabal-doctest-1.0.9/cabal-doctest-1.0.9.tar.gz" +MD5SUM="b8dbcdc7598858afc449d8230aea5c35" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-cabal-doctest/slack-desc b/haskell/haskell-cabal-doctest/slack-desc new file mode 100644 index 0000000000..f1863ce5c6 --- /dev/null +++ b/haskell/haskell-cabal-doctest/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-cabal-doctest: haskell-cabal-doctest (Setup.hs helper for running doctests) +haskell-cabal-doctest: +haskell-cabal-doctest: As of now (end of 2021), there isn't cabal doctest command. Yet, to +haskell-cabal-doctest: properly work, doctest needs plenty of configuration. This library +haskell-cabal-doctest: provides the common bits for writing a custom Setup.hs. +haskell-cabal-doctest: +haskell-cabal-doctest: +haskell-cabal-doctest: https://hackage.haskell.org/package/cabal-doctest +haskell-cabal-doctest: +haskell-cabal-doctest: +haskell-cabal-doctest: diff --git a/haskell/haskell-cabal-install/README b/haskell/haskell-cabal-install/README deleted file mode 100644 index 3d0d584a85..0000000000 --- a/haskell/haskell-cabal-install/README +++ /dev/null @@ -1,6 +0,0 @@ -The 'cabal' command-line program simplifies the process of managing -Haskell software by automating the fetching, configuration, compilation -and installation of Haskell libraries and programs. - -After uninstalling, run this command to unregister the package from the -ghc package database: ghc-pkg recache diff --git a/haskell/haskell-cabal-install/haskell-cabal-install.SlackBuild b/haskell/haskell-cabal-install/haskell-cabal-install.SlackBuild deleted file mode 100644 index 57453958e9..0000000000 --- a/haskell/haskell-cabal-install/haskell-cabal-install.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/bash - -# Slackware build script for haskell-cabal-install - -# Copyright 2016 David Spencer, Baildon, West Yorkshire, U.K. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=haskell-cabal-install -VERSION=${VERSION:-2.2.0.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --flags="network-uri" - -runghc Setup build -runghc Setup copy --destdir=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mv $PKG/usr/share/man $PKG/usr/man -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -mkdir -p $PKG/usr/share/bash-completion/completions -cp -a bash-completion/cabal $PKG/usr/share/bash-completion/completions/ - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a changelog LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-cabal-install/haskell-cabal-install.info b/haskell/haskell-cabal-install/haskell-cabal-install.info deleted file mode 100644 index cd20eb59ff..0000000000 --- a/haskell/haskell-cabal-install/haskell-cabal-install.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-cabal-install" -VERSION="2.2.0.0" -HOMEPAGE="https://hackage.haskell.org/package/cabal-install" -DOWNLOAD="https://hackage.haskell.org/package/cabal-install-2.2.0.0/cabal-install-2.2.0.0.tar.gz" -MD5SUM="f182cf03249d3a5944db012492d26d16" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-base16-bytestring haskell-cryptohash-sha256 haskell-echo haskell-edit-distance haskell-hackage-security haskell-hashable haskell-HTTP haskell-network-uri haskell-random haskell-resolv haskell-tar haskell-zlib" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-case-insensitive/haskell-case-insensitive.info b/haskell/haskell-case-insensitive/haskell-case-insensitive.info index c1f8d30f07..ec19304456 100644 --- a/haskell/haskell-case-insensitive/haskell-case-insensitive.info +++ b/haskell/haskell-case-insensitive/haskell-case-insensitive.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/package/case-insensitive-1.2.0.11/case-ins MD5SUM="980bcdb6ca3ff1fd8278591e94fc0139" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hashable haskell-semigroups" +REQUIRES="haskell-semigroups" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cereal/haskell-cereal.SlackBuild b/haskell/haskell-cereal/haskell-cereal.SlackBuild index 115eb93b25..c708925285 100644 --- a/haskell/haskell-cereal/haskell-cereal.SlackBuild +++ b/haskell/haskell-cereal/haskell-cereal.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-cereal -VERSION=${VERSION:-0.5.7.0} +VERSION=${VERSION:-0.5.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-cereal/haskell-cereal.info b/haskell/haskell-cereal/haskell-cereal.info index 695e8fa126..abdc13fb96 100644 --- a/haskell/haskell-cereal/haskell-cereal.info +++ b/haskell/haskell-cereal/haskell-cereal.info @@ -1,8 +1,8 @@ PRGNAM="haskell-cereal" -VERSION="0.5.7.0" +VERSION="0.5.8.2" HOMEPAGE="https://hackage.haskell.org/package/cereal" -DOWNLOAD="https://hackage.haskell.org/packages/archive/cereal/0.5.7.0/cereal-0.5.7.0.tar.gz" -MD5SUM="b15e4ccb4a43c5dc198ee5b8fa405143" +DOWNLOAD="https://hackage.haskell.org/packages/archive/cereal/0.5.8.2/cereal-0.5.8.2.tar.gz" +MD5SUM="a57111a31ae586b7e75d06a57ba99441" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-cgi/README b/haskell/haskell-cgi/README index de7c75e05e..81e2eee694 100644 --- a/haskell/haskell-cgi/README +++ b/haskell/haskell-cgi/README @@ -1,4 +1,4 @@ This is a Haskell library for writing CGI programs. -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-cgi/cgi.cabal.patch b/haskell/haskell-cgi/cgi.cabal.patch deleted file mode 100644 index 25d991d606..0000000000 --- a/haskell/haskell-cgi/cgi.cabal.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- cgi.cabal.orig 2018-10-26 15:34:31.976186187 +0100 -+++ cgi.cabal 2018-10-26 15:37:42.631190528 +0100 -@@ -44,11 +44,11 @@ - - Build-depends: - parsec >= 2.0 && < 3.2, -- exceptions < 0.9, -+ exceptions, - xhtml >= 3000.0.0 && < 3000.3, - bytestring < 0.11, - base >= 4.5 && < 5, -- time >= 1.5 && < 1.7, -+ time >= 1.5, - containers < 0.6, - multipart >= 0.1.2 && < 0.2 - If flag(network-uri) diff --git a/haskell/haskell-cgi/haskell-cgi.SlackBuild b/haskell/haskell-cgi/haskell-cgi.SlackBuild index 3b26c034d9..35e2201835 100644 --- a/haskell/haskell-cgi/haskell-cgi.SlackBuild +++ b/haskell/haskell-cgi/haskell-cgi.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-cgi -VERSION=${VERSION:-3001.3.0.2} +VERSION=${VERSION:-3001.5.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,9 +84,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Remove upper version constraints on exceptions and time -patch -p0 < $CWD/cgi.cabal.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ diff --git a/haskell/haskell-cgi/haskell-cgi.info b/haskell/haskell-cgi/haskell-cgi.info index 7c0ecfaa79..9240ae899d 100644 --- a/haskell/haskell-cgi/haskell-cgi.info +++ b/haskell/haskell-cgi/haskell-cgi.info @@ -1,10 +1,10 @@ PRGNAM="haskell-cgi" -VERSION="3001.3.0.2" +VERSION="3001.5.0.0" HOMEPAGE="https://hackage.haskell.org/package/cgi" -DOWNLOAD="https://hackage.haskell.org/packages/archive/cgi/3001.3.0.2/cgi-3001.3.0.2.tar.gz" -MD5SUM="f8768b7aacecad88f910e4712cd337bf" +DOWNLOAD="https://hackage.haskell.org/packages/archive/cgi/3001.5.0.0/cgi-3001.5.0.0.tar.gz" +MD5SUM="9fe8f45efdcad9dcf2555ae5baf1323f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-multipart haskell-network haskell-network-uri" +REQUIRES="haskell-multipart haskell-network haskell-network-uri" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cipher-aes/haskell-cipher-aes.info b/haskell/haskell-cipher-aes/haskell-cipher-aes.info index be7f8b87fa..47d813e31a 100644 --- a/haskell/haskell-cipher-aes/haskell-cipher-aes.info +++ b/haskell/haskell-cipher-aes/haskell-cipher-aes.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/cipher-aes/0.2.11/cipher- MD5SUM="74c953320cbee83963e178f07d8d7689" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-crypto-cipher-types haskell-securemem" +REQUIRES="haskell-crypto-cipher-types" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cipher-des/haskell-cipher-des.info b/haskell/haskell-cipher-des/haskell-cipher-des.info index 120d0a9abe..c4cd8caea1 100644 --- a/haskell/haskell-cipher-des/haskell-cipher-des.info +++ b/haskell/haskell-cipher-des/haskell-cipher-des.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/cipher-des/0.0.6/cipher-d MD5SUM="a05a1009385fe37bf9d61803964a2902" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-crypto-cipher-types haskell-securemem" +REQUIRES="haskell-crypto-cipher-types" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cipher-rc4/haskell-cipher-rc4.info b/haskell/haskell-cipher-rc4/haskell-cipher-rc4.info index e1bd787f84..706ef9bd05 100644 --- a/haskell/haskell-cipher-rc4/haskell-cipher-rc4.info +++ b/haskell/haskell-cipher-rc4/haskell-cipher-rc4.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/cipher-rc4/0.1.4/cipher-r MD5SUM="7e2f0218f9a99b1e4283219b40194947" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-crypto-cipher-types" +REQUIRES="haskell-crypto-cipher-types" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-citeproc/README b/haskell/haskell-citeproc/README new file mode 100644 index 0000000000..325e7eeaeb --- /dev/null +++ b/haskell/haskell-citeproc/README @@ -0,0 +1,4 @@ +Generates citations and bibliography from CSL styles. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslogger/doinst.sh b/haskell/haskell-citeproc/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-hslogger/doinst.sh +++ b/haskell/haskell-citeproc/doinst.sh diff --git a/haskell/haskell-citeproc/haskell-citeproc.SlackBuild b/haskell/haskell-citeproc/haskell-citeproc.SlackBuild new file mode 100644 index 0000000000..e78d21bc43 --- /dev/null +++ b/haskell/haskell-citeproc/haskell-citeproc.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-citeproc + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-citeproc +VERSION=${VERSION:-0.6.0.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-citeproc/haskell-citeproc.info b/haskell/haskell-citeproc/haskell-citeproc.info new file mode 100644 index 0000000000..75c7382625 --- /dev/null +++ b/haskell/haskell-citeproc/haskell-citeproc.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-citeproc" +VERSION="0.6.0.1" +HOMEPAGE="https://hackage.haskell.org/package/citeproc" +DOWNLOAD="https://hackage.haskell.org/package/citeproc-0.6.0.1/citeproc-0.6.0.1.tar.gz" +MD5SUM="05c7161d1e5996c0c93a3f333ebe87fb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-case-insensitive haskell-safe haskell-data-default haskell-xml-conduit haskell-pandoc-types haskell-file-embed haskell-unicode-collation haskell-uniplate" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-citeproc/slack-desc b/haskell/haskell-citeproc/slack-desc new file mode 100644 index 0000000000..7e71a98beb --- /dev/null +++ b/haskell/haskell-citeproc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-citeproc: haskell-citeproc (Generates citations from CSL styles.) +haskell-citeproc: +haskell-citeproc: citeproc parses CSL style files and uses them to generate a list of +haskell-citeproc: formatted citations and bibliography entries. For more information +haskell-citeproc: about CSL, see https://citationstyles.org/. +haskell-citeproc: +haskell-citeproc: https://hackage.haskell.org/package/citeproc +haskell-citeproc: +haskell-citeproc: +haskell-citeproc: +haskell-citeproc: diff --git a/haskell/haskell-cmark/README b/haskell/haskell-cmark/README index 9bb8cf9a3f..6cb96d552f 100644 --- a/haskell/haskell-cmark/README +++ b/haskell/haskell-cmark/README @@ -1,6 +1,7 @@ -This package provides Haskell bindings for libcmark, the reference parser for -CommonMark, a fully specified variant of Markdown. It includes sources for -libcmark and does not require prior installation of the C library. +This package provides Haskell bindings for libcmark, the reference +parser for CommonMark, a fully specified variant of Markdown. It +includes sources for libcmark and does not require prior installation +of the C library. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-cmdlib/README b/haskell/haskell-cmdlib/README deleted file mode 100644 index 7c5236d855..0000000000 --- a/haskell/haskell-cmdlib/README +++ /dev/null @@ -1,6 +0,0 @@ -A commandline parsing library based on getopt. Comes with a powerful -attribute system. Supports complex interfaces with many options and -commands, with grouping, with simple and convenient API. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-cmdlib/haskell-cmdlib.info b/haskell/haskell-cmdlib/haskell-cmdlib.info deleted file mode 100644 index cb39ca0a5c..0000000000 --- a/haskell/haskell-cmdlib/haskell-cmdlib.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-cmdlib" -VERSION="0.3.6" -HOMEPAGE="https://hackage.haskell.org/package/cmdlib" -DOWNLOAD="https://hackage.haskell.org/packages/archive/cmdlib/0.3.6/cmdlib-0.3.6.tar.gz" -MD5SUM="8875a55ec247a34df11a8f16f4ed475b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-split haskell-syb" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-colour/README b/haskell/haskell-colour/README index ef7551e57f..094edcf480 100644 --- a/haskell/haskell-colour/README +++ b/haskell/haskell-colour/README @@ -1,6 +1,6 @@ This package provides a data type for colours and transparency. -Colours can be blended and composed. Various colour spaces are supported. -A module of colour names (Data.Colour.Names) is provided. +Colours can be blended and composed. Various colour spaces are +supported. A module of colour names (Data.Colour.Names) is provided. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-colour/haskell-colour.SlackBuild b/haskell/haskell-colour/haskell-colour.SlackBuild index 749bc9021d..3677d47b37 100644 --- a/haskell/haskell-colour/haskell-colour.SlackBuild +++ b/haskell/haskell-colour/haskell-colour.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-colour -VERSION=${VERSION:-2.3.4} +VERSION=${VERSION:-2.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-colour/haskell-colour.info b/haskell/haskell-colour/haskell-colour.info index 573a212b60..d5fd57e5bc 100644 --- a/haskell/haskell-colour/haskell-colour.info +++ b/haskell/haskell-colour/haskell-colour.info @@ -1,8 +1,8 @@ PRGNAM="haskell-colour" -VERSION="2.3.4" +VERSION="2.3.6" HOMEPAGE="https://hackage.haskell.org/package/colour" -DOWNLOAD="https://hackage.haskell.org/package/colour-2.3.4/colour-2.3.4.tar.gz" -MD5SUM="a0f05806a965741447ecbe3f5b41c3c9" +DOWNLOAD="https://hackage.haskell.org/package/colour-2.3.6/colour-2.3.6.tar.gz" +MD5SUM="b4bcf1f92cc0fd0c0166538a8b660900" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-commonmark-extensions/README b/haskell/haskell-commonmark-extensions/README new file mode 100644 index 0000000000..aa4b04102f --- /dev/null +++ b/haskell/haskell-commonmark-extensions/README @@ -0,0 +1,4 @@ +Pure Haskell commonmark parser. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-http-api-data/doinst.sh b/haskell/haskell-commonmark-extensions/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-http-api-data/doinst.sh +++ b/haskell/haskell-commonmark-extensions/doinst.sh diff --git a/haskell/haskell-commonmark-extensions/haskell-commonmark-extensions.SlackBuild b/haskell/haskell-commonmark-extensions/haskell-commonmark-extensions.SlackBuild new file mode 100644 index 0000000000..972d8e0549 --- /dev/null +++ b/haskell/haskell-commonmark-extensions/haskell-commonmark-extensions.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-commonmark-extensions + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-commonmark-extensions +VERSION=${VERSION:-0.2.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md changelog.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-commonmark-extensions/haskell-commonmark-extensions.info b/haskell/haskell-commonmark-extensions/haskell-commonmark-extensions.info new file mode 100644 index 0000000000..c298325c17 --- /dev/null +++ b/haskell/haskell-commonmark-extensions/haskell-commonmark-extensions.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-commonmark-extensions" +VERSION="0.2.3" +HOMEPAGE="https://hackage.haskell.org/package/commonmark-extensions" +DOWNLOAD="https://hackage.haskell.org/package/commonmark-extensions-0.2.3/commonmark-extensions-0.2.3.tar.gz" +MD5SUM="506485742b369543442496cf0e4aeb1a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-commonmark haskell-emojis haskell-network-uri" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-commonmark-extensions/slack-desc b/haskell/haskell-commonmark-extensions/slack-desc new file mode 100644 index 0000000000..fbf202a2d9 --- /dev/null +++ b/haskell/haskell-commonmark-extensions/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-commonmark-extensions: haskell-commonmark-extensions (Pure Haskell commonmark parser) +haskell-commonmark-extensions: +haskell-commonmark-extensions: This library provides some useful extensions to core commonmark +haskell-commonmark-extensions: syntax: +haskell-commonmark-extensions: smart quotes, definition lists, tables, footnotes, math, and more. +haskell-commonmark-extensions: +haskell-commonmark-extensions: https://hackage.haskell.org/package/commonmark-extensions +haskell-commonmark-extensions: +haskell-commonmark-extensions: +haskell-commonmark-extensions: +haskell-commonmark-extensions: diff --git a/haskell/haskell-commonmark-pandoc/README b/haskell/haskell-commonmark-pandoc/README new file mode 100644 index 0000000000..fab08b3405 --- /dev/null +++ b/haskell/haskell-commonmark-pandoc/README @@ -0,0 +1,4 @@ +Bridge between commonmark and pandoc AST. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-megaparsec/doinst.sh b/haskell/haskell-commonmark-pandoc/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-megaparsec/doinst.sh +++ b/haskell/haskell-commonmark-pandoc/doinst.sh diff --git a/haskell/haskell-commonmark-pandoc/haskell-commonmark-pandoc.SlackBuild b/haskell/haskell-commonmark-pandoc/haskell-commonmark-pandoc.SlackBuild new file mode 100644 index 0000000000..487197c5d1 --- /dev/null +++ b/haskell/haskell-commonmark-pandoc/haskell-commonmark-pandoc.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-commonmark-pandoc + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-commonmark-pandoc +VERSION=${VERSION:-0.2.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md changelog.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-commonmark-pandoc/haskell-commonmark-pandoc.info b/haskell/haskell-commonmark-pandoc/haskell-commonmark-pandoc.info new file mode 100644 index 0000000000..74696a2d0b --- /dev/null +++ b/haskell/haskell-commonmark-pandoc/haskell-commonmark-pandoc.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-commonmark-pandoc" +VERSION="0.2.1.2" +HOMEPAGE="https://hackage.haskell.org/package/commonmark-pandoc" +DOWNLOAD="https://hackage.haskell.org/package/commonmark-pandoc-0.2.1.2/commonmark-pandoc-0.2.1.2.tar.gz" +MD5SUM="ead395a7a1504b68dec0d017ea20bb88" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-commonmark-extensions haskell-pandoc-types" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-commonmark-pandoc/slack-desc b/haskell/haskell-commonmark-pandoc/slack-desc new file mode 100644 index 0000000000..ef087f0603 --- /dev/null +++ b/haskell/haskell-commonmark-pandoc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-commonmark-pandoc: haskell-commonmark-pandoc (Bridge between commonmark and pandoc AST) +haskell-commonmark-pandoc: +haskell-commonmark-pandoc: This library provides typeclasses for rendering commonmark to +haskell-commonmark-pandoc: Pandoc types. +haskell-commonmark-pandoc: +haskell-commonmark-pandoc: https://hackage.haskell.org/package/commonmark-pandoc +haskell-commonmark-pandoc: +haskell-commonmark-pandoc: +haskell-commonmark-pandoc: +haskell-commonmark-pandoc: +haskell-commonmark-pandoc: diff --git a/haskell/haskell-commonmark/README b/haskell/haskell-commonmark/README new file mode 100644 index 0000000000..aa4b04102f --- /dev/null +++ b/haskell/haskell-commonmark/README @@ -0,0 +1,4 @@ +Pure Haskell commonmark parser. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-mustache/doinst.sh b/haskell/haskell-commonmark/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-mustache/doinst.sh +++ b/haskell/haskell-commonmark/doinst.sh diff --git a/haskell/haskell-hackage-security/haskell-hackage-security.SlackBuild b/haskell/haskell-commonmark/haskell-commonmark.SlackBuild index 46b30743c7..801832b14d 100644 --- a/haskell/haskell-hackage-security/haskell-hackage-security.SlackBuild +++ b/haskell/haskell-commonmark/haskell-commonmark.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-hackage-security +# Slackware build script for haskell-commonmark -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2022 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-hackage-security -VERSION=${VERSION:-0.5.3.0} +PRGNAM=haskell-commonmark +VERSION=${VERSION:-0.2.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -107,7 +107,9 @@ 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/$PRGNAM-$VERSION -cp -a ChangeLog.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md changelog.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-commonmark/haskell-commonmark.info b/haskell/haskell-commonmark/haskell-commonmark.info new file mode 100644 index 0000000000..49cc88ff72 --- /dev/null +++ b/haskell/haskell-commonmark/haskell-commonmark.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-commonmark" +VERSION="0.2.1.1" +HOMEPAGE="https://hackage.haskell.org/package/commonmark" +DOWNLOAD="https://hackage.haskell.org/package/commonmark-0.2.1.1/commonmark-0.2.1.1.tar.gz" +MD5SUM="1b19505a5ffafdde593674dcf787ba5b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-unicode-transforms" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-megaparsec/slack-desc b/haskell/haskell-commonmark/slack-desc index e4de72a39e..3990041e4b 100644 --- a/haskell/haskell-megaparsec/slack-desc +++ b/haskell/haskell-commonmark/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-megaparsec: haskell-megaparsec (Monadic parser combinators) -haskell-megaparsec: -haskell-megaparsec: This is an industrial-strength monadic parser combinator -haskell-megaparsec: library. Megaparsec is a feature-rich package that strikes a nice -haskell-megaparsec: balance between speed, flexibility, and quality of parse errors. -haskell-megaparsec: -haskell-megaparsec: -haskell-megaparsec: -haskell-megaparsec: -haskell-megaparsec: -haskell-megaparsec: +haskell-commonmark: haskell-commonmark (Pure Haskell commonmark parser.) +haskell-commonmark: +haskell-commonmark: This library provides the core data types and functions for parsing +haskell-commonmark: commonmark (https://spec.commonmark.org). +haskell-commonmark: +haskell-commonmark: https://hackage.haskell.org/package/commonmark +haskell-commonmark: +haskell-commonmark: +haskell-commonmark: +haskell-commonmark: +haskell-commonmark: diff --git a/haskell/haskell-comonad/haskell-comonad.SlackBuild b/haskell/haskell-comonad/haskell-comonad.SlackBuild index 3a5b3c56e1..837d649701 100644 --- a/haskell/haskell-comonad/haskell-comonad.SlackBuild +++ b/haskell/haskell-comonad/haskell-comonad.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-comonad -VERSION=${VERSION:-5.0.4} +VERSION=${VERSION:-5.0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-comonad/haskell-comonad.info b/haskell/haskell-comonad/haskell-comonad.info index 56135b3b36..f3bce538aa 100644 --- a/haskell/haskell-comonad/haskell-comonad.info +++ b/haskell/haskell-comonad/haskell-comonad.info @@ -1,10 +1,10 @@ PRGNAM="haskell-comonad" -VERSION="5.0.4" +VERSION="5.0.8" HOMEPAGE="https://hackage.haskell.org/package/comonad" -DOWNLOAD="https://hackage.haskell.org/packages/archive/comonad/5.0.4/comonad-5.0.4.tar.gz" -MD5SUM="9004e3234fc362967bdace3566f45f35" +DOWNLOAD="https://hackage.haskell.org/packages/archive/comonad/5.0.8/comonad-5.0.8.tar.gz" +MD5SUM="efeead553b0b007a5d256f3a054953dd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-contravariant haskell-distributive haskell-semigroups haskell-tagged haskell-transformers-compat" +REQUIRES="haskell-contravariant haskell-distributive haskell-indexed-traversable" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-conduit-extra/haskell-conduit-extra.info b/haskell/haskell-conduit-extra/haskell-conduit-extra.info index be5f9eeee1..fbde999e4c 100644 --- a/haskell/haskell-conduit-extra/haskell-conduit-extra.info +++ b/haskell/haskell-conduit-extra/haskell-conduit-extra.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/conduit-extra/1.3.0/condu MD5SUM="eba230be8144041e5b8cbc1a77128707" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-attoparsec haskell-conduit haskell-network haskell-primitive haskell-resourcet haskell-streaming-commons haskell-typed-process haskell-unliftio-core" +REQUIRES="haskell-attoparsec haskell-conduit haskell-streaming-commons haskell-typed-process" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-conduit/haskell-conduit.info b/haskell/haskell-conduit/haskell-conduit.info index 2e4f0bbbd2..a866339c6e 100644 --- a/haskell/haskell-conduit/haskell-conduit.info +++ b/haskell/haskell-conduit/haskell-conduit.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/conduit/1.3.1/conduit-1.3 MD5SUM="f9c687f6ee67d9f903f165367f505204" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-lifted-base haskell-mmorph haskell-mono-traversable haskell-resourcet haskell-transformers-base haskell-vector haskell-void" +REQUIRES="haskell-mono-traversable haskell-resourcet haskell-void" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-connection/haskell-connection.SlackBuild b/haskell/haskell-connection/haskell-connection.SlackBuild index b52b3bd58f..158e7e18c0 100644 --- a/haskell/haskell-connection/haskell-connection.SlackBuild +++ b/haskell/haskell-connection/haskell-connection.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-connection -VERSION=${VERSION:-0.2.8} +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-connection/haskell-connection.info b/haskell/haskell-connection/haskell-connection.info index 682c88ade7..c78d68704a 100644 --- a/haskell/haskell-connection/haskell-connection.info +++ b/haskell/haskell-connection/haskell-connection.info @@ -1,10 +1,10 @@ PRGNAM="haskell-connection" -VERSION="0.2.8" +VERSION="0.3.1" HOMEPAGE="https://hackage.haskell.org/package/connection" -DOWNLOAD="https://hackage.haskell.org/packages/archive/connection/0.2.8/connection-0.2.8.tar.gz" -MD5SUM="8b51eb18469582bad263fe2ef3f38442" +DOWNLOAD="https://hackage.haskell.org/packages/archive/connection/0.3.1/connection-0.3.1.tar.gz" +MD5SUM="6a9647665c357cd33118339b777578eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-crypto-random haskell-data-default-class haskell-network haskell-securemem haskell-socks haskell-tls haskell-x509 haskell-x509-store haskell-x509-system haskell-x509-validation" +REQUIRES="haskell-socks haskell-tls haskell-x509-system" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-constraints/haskell-constraints.SlackBuild b/haskell/haskell-constraints/haskell-constraints.SlackBuild index 25d01b33ae..7fd7fef9f4 100644 --- a/haskell/haskell-constraints/haskell-constraints.SlackBuild +++ b/haskell/haskell-constraints/haskell-constraints.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-constraints -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-0.13.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-constraints/haskell-constraints.info b/haskell/haskell-constraints/haskell-constraints.info index 1b7ebe38dc..5c9c6f3b52 100644 --- a/haskell/haskell-constraints/haskell-constraints.info +++ b/haskell/haskell-constraints/haskell-constraints.info @@ -1,10 +1,10 @@ PRGNAM="haskell-constraints" -VERSION="0.10.1" +VERSION="0.13.3" HOMEPAGE="https://hackage.haskell.org/package/constraints" -DOWNLOAD="https://hackage.haskell.org/packages/archive/constraints/0.10.1/constraints-0.10.1.tar.gz" -MD5SUM="e621d03a19f71404114e838a0d9804e3" +DOWNLOAD="https://hackage.haskell.org/packages/archive/constraints/0.13.3/constraints-0.13.3.tar.gz" +MD5SUM="d994fa473f3ea926538f92bcf3b5c5e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hashable haskell-semigroups haskell-transformers-compat" +REQUIRES="haskell-semigroups haskell-type-equality" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-contravariant/haskell-contravariant.SlackBuild b/haskell/haskell-contravariant/haskell-contravariant.SlackBuild index 026637a692..06747c0623 100644 --- a/haskell/haskell-contravariant/haskell-contravariant.SlackBuild +++ b/haskell/haskell-contravariant/haskell-contravariant.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-contravariant -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-1.5.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-contravariant/haskell-contravariant.info b/haskell/haskell-contravariant/haskell-contravariant.info index b0453da6de..d3ba5b6836 100644 --- a/haskell/haskell-contravariant/haskell-contravariant.info +++ b/haskell/haskell-contravariant/haskell-contravariant.info @@ -1,10 +1,10 @@ PRGNAM="haskell-contravariant" -VERSION="1.5" +VERSION="1.5.5" HOMEPAGE="https://hackage.haskell.org/package/contravariant" -DOWNLOAD="https://hackage.haskell.org/packages/archive/contravariant/1.5/contravariant-1.5.tar.gz" -MD5SUM="d5489c8221d8f2afda21afd17614b23d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/contravariant/1.5.5/contravariant-1.5.5.tar.gz" +MD5SUM="ee2c73fa9a2a280303a43fe70689906f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-semigroups haskell-StateVar haskell-tagged haskell-transformers-compat haskell-void" +REQUIRES="haskell-StateVar haskell-void" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-crypto-cipher-types/haskell-crypto-cipher-types.info b/haskell/haskell-crypto-cipher-types/haskell-crypto-cipher-types.info index b75317289e..201c73aef9 100644 --- a/haskell/haskell-crypto-cipher-types/haskell-crypto-cipher-types.info +++ b/haskell/haskell-crypto-cipher-types/haskell-crypto-cipher-types.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/crypto-cipher-types/0.0.9 MD5SUM="8390e3298f007847210c0adfde2eafe9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-securemem" +REQUIRES="haskell-securemem" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-crypto-numbers/haskell-crypto-numbers.info b/haskell/haskell-crypto-numbers/haskell-crypto-numbers.info index 7497ccc748..6e2a6bd604 100644 --- a/haskell/haskell-crypto-numbers/haskell-crypto-numbers.info +++ b/haskell/haskell-crypto-numbers/haskell-crypto-numbers.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/crypto-numbers/0.2.7/cryp MD5SUM="adb5cb1566dde3ad9f89c0c1ad65a84c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-crypto-random haskell-vector" +REQUIRES="haskell-crypto-random" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.info b/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.info index d1eec257f9..95707a7ea5 100644 --- a/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.info +++ b/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/crypto-pubkey-types/0.4.3 MD5SUM="704ffbf1a6fc5989f193ad9ee3293a9b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-encoding haskell-asn1-types" +REQUIRES="haskell-asn1-encoding" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.info b/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.info index 0014831ec0..6237e1f8b0 100644 --- a/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.info +++ b/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/crypto-pubkey/0.2.8/crypt MD5SUM="e98378fb6ad22aa50c5e1e4dd2c0900d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-crypto-numbers haskell-crypto-pubkey-types haskell-crypto-random haskell-cryptohash" +REQUIRES="haskell-crypto-numbers haskell-crypto-pubkey-types haskell-cryptohash" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cryptohash/haskell-cryptohash.info b/haskell/haskell-cryptohash/haskell-cryptohash.info index b00bd3c633..4adde209bd 100644 --- a/haskell/haskell-cryptohash/haskell-cryptohash.info +++ b/haskell/haskell-cryptohash/haskell-cryptohash.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/cryptohash/0.11.9/cryptoh MD5SUM="93b11e5a525d53dd30b153d2ec96adea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-byteable haskell-cryptonite haskell-memory" +REQUIRES="haskell-byteable haskell-cryptonite" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.info b/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.info index eaf7e30f8c..53637f403c 100644 --- a/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.info +++ b/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/cryptonite-conduit/0.2.2/ MD5SUM="b00f411fb767d908697dc7b84cc0ff6b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-conduit haskell-conduit-extra haskell-cryptonite haskell-exceptions haskell-memory haskell-resourcet" +REQUIRES="haskell-conduit-extra haskell-cryptonite" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild b/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild index 6dd211e027..c04b358e09 100644 --- a/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild +++ b/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-cryptonite -VERSION=${VERSION:-0.25} +VERSION=${VERSION:-0.29} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-cryptonite/haskell-cryptonite.info b/haskell/haskell-cryptonite/haskell-cryptonite.info index a14d5418f2..635908617b 100644 --- a/haskell/haskell-cryptonite/haskell-cryptonite.info +++ b/haskell/haskell-cryptonite/haskell-cryptonite.info @@ -1,8 +1,8 @@ PRGNAM="haskell-cryptonite" -VERSION="0.25" +VERSION="0.29" HOMEPAGE="https://hackage.haskell.org/package/cryptonite" -DOWNLOAD="https://hackage.haskell.org/package/cryptonite-0.25/cryptonite-0.25.tar.gz" -MD5SUM="edff732f06070fee9d5d16aedf7aa172" +DOWNLOAD="https://hackage.haskell.org/package/cryptonite-0.29/cryptonite-0.29.tar.gz" +MD5SUM="4e749e627aab5710f568ad197101b244" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-memory" diff --git a/haskell/haskell-data-default-instances-containers/haskell-data-default-instances-containers.SlackBuild b/haskell/haskell-data-default-instances-containers/haskell-data-default-instances-containers.SlackBuild index b955e37b1b..ae4ff3542c 100644 --- a/haskell/haskell-data-default-instances-containers/haskell-data-default-instances-containers.SlackBuild +++ b/haskell/haskell-data-default-instances-containers/haskell-data-default-instances-containers.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-data-default-instances-containers VERSION=${VERSION:-0.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -100,7 +100,7 @@ runghc Setup copy --destdir=$PKG runghc Setup register --gen-pkg-config PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +PKGID=$( grep -A 1 -E "^id:$" $SRCNAM-$VERSION.conf | sed -n '$p' | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) mkdir -p $PKG/$PKGCONFD mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf diff --git a/haskell/haskell-data-default/haskell-data-default.info b/haskell/haskell-data-default/haskell-data-default.info index 82908c8693..8b868a85d2 100644 --- a/haskell/haskell-data-default/haskell-data-default.info +++ b/haskell/haskell-data-default/haskell-data-default.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/data-default/0.7.1.1/data MD5SUM="13ddcc28e24cd58937c7d130e885749a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-data-default-class haskell-data-default-instances-base haskell-data-default-instances-containers haskell-data-default-instances-dlist haskell-data-default-instances-old-locale" +REQUIRES="haskell-data-default-instances-base haskell-data-default-instances-containers haskell-data-default-instances-dlist haskell-data-default-instances-old-locale" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-data-fix/README b/haskell/haskell-data-fix/README new file mode 100644 index 0000000000..adfb71dd09 --- /dev/null +++ b/haskell/haskell-data-fix/README @@ -0,0 +1,4 @@ +Fixpoint data types + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-neat-interpolation/doinst.sh b/haskell/haskell-data-fix/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-neat-interpolation/doinst.sh +++ b/haskell/haskell-data-fix/doinst.sh diff --git a/haskell/haskell-data-fix/haskell-data-fix.SlackBuild b/haskell/haskell-data-fix/haskell-data-fix.SlackBuild new file mode 100644 index 0000000000..6ab303d703 --- /dev/null +++ b/haskell/haskell-data-fix/haskell-data-fix.SlackBuild @@ -0,0 +1,121 @@ +#!/bin/bash + +# Slackware build script for haskell-data-fix + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-data-fix +VERSION=${VERSION:-0.3.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-data-fix/haskell-data-fix.info b/haskell/haskell-data-fix/haskell-data-fix.info new file mode 100644 index 0000000000..f3468460c9 --- /dev/null +++ b/haskell/haskell-data-fix/haskell-data-fix.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-data-fix" +VERSION="0.3.2" +HOMEPAGE="https://hackage.haskell.org/package/data-fix" +DOWNLOAD="https://hackage.haskell.org/package/data-fix-0.3.2/data-fix-0.3.2.tar.gz \ + https://hackage.haskell.org/package/data-fix-0.3.2/revision/2.cabal" +MD5SUM="18b28d6e72e5656d33b49ac010e58321 \ + 41df37a4b97a6ebccd9fd7d50addddc7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hashable haskell-transformers-compat" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-parallel/slack-desc b/haskell/haskell-data-fix/slack-desc index ac0e0fbab6..1cf723c135 100644 --- a/haskell/haskell-parallel/slack-desc +++ b/haskell/haskell-data-fix/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-parallel: haskell-parallel (Parallel programming library for Haskell) -haskell-parallel: -haskell-parallel: This package provides a library for parallel programming. -haskell-parallel: -haskell-parallel: https://hackage.haskell.org/package/parallel -haskell-parallel: -haskell-parallel: -haskell-parallel: -haskell-parallel: -haskell-parallel: -haskell-parallel: +haskell-data-fix: haskell-data-fix (Fixpoint data types) +haskell-data-fix: +haskell-data-fix: Fixpoint types and recursion schemes. If you define your AST as +haskell-data-fix: fixpoint type, you get fold and unfold operations for free. +haskell-data-fix: +haskell-data-fix: https://hackage.haskell.org/package/data-fix +haskell-data-fix: +haskell-data-fix: +haskell-data-fix: +haskell-data-fix: +haskell-data-fix: diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild index 85dd2bf380..f2081efa8c 100644 --- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild +++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-deepseq-generics VERSION=${VERSION:-0.2.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,16 +77,13 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/7.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Remove bogus upper version constraint on base -sed -i -E 's/(base *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $SRCNAM.cabal - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info index 12c21394cc..d17c7e9f13 100644 --- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info +++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info @@ -1,8 +1,10 @@ PRGNAM="haskell-deepseq-generics" VERSION="0.2.0.0" HOMEPAGE="https://hackage.haskell.org/package/deepseq-generics" -DOWNLOAD="https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz" -MD5SUM="7bb94923c52024f642c85f4dab9a9b79" +DOWNLOAD="https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz \ + https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/revision/7.cabal" +MD5SUM="7bb94923c52024f642c85f4dab9a9b79 \ + 3c8d30c9fc95e026c750a8880faddbdb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-digest/README b/haskell/haskell-digest/README index bae687817d..75e07e79f2 100644 --- a/haskell/haskell-digest/README +++ b/haskell/haskell-digest/README @@ -1,7 +1,7 @@ -This is a library for Haskell programs, providing efficient cryptographic -hash implementations for strict and lazy bytestrings. CRC32 and Adler32 -are supported; they are implemented as FFI bindings to efficient code from -zlib. +This is a library for Haskell programs, providing efficient +cryptographic hash implementations for strict and lazy +bytestrings. CRC32 and Adler32 are supported; they are implemented as +FFI bindings to efficient code from zlib. After uninstalling, run the following command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-distributive/haskell-distributive.info b/haskell/haskell-distributive/haskell-distributive.info index 5e2ba68581..f302bf9e41 100644 --- a/haskell/haskell-distributive/haskell-distributive.info +++ b/haskell/haskell-distributive/haskell-distributive.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/distributive/0.6/distribu MD5SUM="9a52064985419b0ff5e87b7281d5e6fe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base-orphans haskell-semigroups haskell-tagged haskell-transformers-compat" +REQUIRES="haskell-semigroups" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-doclayout/README b/haskell/haskell-doclayout/README new file mode 100644 index 0000000000..dc04a87a1f --- /dev/null +++ b/haskell/haskell-doclayout/README @@ -0,0 +1,4 @@ +A prettyprinting library for laying out text documents. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-optparse-simple/doinst.sh b/haskell/haskell-doclayout/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-optparse-simple/doinst.sh +++ b/haskell/haskell-doclayout/doinst.sh diff --git a/haskell/haskell-doclayout/haskell-doclayout.SlackBuild b/haskell/haskell-doclayout/haskell-doclayout.SlackBuild new file mode 100644 index 0000000000..5b337ac429 --- /dev/null +++ b/haskell/haskell-doclayout/haskell-doclayout.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-doclayout + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-doclayout +VERSION=${VERSION:-0.3.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README.md changelog.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-doclayout/haskell-doclayout.info b/haskell/haskell-doclayout/haskell-doclayout.info new file mode 100644 index 0000000000..76e3093f04 --- /dev/null +++ b/haskell/haskell-doclayout/haskell-doclayout.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-doclayout" +VERSION="0.3.1.1" +HOMEPAGE="https://hackage.haskell.org/package/doclayout" +DOWNLOAD="https://hackage.haskell.org/package/doclayout-0.3.1.1/doclayout-0.3.1.1.tar.gz" +MD5SUM="edea2d7a5fa9dc4acb0a6db03da13d7b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-safe haskell-emojis" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-doclayout/slack-desc b/haskell/haskell-doclayout/slack-desc new file mode 100644 index 0000000000..d1f3facc20 --- /dev/null +++ b/haskell/haskell-doclayout/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-doclayout: haskell-doclayout (A prettyprinting library for laying out text docs) +haskell-doclayout: +haskell-doclayout: +haskell-doclayout: doclayout is a prettyprinting library for laying out text documents, +haskell-doclayout: with several features not present in prettyprinting libraries +haskell-doclayout: designed for code. It was designed for use in pandoc. +haskell-doclayout: +haskell-doclayout: https://hackage.haskell.org/package/doclayout +haskell-doclayout: +haskell-doclayout: +haskell-doclayout: diff --git a/haskell/haskell-doctemplates/haskell-doctemplates.SlackBuild b/haskell/haskell-doctemplates/haskell-doctemplates.SlackBuild index 7d12da180f..37e0c9d3df 100644 --- a/haskell/haskell-doctemplates/haskell-doctemplates.SlackBuild +++ b/haskell/haskell-doctemplates/haskell-doctemplates.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-doctemplates -VERSION=${VERSION:-0.2.2.1} +VERSION=${VERSION:-0.10.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-doctemplates/haskell-doctemplates.info b/haskell/haskell-doctemplates/haskell-doctemplates.info index 551649d705..3d44a48365 100644 --- a/haskell/haskell-doctemplates/haskell-doctemplates.info +++ b/haskell/haskell-doctemplates/haskell-doctemplates.info @@ -1,10 +1,10 @@ PRGNAM="haskell-doctemplates" -VERSION="0.2.2.1" +VERSION="0.10.0.1" HOMEPAGE="https://hackage.haskell.org/package/doctemplates" -DOWNLOAD="https://hackage.haskell.org/packages/archive/doctemplates/0.2.2.1/doctemplates-0.2.2.1.tar.gz" -MD5SUM="56deec68c81ecc18020c056e0aeeebbf" +DOWNLOAD="https://hackage.haskell.org/packages/archive/doctemplates/0.10.0.1/doctemplates-0.10.0.1.tar.gz" +MD5SUM="7f2e2df9963c67f57e683aab0f5f5d1c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-blaze-html haskell-blaze-markup haskell-scientific haskell-semigroups haskell-unordered-containers haskell-vector" +REQUIRES="haskell-aeson haskell-HsYAML haskell-doclayout haskell-text-conversions" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-either/haskell-either.info b/haskell/haskell-either/haskell-either.info index 387fbf521f..a1afcf565e 100644 --- a/haskell/haskell-either/haskell-either.info +++ b/haskell/haskell-either/haskell-either.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/either/5.0.1/either-5.0.1 MD5SUM="ac4bc6e657284a44f09e20b06fd5a3a1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-bifunctors haskell-profunctors haskell-semigroupoids haskell-semigroups" +REQUIRES="haskell-profunctors haskell-semigroupoids" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-emojis/README b/haskell/haskell-emojis/README new file mode 100644 index 0000000000..9e90b9fade --- /dev/null +++ b/haskell/haskell-emojis/README @@ -0,0 +1,4 @@ +Conversion between emoji characters and their names. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-parallel/doinst.sh b/haskell/haskell-emojis/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-parallel/doinst.sh +++ b/haskell/haskell-emojis/doinst.sh diff --git a/haskell/haskell-emojis/haskell-emojis.SlackBuild b/haskell/haskell-emojis/haskell-emojis.SlackBuild new file mode 100644 index 0000000000..943fea6a1d --- /dev/null +++ b/haskell/haskell-emojis/haskell-emojis.SlackBuild @@ -0,0 +1,129 @@ +#!/bin/bash + +# Slackware build script for haskell-emojis + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# Copyright 2024 Andrew Clemons, Tokyo Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-emojis +VERSION=${VERSION:-0.1.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md changelog.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-emojis/haskell-emojis.info b/haskell/haskell-emojis/haskell-emojis.info new file mode 100644 index 0000000000..6002bfc4a1 --- /dev/null +++ b/haskell/haskell-emojis/haskell-emojis.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-emojis" +VERSION="0.1.3" +HOMEPAGE="https://hackage.haskell.org/package/emojis" +DOWNLOAD="https://hackage.haskell.org/package/emojis-0.1.3/emojis-0.1.3.tar.gz" +MD5SUM="e79be45dcb05d5b4ba4c4bacad882214" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-cmdlib/slack-desc b/haskell/haskell-emojis/slack-desc index ada5e943d9..edee055c5a 100644 --- a/haskell/haskell-cmdlib/slack-desc +++ b/haskell/haskell-emojis/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-cmdlib: haskell-cmdlib (a library for command line parsing & online help) -haskell-cmdlib: -haskell-cmdlib: A commandline parsing library based on getopt. Comes with a powerful -haskell-cmdlib: attribute system. Supports complex interfaces with many options and -haskell-cmdlib: commands, with grouping, with simple and convenient API. -haskell-cmdlib: -haskell-cmdlib: -haskell-cmdlib: -haskell-cmdlib: -haskell-cmdlib: -haskell-cmdlib: +haskell-emojis: haskell-emojis (Conversion between emoji characters and their names) +haskell-emojis: +haskell-emojis: +haskell-emojis: This package provides functions for converting emoji names to emoji +haskell-emojis: characters and vice versa. +haskell-emojis: +haskell-emojis: https://hackage.haskell.org/package/emojis +haskell-emojis: +haskell-emojis: +haskell-emojis: +haskell-emojis: diff --git a/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.info b/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.info index 4540011416..4cbec63866 100644 --- a/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.info +++ b/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/enclosed-exceptions/1.0.3 MD5SUM="fa40251fcb7ca0cd5e80a2defc253735" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-lifted-base haskell-monad-control haskell-transformers-base" +REQUIRES="haskell-async haskell-lifted-base" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-errors/README b/haskell/haskell-errors/README new file mode 100644 index 0000000000..5497d585e5 --- /dev/null +++ b/haskell/haskell-errors/README @@ -0,0 +1,4 @@ +Simplified error-handling + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-persistent-sqlite/doinst.sh b/haskell/haskell-errors/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-persistent-sqlite/doinst.sh +++ b/haskell/haskell-errors/doinst.sh diff --git a/haskell/haskell-errors/haskell-errors.SlackBuild b/haskell/haskell-errors/haskell-errors.SlackBuild new file mode 100644 index 0000000000..66351735f4 --- /dev/null +++ b/haskell/haskell-errors/haskell-errors.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-errors + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-errors +VERSION=${VERSION:-2.3.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-errors/haskell-errors.info b/haskell/haskell-errors/haskell-errors.info new file mode 100644 index 0000000000..fa6840ae9c --- /dev/null +++ b/haskell/haskell-errors/haskell-errors.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-errors" +VERSION="2.3.0" +HOMEPAGE="https://hackage.haskell.org/package/errors" +DOWNLOAD="https://hackage.haskell.org/package/errors-2.3.0/errors-2.3.0.tar.gz" +MD5SUM="43bec23a661dd4a5eefb5549b4fad8a8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-safe haskell-transformers-compat" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-errors/slack-desc b/haskell/haskell-errors/slack-desc new file mode 100644 index 0000000000..10c7b67dbc --- /dev/null +++ b/haskell/haskell-errors/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-errors: haskell-errors (Simplified error-handling) +haskell-errors: +haskell-errors: The one-stop shop for all your error-handling needs! Just import +haskell-errors: Control.Error. +haskell-errors: +haskell-errors: https://hackage.haskell.org/package/errors +haskell-errors: +haskell-errors: +haskell-errors: +haskell-errors: +haskell-errors: diff --git a/haskell/haskell-exceptions/haskell-exceptions.SlackBuild b/haskell/haskell-exceptions/haskell-exceptions.SlackBuild deleted file mode 100644 index 0e88e61d32..0000000000 --- a/haskell/haskell-exceptions/haskell-exceptions.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/bash - -# Slackware build script for haskell-exceptions - -# Copyright 2015 Mikko Värri, Finland -# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=haskell-exceptions -VERSION=${VERSION:-0.10.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -runghc Setup build -runghc Setup haddock -runghc Setup copy --destdir=$PKG -runghc Setup register --gen-pkg-config - -PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) -mkdir -p $PKG/$PKGCONFD -mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE {AUTHORS,CHANGELOG,README}.markdown $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-exceptions/haskell-exceptions.info b/haskell/haskell-exceptions/haskell-exceptions.info deleted file mode 100644 index 96c5b61b93..0000000000 --- a/haskell/haskell-exceptions/haskell-exceptions.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-exceptions" -VERSION="0.10.0" -HOMEPAGE="https://hackage.haskell.org/package/exceptions" -DOWNLOAD="https://hackage.haskell.org/package/exceptions-0.10.0/exceptions-0.10.0.tar.gz" -MD5SUM="a512a57a40f004f80a36eb152b625769" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-transformers-compat" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-fail/README b/haskell/haskell-fail/README index 9c3ca94609..79911f67bf 100644 --- a/haskell/haskell-fail/README +++ b/haskell/haskell-fail/README @@ -1,9 +1,10 @@ -This package contains the Control.Monad.Fail module providing the MonadFail -class that became available in base-4.9.0.0 for older base package versions. +This package contains the Control.Monad.Fail module providing the +MonadFail class that became available in base-4.9.0.0 for older base +package versions. -This package turns into an empty package when used with GHC versions which -already provide the Control.Monad.Fail module to make way for GHC's own -Control.Monad.Fail module. +This package turns into an empty package when used with GHC versions +which already provide the Control.Monad.Fail module to make way for +GHC's own Control.Monad.Fail module. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-fast-logger/haskell-fast-logger.info b/haskell/haskell-fast-logger/haskell-fast-logger.info index e9c0f7455e..f6cc79aa91 100644 --- a/haskell/haskell-fast-logger/haskell-fast-logger.info +++ b/haskell/haskell-fast-logger/haskell-fast-logger.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/fast-logger/2.4.11/fast-l MD5SUM="1c34dd65c86e4b395147078fb0eabeeb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-auto-update haskell-bytestring-builder haskell-easy-file haskell-old-locale haskell-unix-time" +REQUIRES="haskell-auto-update haskell-bytestring-builder haskell-easy-file haskell-unix-time" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-fgl/haskell-fgl.SlackBuild b/haskell/haskell-fgl/haskell-fgl.SlackBuild index f4c98d7cb2..e33388c230 100644 --- a/haskell/haskell-fgl/haskell-fgl.SlackBuild +++ b/haskell/haskell-fgl/haskell-fgl.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-fgl -VERSION=${VERSION:-5.6.0.0} +VERSION=${VERSION:-5.7.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-fgl/haskell-fgl.info b/haskell/haskell-fgl/haskell-fgl.info index 08b726a7ff..dbf79b9e46 100644 --- a/haskell/haskell-fgl/haskell-fgl.info +++ b/haskell/haskell-fgl/haskell-fgl.info @@ -1,8 +1,8 @@ PRGNAM="haskell-fgl" -VERSION="5.6.0.0" +VERSION="5.7.0.3" HOMEPAGE="https://hackage.haskell.org/package/fgl" -DOWNLOAD="https://hackage.haskell.org/packages/archive/fgl/5.6.0.0/fgl-5.6.0.0.tar.gz" -MD5SUM="d6f0209de57f5fdf08f2a072652b1162" +DOWNLOAD="https://hackage.haskell.org/packages/archive/fgl/5.7.0.3/fgl-5.7.0.3.tar.gz" +MD5SUM="23d21ecf41e1ccc2027dc44a3f1e6e3f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-file-embed/haskell-file-embed.SlackBuild b/haskell/haskell-file-embed/haskell-file-embed.SlackBuild index a6df977735..7f0004962d 100644 --- a/haskell/haskell-file-embed/haskell-file-embed.SlackBuild +++ b/haskell/haskell-file-embed/haskell-file-embed.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-file-embed -VERSION=${VERSION:-0.0.11} +VERSION=${VERSION:-0.0.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-file-embed/haskell-file-embed.info b/haskell/haskell-file-embed/haskell-file-embed.info index e6a1ce4300..3949df198e 100644 --- a/haskell/haskell-file-embed/haskell-file-embed.info +++ b/haskell/haskell-file-embed/haskell-file-embed.info @@ -1,8 +1,8 @@ PRGNAM="haskell-file-embed" -VERSION="0.0.11" +VERSION="0.0.15.0" HOMEPAGE="https://hackage.haskell.org/package/file-embed" -DOWNLOAD="https://hackage.haskell.org/packages/archive/file-embed/0.0.11/file-embed-0.0.11.tar.gz" -MD5SUM="601791608d52d4c87f1e51e5ee406e94" +DOWNLOAD="https://hackage.haskell.org/packages/archive/file-embed/0.0.15.0/file-embed-0.0.15.0.tar.gz" +MD5SUM="4608d6fbe65ba1ed6ef0c920e4b8e413" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-foundation/haskell-foundation.SlackBuild b/haskell/haskell-foundation/haskell-foundation.SlackBuild index 27ca2f9a32..2483c17f89 100644 --- a/haskell/haskell-foundation/haskell-foundation.SlackBuild +++ b/haskell/haskell-foundation/haskell-foundation.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-foundation -VERSION=${VERSION:-0.0.21} +VERSION=${VERSION:-0.0.26.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-foundation/haskell-foundation.info b/haskell/haskell-foundation/haskell-foundation.info index f04478cc74..c23847145a 100644 --- a/haskell/haskell-foundation/haskell-foundation.info +++ b/haskell/haskell-foundation/haskell-foundation.info @@ -1,8 +1,8 @@ PRGNAM="haskell-foundation" -VERSION="0.0.21" +VERSION="0.0.26.1" HOMEPAGE="https://hackage.haskell.org/package/foundation" -DOWNLOAD="https://hackage.haskell.org/package/foundation-0.0.21/foundation-0.0.21.tar.gz" -MD5SUM="343b9b512533e4836d3db5f986e97f03" +DOWNLOAD="https://hackage.haskell.org/package/foundation-0.0.26.1/foundation-0.0.26.1.tar.gz" +MD5SUM="00f4d5b3771772ef66e6967c4225e99f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-basement" diff --git a/haskell/haskell-free/haskell-free.SlackBuild b/haskell/haskell-free/haskell-free.SlackBuild index ae79657cb9..f2bc2cff21 100644 --- a/haskell/haskell-free/haskell-free.SlackBuild +++ b/haskell/haskell-free/haskell-free.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-free -VERSION=${VERSION:-5.1} +VERSION=${VERSION:-5.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-free/haskell-free.info b/haskell/haskell-free/haskell-free.info index 87d86b7cb9..4c4fba4ea4 100644 --- a/haskell/haskell-free/haskell-free.info +++ b/haskell/haskell-free/haskell-free.info @@ -1,10 +1,10 @@ PRGNAM="haskell-free" -VERSION="5.1" +VERSION="5.1.7" HOMEPAGE="https://hackage.haskell.org/package/free" -DOWNLOAD="https://hackage.haskell.org/packages/archive/free/5.1/free-5.1.tar.gz" -MD5SUM="53df47bb981685842e5fce6018a34736" +DOWNLOAD="https://hackage.haskell.org/packages/archive/free/5.1.7/free-5.1.7.tar.gz" +MD5SUM="fb6c3498bad7b73eef9b047bf575d29f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-comonad haskell-distributive haskell-exceptions haskell-profunctors haskell-semigroupoids haskell-transformers-base" +REQUIRES="haskell-profunctors haskell-semigroupoids haskell-transformers-base" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-fsnotify/haskell-fsnotify.info b/haskell/haskell-fsnotify/haskell-fsnotify.info index 168aff7491..7ec1946133 100644 --- a/haskell/haskell-fsnotify/haskell-fsnotify.info +++ b/haskell/haskell-fsnotify/haskell-fsnotify.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/fsnotify/0.3.0.1/fsnotify MD5SUM="e424b38bca5995ba1d71028595dc554a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-hinotify haskell-shelly haskell-unix-compat" +REQUIRES="haskell-hinotify haskell-shelly" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild b/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild index 7e976abe39..edbf71981c 100644 --- a/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild +++ b/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-generic-deriving -VERSION=${VERSION:-1.12.2} +VERSION=${VERSION:-1.14.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-generic-deriving/haskell-generic-deriving.info b/haskell/haskell-generic-deriving/haskell-generic-deriving.info index f5c63cab49..0fad037903 100644 --- a/haskell/haskell-generic-deriving/haskell-generic-deriving.info +++ b/haskell/haskell-generic-deriving/haskell-generic-deriving.info @@ -1,8 +1,8 @@ PRGNAM="haskell-generic-deriving" -VERSION="1.12.2" +VERSION="1.14.1" HOMEPAGE="https://hackage.haskell.org/package/generic-deriving" -DOWNLOAD="https://hackage.haskell.org/packages/archive/generic-deriving/1.12.2/generic-deriving-1.12.2.tar.gz" -MD5SUM="85e958605f79045e8b7667276d00e82d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/generic-deriving/1.14.1/generic-deriving-1.14.1.tar.gz" +MD5SUM="ecb6e9cbb636f503d4ed873616481304" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-th-abstraction" diff --git a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild index 47d71a3bf0..ea682f6290 100644 --- a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild +++ b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-ghc-paths -VERSION=${VERSION:-0.1.0.9} +VERSION=${VERSION:-0.1.0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-ghc-paths/haskell-ghc-paths.info b/haskell/haskell-ghc-paths/haskell-ghc-paths.info index d9a3b307b4..bfa89cefd9 100644 --- a/haskell/haskell-ghc-paths/haskell-ghc-paths.info +++ b/haskell/haskell-ghc-paths/haskell-ghc-paths.info @@ -1,8 +1,8 @@ PRGNAM="haskell-ghc-paths" -VERSION="0.1.0.9" +VERSION="0.1.0.12" HOMEPAGE="https://hackage.haskell.org/package/ghc-paths" -DOWNLOAD="https://hackage.haskell.org/packages/archive/ghc-paths/0.1.0.9/ghc-paths-0.1.0.9.tar.gz" -MD5SUM="03d8df6ad0f5c2d1e92a379716b59845" +DOWNLOAD="https://hackage.haskell.org/packages/archive/ghc-paths/0.1.0.12/ghc-paths-0.1.0.12.tar.gz" +MD5SUM="a9125026c7b5c043525aa5319b00b17d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild b/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild index e58d77794a..56e2483a64 100644 --- a/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild +++ b/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-gloss-rendering -VERSION=${VERSION:-1.13.0.2} +VERSION=${VERSION:-1.13.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-gloss-rendering/haskell-gloss-rendering.info b/haskell/haskell-gloss-rendering/haskell-gloss-rendering.info index 0e71f19c1d..166faae442 100644 --- a/haskell/haskell-gloss-rendering/haskell-gloss-rendering.info +++ b/haskell/haskell-gloss-rendering/haskell-gloss-rendering.info @@ -1,10 +1,12 @@ PRGNAM="haskell-gloss-rendering" -VERSION="1.13.0.2" +VERSION="1.13.1.1" HOMEPAGE="https://hackage.haskell.org/package/gloss-rendering" -DOWNLOAD="https://hackage.haskell.org/package/gloss-rendering-1.13.0.2/gloss-rendering-1.13.0.2.tar.gz" -MD5SUM="b3972cd4e00d5cb32bc649b3a53a686b" +DOWNLOAD="https://hackage.haskell.org/package/gloss-rendering-1.13.1.1/gloss-rendering-1.13.1.1.tar.gz \ + https://hackage.haskell.org/package/gloss-rendering-1.13.1.1/revision/1.cabal" +MD5SUM="a841106df76aa32432d4052ab93a33ec \ + 626d7b333b28830d1bf7b9b65e6da9b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-bmp haskell-OpenGL haskell-GLUT" +REQUIRES="haskell-bmp haskell-GLUT" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-gloss/haskell-gloss.SlackBuild b/haskell/haskell-gloss/haskell-gloss.SlackBuild index ec05439ec9..090d17c055 100644 --- a/haskell/haskell-gloss/haskell-gloss.SlackBuild +++ b/haskell/haskell-gloss/haskell-gloss.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-gloss -VERSION=${VERSION:-1.13.0.1} +VERSION=${VERSION:-1.13.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-gloss/haskell-gloss.info b/haskell/haskell-gloss/haskell-gloss.info index 6beccd1764..3ee30031e3 100644 --- a/haskell/haskell-gloss/haskell-gloss.info +++ b/haskell/haskell-gloss/haskell-gloss.info @@ -1,10 +1,10 @@ PRGNAM="haskell-gloss" -VERSION="1.13.0.1" +VERSION="1.13.2.1" HOMEPAGE="https://hackage.haskell.org/package/gloss" -DOWNLOAD="https://hackage.haskell.org/package/gloss-1.13.0.1/gloss-1.13.0.1.tar.gz" -MD5SUM="39c86142a697f9307d58bac494b4e854" +DOWNLOAD="https://hackage.haskell.org/package/gloss-1.13.2.1/gloss-1.13.2.1.tar.gz" +MD5SUM="cd39115842ea07b91dc6a9ab23265c63" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-GLUT haskell-bmp haskell-gloss-rendering" +REQUIRES="haskell-gloss-rendering" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-graphviz/README b/haskell/haskell-graphviz/README index 86319ed534..ad64ba9de1 100644 --- a/haskell/haskell-graphviz/README +++ b/haskell/haskell-graphviz/README @@ -1,6 +1,6 @@ -This library provides bindings for the Dot language used by the Graphviz -(https://graphviz.org/) suite of programs for visualising graphs, as well -as functions to call those programs. +This library provides bindings for the Dot language used by the +Graphviz (https://graphviz.org/) suite of programs for visualising +graphs, as well as functions to call those programs. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-graphviz/haskell-graphviz.SlackBuild b/haskell/haskell-graphviz/haskell-graphviz.SlackBuild index f803f670dd..f8cc3ce5c8 100644 --- a/haskell/haskell-graphviz/haskell-graphviz.SlackBuild +++ b/haskell/haskell-graphviz/haskell-graphviz.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-graphviz -VERSION=${VERSION:-2999.20.0.2} +VERSION=${VERSION:-2999.20.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-graphviz/haskell-graphviz.info b/haskell/haskell-graphviz/haskell-graphviz.info index f090222b95..c29634a343 100644 --- a/haskell/haskell-graphviz/haskell-graphviz.info +++ b/haskell/haskell-graphviz/haskell-graphviz.info @@ -1,8 +1,8 @@ PRGNAM="haskell-graphviz" -VERSION="2999.20.0.2" +VERSION="2999.20.1.0" HOMEPAGE="https://hackage.haskell.org/package/graphviz" -DOWNLOAD="https://hackage.haskell.org/package/graphviz-2999.20.0.2/graphviz-2999.20.0.2.tar.gz" -MD5SUM="f18623e02fb851433b3491e13670a691" +DOWNLOAD="https://hackage.haskell.org/package/graphviz-2999.20.1.0/graphviz-2999.20.1.0.tar.gz" +MD5SUM="be8d1cad86dddfe722c66d6898995bf8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-colour haskell-dlist haskell-fgl haskell-polyparse haskell-temporary haskell-wl-pprint-text" diff --git a/haskell/haskell-hackage-security/README b/haskell/haskell-hackage-security/README deleted file mode 100644 index 86b3c1db56..0000000000 --- a/haskell/haskell-hackage-security/README +++ /dev/null @@ -1,5 +0,0 @@ -The hackage security library provides both server and client utilities -for securing the Hackage package server. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hackage-security/haskell-hackage-security.info b/haskell/haskell-hackage-security/haskell-hackage-security.info deleted file mode 100644 index 3c4e097652..0000000000 --- a/haskell/haskell-hackage-security/haskell-hackage-security.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-hackage-security" -VERSION="0.5.3.0" -HOMEPAGE="https://hackage.haskell.org/package/hackage-security" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hackage-security/0.5.3.0/hackage-security-0.5.3.0.tar.gz" -MD5SUM="87ab28d86b0400b48dab2b6ad6b622d4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-base16-bytestring haskell-base64-bytestring haskell-cryptohash-sha256 haskell-ed25519 haskell-network haskell-network-uri haskell-old-locale haskell-old-time haskell-tar haskell-zlib" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild b/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild index 6a066da28d..13dc688659 100644 --- a/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild +++ b/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-haddock-library -VERSION=${VERSION:-1.7.0} +VERSION=${VERSION:-1.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-haddock-library/haskell-haddock-library.info b/haskell/haskell-haddock-library/haskell-haddock-library.info index 158a6a832d..615b4c1d13 100644 --- a/haskell/haskell-haddock-library/haskell-haddock-library.info +++ b/haskell/haskell-haddock-library/haskell-haddock-library.info @@ -1,8 +1,8 @@ PRGNAM="haskell-haddock-library" -VERSION="1.7.0" +VERSION="1.10.0" HOMEPAGE="https://hackage.haskell.org/package/haddock-library" -DOWNLOAD="https://hackage.haskell.org/packages/archive/haddock-library/1.7.0/haddock-library-1.7.0.tar.gz" -MD5SUM="205f23b8cc0e0d0921464bc070348932" +DOWNLOAD="https://hackage.haskell.org/packages/archive/haddock-library/1.10.0/haddock-library-1.10.0.tar.gz" +MD5SUM="c73fff8c486f066ca1a3165d57a52456" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-hashable/haskell-hashable.SlackBuild b/haskell/haskell-hashable/haskell-hashable.SlackBuild index 6353d715cc..1ff96c3518 100644 --- a/haskell/haskell-hashable/haskell-hashable.SlackBuild +++ b/haskell/haskell-hashable/haskell-hashable.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hashable -VERSION=${VERSION:-1.3.1.0} +VERSION=${VERSION:-1.4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-hashable/haskell-hashable.info b/haskell/haskell-hashable/haskell-hashable.info index e36663df4e..8a3cb0cce4 100644 --- a/haskell/haskell-hashable/haskell-hashable.info +++ b/haskell/haskell-hashable/haskell-hashable.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hashable" -VERSION="1.3.1.0" +VERSION="1.4.0.1" HOMEPAGE="https://hackage.haskell.org/package/hashable" -DOWNLOAD="https://hackage.haskell.org/package/hashable-1.3.1.0/hashable-1.3.1.0.tar.gz" -MD5SUM="c6e47057cd599eed20a1af457e05b13e" +DOWNLOAD="https://hackage.haskell.org/package/hashable-1.4.0.1/hashable-1.4.0.1.tar.gz" +MD5SUM="6c3fd68a80f05d31ac3895e02b4da7cd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ghc" +REQUIRES="haskell-base-orphans" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hashed-storage/README b/haskell/haskell-hashed-storage/README deleted file mode 100644 index 1bfa3344c7..0000000000 --- a/haskell/haskell-hashed-storage/README +++ /dev/null @@ -1,10 +0,0 @@ -Support code for reading and manipulating hashed file storage (where -each file and directory is associated with a cryptographic hash, for -corruption-resistant storage and fast comparisons). - -The supported storage formats include darcs hashed pristine, a plain -filesystem tree and an indexed plain tree (where the index maintains -hashes of the plain files and directories). - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hashed-storage/haskell-hashed-storage.info b/haskell/haskell-hashed-storage/haskell-hashed-storage.info deleted file mode 100644 index 98f5dd74bd..0000000000 --- a/haskell/haskell-hashed-storage/haskell-hashed-storage.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-hashed-storage" -VERSION="0.5.11" -HOMEPAGE="https://hackage.haskell.org/package/hashed-storage" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hashed-storage/0.5.11/hashed-storage-0.5.11.tar.gz" -MD5SUM="7b99ba4da4be44ffb5018e43a498fdb0" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-extensible-exceptions haskell-dataenc haskell-mmap haskell-zlib" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hashed-storage/slack-desc b/haskell/haskell-hashed-storage/slack-desc deleted file mode 100644 index b1d12fbf24..0000000000 --- a/haskell/haskell-hashed-storage/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -haskell-hashed-storage: haskell-hashed-storage (Hashed file storage support code) -haskell-hashed-storage: -haskell-hashed-storage: Support code for reading and manipulating hashed file storage (where -haskell-hashed-storage: each file and directory is associated with a cryptographic hash, for -haskell-hashed-storage: corruption-resistant storage and fast comparisons). -haskell-hashed-storage: -haskell-hashed-storage: The supported storage formats include darcs hashed pristine, a plain -haskell-hashed-storage: filesystem tree and an indexed plain tree (where the index maintains -haskell-hashed-storage: hashes of the plain files and directories). -haskell-hashed-storage: -haskell-hashed-storage: https://hackage.haskell.org/package/hashed-storage diff --git a/haskell/haskell-haskell-src/README b/haskell/haskell-haskell-src/README deleted file mode 100644 index 538043ea0b..0000000000 --- a/haskell/haskell-haskell-src/README +++ /dev/null @@ -1,5 +0,0 @@ -Facilities for manipulating Haskell source code: an abstract syntax, -lexer, parser, and pretty-printer. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild b/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild deleted file mode 100644 index 662c99e49a..0000000000 --- a/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/bash - -# Slackware build script for haskell-haskell-src - -# Copyright 2015 Mikko Värri, Finland -# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=haskell-haskell-src -VERSION=${VERSION:-1.0.3.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -runghc Setup build -runghc Setup haddock -runghc Setup copy --destdir=$PKG -runghc Setup register --gen-pkg-config - -PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) -mkdir -p $PKG/$PKGCONFD -mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-haskell-src/haskell-haskell-src.info b/haskell/haskell-haskell-src/haskell-haskell-src.info deleted file mode 100644 index 7d4dc9ec59..0000000000 --- a/haskell/haskell-haskell-src/haskell-haskell-src.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-haskell-src" -VERSION="1.0.3.0" -HOMEPAGE="https://hackage.haskell.org/package/haskell-src" -DOWNLOAD="https://hackage.haskell.org/packages/archive/haskell-src/1.0.3.0/haskell-src-1.0.3.0.tar.gz" -MD5SUM="2f8ebe3a66b4cacb4480a47162922f3a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="happy haskell-syb" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hpack/haskell-hpack.SlackBuild b/haskell/haskell-hpack/haskell-hpack.SlackBuild index 1b8eb7a718..750865b3dc 100644 --- a/haskell/haskell-hpack/haskell-hpack.SlackBuild +++ b/haskell/haskell-hpack/haskell-hpack.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hpack -VERSION=${VERSION:-0.31.0} +VERSION=${VERSION:-0.34.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-hpack/haskell-hpack.info b/haskell/haskell-hpack/haskell-hpack.info index 94dc4a7185..2dc0c91f5e 100644 --- a/haskell/haskell-hpack/haskell-hpack.info +++ b/haskell/haskell-hpack/haskell-hpack.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hpack" -VERSION="0.31.0" +VERSION="0.34.6" HOMEPAGE="https://hackage.haskell.org/package/hpack" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hpack/0.31.0/hpack-0.31.0.tar.gz" -MD5SUM="b300c59d0c73ef4205daebf9f6d764fd" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hpack/0.34.6/hpack-0.34.6.tar.gz" +MD5SUM="fdc1608c1cee44d262fcf726ac5ee348" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-bifunctors haskell-cryptonite haskell-Glob haskell-http-client haskell-http-client-tls haskell-http-types haskell-infer-license haskell-scientific haskell-unordered-containers haskell-vector haskell-yaml" +REQUIRES="haskell-Glob haskell-http-client-tls haskell-infer-license haskell-yaml" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hslogger/README b/haskell/haskell-hslogger/README deleted file mode 100644 index a423d148f1..0000000000 --- a/haskell/haskell-hslogger/README +++ /dev/null @@ -1,12 +0,0 @@ -Versatile logging framework. - -hslogger is a logging framework for Haskell, roughly similar to -Python's logging module. - -hslogger lets each log message have a priority and source be -associated with it. The programmer can then define global handlers -that route or filter messages based on the priority and -source. hslogger also has a syslog handler built in. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslogger/haskell-hslogger.SlackBuild b/haskell/haskell-hslogger/haskell-hslogger.SlackBuild deleted file mode 100644 index b3ba14cc01..0000000000 --- a/haskell/haskell-hslogger/haskell-hslogger.SlackBuild +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/bash - -# Slackware build script for haskell-hslogger - -# Copyright 2014 Google Inc, Germany -# Copyright 2015 Mikko Värri, Finland -# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=haskell-hslogger -VERSION=${VERSION:-1.2.12} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -runghc Setup build -runghc Setup haddock -runghc Setup copy --destdir=$PKG -runghc Setup register --gen-pkg-config - -PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) -mkdir -p $PKG/$PKGCONFD -mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslogger/haskell-hslogger.info b/haskell/haskell-hslogger/haskell-hslogger.info deleted file mode 100644 index 39601caa6d..0000000000 --- a/haskell/haskell-hslogger/haskell-hslogger.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-hslogger" -VERSION="1.2.12" -HOMEPAGE="https://hackage.haskell.org/package/hslogger" -DOWNLOAD="https://hackage.haskell.org/package/hslogger-1.2.12/hslogger-1.2.12.tar.gz" -MD5SUM="c6d0e1e4f6ba6b478a96e1a32991ed11" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-network haskell-old-locale" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hslogger/slack-desc b/haskell/haskell-hslogger/slack-desc deleted file mode 100644 index 66925463d4..0000000000 --- a/haskell/haskell-hslogger/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -haskell-hslogger: haskell-hslogger (Versatile logging framework) -haskell-hslogger: -haskell-hslogger: hslogger is a logging framework for Haskell, roughly similar to -haskell-hslogger: Python's logging module. -haskell-hslogger: -haskell-hslogger: hslogger lets each log message have a priority and source be -haskell-hslogger: associated with it. The programmer can then define global handlers -haskell-hslogger: that route or filter messages based on the priority and -haskell-hslogger: source. hslogger also has a syslog handler built in. -haskell-hslogger: -haskell-hslogger: https://hackage.haskell.org/package/hslogger diff --git a/haskell/haskell-hslua-aeson/README b/haskell/haskell-hslua-aeson/README new file mode 100644 index 0000000000..e46b6bc812 --- /dev/null +++ b/haskell/haskell-hslua-aeson/README @@ -0,0 +1,4 @@ +Allow aeson data types to be used with Lua. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-persistent-template/doinst.sh b/haskell/haskell-hslua-aeson/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-persistent-template/doinst.sh +++ b/haskell/haskell-hslua-aeson/doinst.sh diff --git a/haskell/haskell-hslua-aeson/haskell-hslua-aeson.SlackBuild b/haskell/haskell-hslua-aeson/haskell-hslua-aeson.SlackBuild new file mode 100644 index 0000000000..c7a36af7f1 --- /dev/null +++ b/haskell/haskell-hslua-aeson/haskell-hslua-aeson.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-hslua-aeson + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-hslua-aeson +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslua-aeson/haskell-hslua-aeson.info b/haskell/haskell-hslua-aeson/haskell-hslua-aeson.info new file mode 100644 index 0000000000..0a70f7dfc2 --- /dev/null +++ b/haskell/haskell-hslua-aeson/haskell-hslua-aeson.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-aeson" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/hslua-aeson" +DOWNLOAD="https://hackage.haskell.org/package/hslua-aeson-2.1.0/hslua-aeson-2.1.0.tar.gz" +MD5SUM="b8c4af349ff316bf5ed53b2c0d15d311" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-aeson haskell-hslua-marshalling" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hslua-aeson/slack-desc b/haskell/haskell-hslua-aeson/slack-desc new file mode 100644 index 0000000000..988f00fa40 --- /dev/null +++ b/haskell/haskell-hslua-aeson/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-hslua-aeson: haskell-hslua-aeson (Allow aeson data types to be used with Lua) +haskell-hslua-aeson: +haskell-hslua-aeson: This package provides instances to push and receive any datatype +haskell-hslua-aeson: encodable as JSON to and from the Lua stack. +haskell-hslua-aeson: +haskell-hslua-aeson: https://hackage.haskell.org/package/hslua-aeson +haskell-hslua-aeson: +haskell-hslua-aeson: +haskell-hslua-aeson: +haskell-hslua-aeson: +haskell-hslua-aeson: diff --git a/haskell/haskell-hslua-classes/README b/haskell/haskell-hslua-classes/README new file mode 100644 index 0000000000..ef88593dfd --- /dev/null +++ b/haskell/haskell-hslua-classes/README @@ -0,0 +1,4 @@ +Type classes for HsLua + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-persistent/doinst.sh b/haskell/haskell-hslua-classes/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-persistent/doinst.sh +++ b/haskell/haskell-hslua-classes/doinst.sh diff --git a/haskell/haskell-hslua-classes/haskell-hslua-classes.SlackBuild b/haskell/haskell-hslua-classes/haskell-hslua-classes.SlackBuild new file mode 100644 index 0000000000..3e5cc38aa5 --- /dev/null +++ b/haskell/haskell-hslua-classes/haskell-hslua-classes.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-hslua-classes + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-hslua-classes +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslua-classes/haskell-hslua-classes.info b/haskell/haskell-hslua-classes/haskell-hslua-classes.info new file mode 100644 index 0000000000..62050ae4c0 --- /dev/null +++ b/haskell/haskell-hslua-classes/haskell-hslua-classes.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-classes" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/hslua-classes" +DOWNLOAD="https://hackage.haskell.org/package/hslua-classes-2.1.0/hslua-classes-2.1.0.tar.gz" +MD5SUM="477353c5ae8afd85d1e4f4a2ddb46816" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-marshalling" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-http-api-data/slack-desc b/haskell/haskell-hslua-classes/slack-desc index 81449aa712..dd3e12c7ab 100644 --- a/haskell/haskell-http-api-data/slack-desc +++ b/haskell/haskell-hslua-classes/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-http-api-data: haskell-http-api-data (Converting to/from HTTP API data) -haskell-http-api-data: -haskell-http-api-data: This package defines typeclasses used for converting Haskell data -haskell-http-api-data: types to and from HTTP API data like URL pieces, headers and query -haskell-http-api-data: parameters. -haskell-http-api-data: -haskell-http-api-data: -haskell-http-api-data: -haskell-http-api-data: -haskell-http-api-data: -haskell-http-api-data: +haskell-hslua-classes: haskell-hslua-classes (Type classes for HsLua) +haskell-hslua-classes: +haskell-hslua-classes: Type classes for convenient marshalling and calling of Lua functions. +haskell-hslua-classes: +haskell-hslua-classes: https://hackage.haskell.org/package/hslua-classes +haskell-hslua-classes: +haskell-hslua-classes: +haskell-hslua-classes: +haskell-hslua-classes: +haskell-hslua-classes: +haskell-hslua-classes: diff --git a/haskell/haskell-hslua-core/README b/haskell/haskell-hslua-core/README new file mode 100644 index 0000000000..5159b6b9ed --- /dev/null +++ b/haskell/haskell-hslua-core/README @@ -0,0 +1,4 @@ +Bindings to Lua, an embeddable scripting language + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-stack/doinst.sh b/haskell/haskell-hslua-core/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-stack/doinst.sh +++ b/haskell/haskell-hslua-core/doinst.sh diff --git a/haskell/haskell-hslua-core/haskell-hslua-core.SlackBuild b/haskell/haskell-hslua-core/haskell-hslua-core.SlackBuild new file mode 100644 index 0000000000..7c3983fe10 --- /dev/null +++ b/haskell/haskell-hslua-core/haskell-hslua-core.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-hslua-core + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-hslua-core +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslua-core/haskell-hslua-core.info b/haskell/haskell-hslua-core/haskell-hslua-core.info new file mode 100644 index 0000000000..732be53317 --- /dev/null +++ b/haskell/haskell-hslua-core/haskell-hslua-core.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-core" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/hslua-core" +DOWNLOAD="https://hackage.haskell.org/package/hslua-core-2.1.0/hslua-core-2.1.0.tar.gz" +MD5SUM="9e71803f0ed7389a7a0c031f898dc235" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-lua" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-persistent/slack-desc b/haskell/haskell-hslua-core/slack-desc index ee7b9f5157..21b6398f04 100644 --- a/haskell/haskell-persistent/slack-desc +++ b/haskell/haskell-hslua-core/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-persistent: haskell-persistent (Type-safe data serialization) -haskell-persistent: -haskell-persistent: Type-safe, multi-backend data serialization. -haskell-persistent: -haskell-persistent: -haskell-persistent: -haskell-persistent: -haskell-persistent: -haskell-persistent: -haskell-persistent: -haskell-persistent: +haskell-hslua-core: haskell-hslua-core (Bindings to Lua) +haskell-hslua-core: +haskell-hslua-core: Wrappers and helpers to bridge Haskell and Lua. +haskell-hslua-core: +haskell-hslua-core: https://hackage.haskell.org/package/hslua-core +haskell-hslua-core: +haskell-hslua-core: +haskell-hslua-core: +haskell-hslua-core: +haskell-hslua-core: +haskell-hslua-core: diff --git a/haskell/haskell-hslua-marshalling/README b/haskell/haskell-hslua-marshalling/README new file mode 100644 index 0000000000..655bd19154 --- /dev/null +++ b/haskell/haskell-hslua-marshalling/README @@ -0,0 +1,4 @@ +Marshalling of values between Haskell and Lua. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-store/doinst.sh b/haskell/haskell-hslua-marshalling/doinst.sh index 3268c238bf..3268c238bf 100644 --- a/haskell/haskell-store/doinst.sh +++ b/haskell/haskell-hslua-marshalling/doinst.sh diff --git a/haskell/haskell-hslua-marshalling/haskell-hslua-marshalling.SlackBuild b/haskell/haskell-hslua-marshalling/haskell-hslua-marshalling.SlackBuild new file mode 100644 index 0000000000..ae9eb9b340 --- /dev/null +++ b/haskell/haskell-hslua-marshalling/haskell-hslua-marshalling.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-hslua-marshalling + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-hslua-marshalling +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslua-marshalling/haskell-hslua-marshalling.info b/haskell/haskell-hslua-marshalling/haskell-hslua-marshalling.info new file mode 100644 index 0000000000..fffeba6a0d --- /dev/null +++ b/haskell/haskell-hslua-marshalling/haskell-hslua-marshalling.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-marshalling" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/hslua-marshalling" +DOWNLOAD="https://hackage.haskell.org/package/hslua-marshalling-2.1.0/hslua-marshalling-2.1.0.tar.gz" +MD5SUM="34f9bf4b56500a4e41fb87f86dace3ff" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-core" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hslua-marshalling/slack-desc b/haskell/haskell-hslua-marshalling/slack-desc new file mode 100644 index 0000000000..aa9c905674 --- /dev/null +++ b/haskell/haskell-hslua-marshalling/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-hslua-marshalling: haskell-hslua-marshalling (Marshalling of Lua values) +haskell-hslua-marshalling: +haskell-hslua-marshalling: Provides functions to marshal values from Haskell to Lua, and vice +haskell-hslua-marshalling: versa. +haskell-hslua-marshalling: +haskell-hslua-marshalling: https://hackage.haskell.org/package/hslua-marshalling +haskell-hslua-marshalling: +haskell-hslua-marshalling: +haskell-hslua-marshalling: +haskell-hslua-marshalling: +haskell-hslua-marshalling: diff --git a/haskell/haskell-hslua-module-path/README b/haskell/haskell-hslua-module-path/README new file mode 100644 index 0000000000..221387e3f1 --- /dev/null +++ b/haskell/haskell-hslua-module-path/README @@ -0,0 +1,4 @@ +Lua module to work with file paths. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslua-module-path/doinst.sh b/haskell/haskell-hslua-module-path/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hslua-module-path/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild b/haskell/haskell-hslua-module-path/haskell-hslua-module-path.SlackBuild index c23d03c245..b7dcd58e5a 100644 --- a/haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild +++ b/haskell/haskell-hslua-module-path/haskell-hslua-module-path.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-http-api-data +# Slackware build script for haskell-hslua-module-path -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2022 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-http-api-data -VERSION=${VERSION:-0.3.10} +PRGNAM=haskell-hslua-module-path +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-hslua-module-path/haskell-hslua-module-path.info b/haskell/haskell-hslua-module-path/haskell-hslua-module-path.info new file mode 100644 index 0000000000..7fe590f90c --- /dev/null +++ b/haskell/haskell-hslua-module-path/haskell-hslua-module-path.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-module-path" +VERSION="1.0.1" +HOMEPAGE="https://hackage.haskell.org/package/hslua-module-path" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua-module-path/1.0.1/hslua-module-path-1.0.1.tar.gz" +MD5SUM="23d452cc5b49373567e0d174293f5f23" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-packaging" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hslua-module-path/slack-desc b/haskell/haskell-hslua-module-path/slack-desc new file mode 100644 index 0000000000..bc0d82b127 --- /dev/null +++ b/haskell/haskell-hslua-module-path/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-hslua-module-path: haskell-hslua-module-path (Lua module to work with file paths) +haskell-hslua-module-path: +haskell-hslua-module-path: Lua module to work with file paths in a platform independent way. +haskell-hslua-module-path: +haskell-hslua-module-path: https://hackage.haskell.org/package/hslua-module-path +haskell-hslua-module-path: +haskell-hslua-module-path: +haskell-hslua-module-path: +haskell-hslua-module-path: +haskell-hslua-module-path: +haskell-hslua-module-path: diff --git a/haskell/haskell-hslua-module-system/README b/haskell/haskell-hslua-module-system/README new file mode 100644 index 0000000000..c46cab2181 --- /dev/null +++ b/haskell/haskell-hslua-module-system/README @@ -0,0 +1,4 @@ +Lua module wrapper around Haskell's System module. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslua-module-system/doinst.sh b/haskell/haskell-hslua-module-system/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hslua-module-system/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-cmdlib/haskell-cmdlib.SlackBuild b/haskell/haskell-hslua-module-system/haskell-hslua-module-system.SlackBuild index b74247dcbb..7fbf998e12 100644 --- a/haskell/haskell-cmdlib/haskell-cmdlib.SlackBuild +++ b/haskell/haskell-hslua-module-system/haskell-hslua-module-system.SlackBuild @@ -1,9 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-cmdlib +# Slackware build script for haskell-hslua-module-system -# Copyright 2015 Mikko Värri, Finland -# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2022 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-cmdlib -VERSION=${VERSION:-0.3.6} +PRGNAM=haskell-hslua-module-system +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +76,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -108,7 +115,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/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-hslua-module-system/haskell-hslua-module-system.info b/haskell/haskell-hslua-module-system/haskell-hslua-module-system.info new file mode 100644 index 0000000000..5b44cfc747 --- /dev/null +++ b/haskell/haskell-hslua-module-system/haskell-hslua-module-system.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-module-system" +VERSION="1.0.1" +HOMEPAGE="https://hackage.haskell.org/package/hslua-module-system" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua-module-system/1.0.1/hslua-module-system-1.0.1.tar.gz" +MD5SUM="44a00e0e29e0398f9aa57ae5ea31eb84" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-packaging haskell-temporary" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hslua-module-system/slack-desc b/haskell/haskell-hslua-module-system/slack-desc new file mode 100644 index 0000000000..2c9dc610f3 --- /dev/null +++ b/haskell/haskell-hslua-module-system/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-hslua-module-system: haskell-hslua-module-system (Lua module wrapper for System module) +haskell-hslua-module-system: +haskell-hslua-module-system: Provides access to system information and functionality to Lua +haskell-hslua-module-system: scripts via Haskell's System module. +haskell-hslua-module-system: +haskell-hslua-module-system: https://hackage.haskell.org/package/hslua-module-system +haskell-hslua-module-system: +haskell-hslua-module-system: +haskell-hslua-module-system: +haskell-hslua-module-system: +haskell-hslua-module-system: diff --git a/haskell/haskell-hslua-module-text/haskell-hslua-module-text.SlackBuild b/haskell/haskell-hslua-module-text/haskell-hslua-module-text.SlackBuild index 3e62a8a1c8..346bf7c1a1 100644 --- a/haskell/haskell-hslua-module-text/haskell-hslua-module-text.SlackBuild +++ b/haskell/haskell-hslua-module-text/haskell-hslua-module-text.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hslua-module-text -VERSION=${VERSION:-0.2.0} +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -107,7 +107,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/$PRGNAM-$VERSION -cp -a ChangeLog.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-hslua-module-text/haskell-hslua-module-text.info b/haskell/haskell-hslua-module-text/haskell-hslua-module-text.info index 2e489b75c5..6f7c28e607 100644 --- a/haskell/haskell-hslua-module-text/haskell-hslua-module-text.info +++ b/haskell/haskell-hslua-module-text/haskell-hslua-module-text.info @@ -1,8 +1,8 @@ PRGNAM="haskell-hslua-module-text" -VERSION="0.2.0" +VERSION="1.0.1" HOMEPAGE="https://hackage.haskell.org/package/hslua-module-text" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua-module-text/0.2.0/hslua-module-text-0.2.0.tar.gz" -MD5SUM="90b88150df7ef31df7c9a22f20d24fcd" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua-module-text/1.0.1/hslua-module-text-1.0.1.tar.gz" +MD5SUM="b14b42d686fba2bfa6d0c916eded85cd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-hslua" diff --git a/haskell/haskell-hslua-module-version/README b/haskell/haskell-hslua-module-version/README new file mode 100644 index 0000000000..9eb2fd6ee7 --- /dev/null +++ b/haskell/haskell-hslua-module-version/README @@ -0,0 +1,4 @@ +Lua module to work with version specifiers. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslua-module-version/doinst.sh b/haskell/haskell-hslua-module-version/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hslua-module-version/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-persistent/haskell-persistent.SlackBuild b/haskell/haskell-hslua-module-version/haskell-hslua-module-version.SlackBuild index 48c1e48742..7b7928df62 100644 --- a/haskell/haskell-persistent/haskell-persistent.SlackBuild +++ b/haskell/haskell-hslua-module-version/haskell-hslua-module-version.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-persistent +# Slackware build script for haskell-hslua-module-version -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2022 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-persistent -VERSION=${VERSION:-2.9.0} +PRGNAM=haskell-hslua-module-version +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -107,7 +115,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/$PRGNAM-$VERSION -cp -a ChangeLog.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-hslua-module-version/haskell-hslua-module-version.info b/haskell/haskell-hslua-module-version/haskell-hslua-module-version.info new file mode 100644 index 0000000000..f5a20aa535 --- /dev/null +++ b/haskell/haskell-hslua-module-version/haskell-hslua-module-version.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-module-version" +VERSION="1.0.1" +HOMEPAGE="https://hackage.haskell.org/package/hslua-module-version" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua-module-version/1.0.1/hslua-module-version-1.0.1.tar.gz" +MD5SUM="8ea210527aaf3c83cf24883c8507184e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-packaging" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hslua-module-version/slack-desc b/haskell/haskell-hslua-module-version/slack-desc new file mode 100644 index 0000000000..6e81542110 --- /dev/null +++ b/haskell/haskell-hslua-module-version/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-hslua-module-version: haskell-hslua-module-version (Lua module for version specifiers) +haskell-hslua-module-version: +haskell-hslua-module-version: Wrapper for the Data.Version.Version Haskell type. +haskell-hslua-module-version: +haskell-hslua-module-version: https://hackage.haskell.org/package/hslua-module-version +haskell-hslua-module-version: +haskell-hslua-module-version: +haskell-hslua-module-version: +haskell-hslua-module-version: +haskell-hslua-module-version: +haskell-hslua-module-version: diff --git a/haskell/haskell-hslua-objectorientation/README b/haskell/haskell-hslua-objectorientation/README new file mode 100644 index 0000000000..6b706d0850 --- /dev/null +++ b/haskell/haskell-hslua-objectorientation/README @@ -0,0 +1,4 @@ +Object orientation tools for HsLua + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslua-objectorientation/doinst.sh b/haskell/haskell-hslua-objectorientation/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hslua-objectorientation/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-hslua-objectorientation/haskell-hslua-objectorientation.SlackBuild b/haskell/haskell-hslua-objectorientation/haskell-hslua-objectorientation.SlackBuild new file mode 100644 index 0000000000..9cc861fcff --- /dev/null +++ b/haskell/haskell-hslua-objectorientation/haskell-hslua-objectorientation.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-hslua-objectorientation + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-hslua-objectorientation +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslua-objectorientation/haskell-hslua-objectorientation.info b/haskell/haskell-hslua-objectorientation/haskell-hslua-objectorientation.info new file mode 100644 index 0000000000..04ea818fb0 --- /dev/null +++ b/haskell/haskell-hslua-objectorientation/haskell-hslua-objectorientation.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-objectorientation" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/hslua-objectorientation" +DOWNLOAD="https://hackage.haskell.org/package/hslua-objectorientation-2.1.0/hslua-objectorientation-2.1.0.tar.gz" +MD5SUM="219990b2641dd0c5d1da8ec258729dae" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-marshalling" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hslua-objectorientation/slack-desc b/haskell/haskell-hslua-objectorientation/slack-desc new file mode 100644 index 0000000000..ceece0220b --- /dev/null +++ b/haskell/haskell-hslua-objectorientation/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-hslua-objectorientation: haskell-hslua-objectorientation ( Object orientation tools for HsLua) +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: Expose Haskell objects to Lua with an object oriented interface. +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: https://hackage.haskell.org/package/hslua-objectorientation +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: +haskell-hslua-objectorientation: diff --git a/haskell/haskell-hslua-packaging/README b/haskell/haskell-hslua-packaging/README new file mode 100644 index 0000000000..08e4edd23f --- /dev/null +++ b/haskell/haskell-hslua-packaging/README @@ -0,0 +1,4 @@ +Utilities to build Lua modules. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hslua-packaging/doinst.sh b/haskell/haskell-hslua-packaging/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hslua-packaging/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-hslua-packaging/haskell-hslua-packaging.SlackBuild b/haskell/haskell-hslua-packaging/haskell-hslua-packaging.SlackBuild new file mode 100644 index 0000000000..c639cd5549 --- /dev/null +++ b/haskell/haskell-hslua-packaging/haskell-hslua-packaging.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-hslua-packaging + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-hslua-packaging +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-hslua-packaging/haskell-hslua-packaging.info b/haskell/haskell-hslua-packaging/haskell-hslua-packaging.info new file mode 100644 index 0000000000..287fa96d0f --- /dev/null +++ b/haskell/haskell-hslua-packaging/haskell-hslua-packaging.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hslua-packaging" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/hslua-packaging" +DOWNLOAD="https://hackage.haskell.org/package/hslua-packaging-2.1.0/hslua-packaging-2.1.0.tar.gz" +MD5SUM="24b764de15f0f12fa37f1de8869a9b03" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hslua-objectorientation" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-optparse-simple/slack-desc b/haskell/haskell-hslua-packaging/slack-desc index 8bbc67f1e3..31a7002b74 100644 --- a/haskell/haskell-optparse-simple/slack-desc +++ b/haskell/haskell-hslua-packaging/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-optparse-simple: haskell-optparse-simple (Simple interface to optparse-applicative) -haskell-optparse-simple: -haskell-optparse-simple: Simple interface to optparse-applicative. -haskell-optparse-simple: -haskell-optparse-simple: -haskell-optparse-simple: -haskell-optparse-simple: -haskell-optparse-simple: -haskell-optparse-simple: -haskell-optparse-simple: -haskell-optparse-simple: +haskell-hslua-packaging: haskell-hslua-packaging (Utilities to build Lua modules) +haskell-hslua-packaging: +haskell-hslua-packaging: Utilities to package up Haskell functions and values into a Lua +haskell-hslua-packaging: module. +haskell-hslua-packaging: +haskell-hslua-packaging: https://hackage.haskell.org/package/hslua-packaging +haskell-hslua-packaging: +haskell-hslua-packaging: +haskell-hslua-packaging: +haskell-hslua-packaging: +haskell-hslua-packaging: diff --git a/haskell/haskell-hslua/haskell-hslua.SlackBuild b/haskell/haskell-hslua/haskell-hslua.SlackBuild index cd314ed94d..32ca7ab4c4 100644 --- a/haskell/haskell-hslua/haskell-hslua.SlackBuild +++ b/haskell/haskell-hslua/haskell-hslua.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hslua -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-hslua/haskell-hslua.info b/haskell/haskell-hslua/haskell-hslua.info index 73f67edeb5..168dd61ba6 100644 --- a/haskell/haskell-hslua/haskell-hslua.info +++ b/haskell/haskell-hslua/haskell-hslua.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hslua" -VERSION="1.0.1" +VERSION="2.1.0" HOMEPAGE="https://hackage.haskell.org/package/hslua" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua/1.0.1/hslua-1.0.1.tar.gz" -MD5SUM="e0ac2ded42fa4a7ebb8147ae17bdbd63" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua/2.1.0/hslua-2.1.0.tar.gz" +MD5SUM="cf0a83092348ef682665b0256f5ee6eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-fail" +REQUIRES="haskell-fail haskell-hslua-classes haskell-hslua-packaging" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild b/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild index 294d0d9b26..c32c002a85 100644 --- a/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild +++ b/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hspec-core -VERSION=${VERSION:-2.5.8} +VERSION=${VERSION:-2.9.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-hspec-core/haskell-hspec-core.info b/haskell/haskell-hspec-core/haskell-hspec-core.info index 4ac6b3eae5..7f3e06d63a 100644 --- a/haskell/haskell-hspec-core/haskell-hspec-core.info +++ b/haskell/haskell-hspec-core/haskell-hspec-core.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hspec-core" -VERSION="2.5.8" +VERSION="2.9.4" HOMEPAGE="https://hackage.haskell.org/package/hspec-core" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec-core/2.5.8/hspec-core-2.5.8.tar.gz" -MD5SUM="ac9f4ac6ad9fdad001b14faef2847424" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec-core/2.9.4/hspec-core-2.9.4.tar.gz" +MD5SUM="13dbae758701e33a08bdc20b1d20d304" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-ansi-terminal haskell-call-stack haskell-clock haskell-hspec-expectations haskell-HUnit haskell-QuickCheck haskell-quickcheck-io haskell-random haskell-setenv haskell-tf-random" +REQUIRES="haskell-ansi-terminal haskell-clock haskell-hspec-expectations haskell-quickcheck-io haskell-setenv" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild b/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild index 651f6d3c74..b7bc391f6a 100644 --- a/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild +++ b/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hspec-discover -VERSION=${VERSION:-2.5.8} +VERSION=${VERSION:-2.9.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-hspec-discover/haskell-hspec-discover.info b/haskell/haskell-hspec-discover/haskell-hspec-discover.info index 0a15e3003e..b015db6e2c 100644 --- a/haskell/haskell-hspec-discover/haskell-hspec-discover.info +++ b/haskell/haskell-hspec-discover/haskell-hspec-discover.info @@ -1,8 +1,8 @@ PRGNAM="haskell-hspec-discover" -VERSION="2.5.8" +VERSION="2.9.4" HOMEPAGE="https://hackage.haskell.org/package/hspec-discover" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec-discover/2.5.8/hspec-discover-2.5.8.tar.gz" -MD5SUM="8bb0ec53e94af24c91d53da6ed31d150" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec-discover/2.9.4/hspec-discover-2.9.4.tar.gz" +MD5SUM="716d5b28659a418fa8090bce788cb8c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-hspec-expectations/haskell-hspec-expectations.info b/haskell/haskell-hspec-expectations/haskell-hspec-expectations.info index 287268d8aa..aaebdfa6a4 100644 --- a/haskell/haskell-hspec-expectations/haskell-hspec-expectations.info +++ b/haskell/haskell-hspec-expectations/haskell-hspec-expectations.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec-expectations/0.8.2/ MD5SUM="13cc0b65b17fe0f6765af0963c4bb7cb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-call-stack haskell-HUnit" +REQUIRES="haskell-HUnit" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.info b/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.info index ea66f74bce..5425b4a491 100644 --- a/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.info +++ b/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec-smallcheck/0.5.2/hs MD5SUM="c3274cda4fa076dc9d25b2f1a9aa1dca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-HUnit haskell-call-stack haskell-hspec-core haskell-smallcheck" +REQUIRES="haskell-hspec-core haskell-smallcheck" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hspec/haskell-hspec.SlackBuild b/haskell/haskell-hspec/haskell-hspec.SlackBuild index 879eef9c8e..18ded438b1 100644 --- a/haskell/haskell-hspec/haskell-hspec.SlackBuild +++ b/haskell/haskell-hspec/haskell-hspec.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hspec -VERSION=${VERSION:-2.5.8} +VERSION=${VERSION:-2.9.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-hspec/haskell-hspec.info b/haskell/haskell-hspec/haskell-hspec.info index f953946ee3..2fe8b221c2 100644 --- a/haskell/haskell-hspec/haskell-hspec.info +++ b/haskell/haskell-hspec/haskell-hspec.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hspec" -VERSION="2.5.8" +VERSION="2.9.4" HOMEPAGE="https://hackage.haskell.org/package/hspec" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec/2.5.8/hspec-2.5.8.tar.gz" -MD5SUM="a32d8769cb2b34ac776ccfd381b4762c" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hspec/2.9.4/hspec-2.9.4.tar.gz" +MD5SUM="3977f0b944d7d276126c2c2ddccfec77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hspec-core haskell-hspec-discover haskell-hsp haskell-QuickCheck" +REQUIRES="haskell-hspec-core haskell-hspec-discover haskell-hsp" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-http-api-data/README b/haskell/haskell-http-api-data/README deleted file mode 100644 index 44bc9a13f6..0000000000 --- a/haskell/haskell-http-api-data/README +++ /dev/null @@ -1,6 +0,0 @@ -This package defines typeclasses used for converting Haskell data -types to and from HTTP API data like URL pieces, headers and query -parameters. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-http-api-data/haskell-http-api-data.info b/haskell/haskell-http-api-data/haskell-http-api-data.info deleted file mode 100644 index de10722ab5..0000000000 --- a/haskell/haskell-http-api-data/haskell-http-api-data.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-http-api-data" -VERSION="0.3.10" -HOMEPAGE="https://hackage.haskell.org/package/http-api-data" -DOWNLOAD="https://hackage.haskell.org/packages/archive/http-api-data/0.3.10/http-api-data-0.3.10.tar.gz" -MD5SUM="e695bc2a36a4aaa0bfbce4ebdd483c50" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-attoparsec haskell-attoparsec-iso8601 haskell-cookie haskell-hashable haskell-http-types haskell-semigroups haskell-time-locale-compat haskell-unordered-containers haskell-uuid-types" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild b/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild index 52868235d1..ed8071365b 100644 --- a/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild +++ b/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-http-client-tls -VERSION=${VERSION:-0.3.5.3} +VERSION=${VERSION:-0.3.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-http-client-tls/haskell-http-client-tls.info b/haskell/haskell-http-client-tls/haskell-http-client-tls.info index 516cd0f535..e0c6b012c2 100644 --- a/haskell/haskell-http-client-tls/haskell-http-client-tls.info +++ b/haskell/haskell-http-client-tls/haskell-http-client-tls.info @@ -1,10 +1,10 @@ PRGNAM="haskell-http-client-tls" -VERSION="0.3.5.3" +VERSION="0.3.6.1" HOMEPAGE="https://hackage.haskell.org/package/http-client-tls" -DOWNLOAD="https://hackage.haskell.org/packages/archive/http-client-tls/0.3.5.3/http-client-tls-0.3.5.3.tar.gz" -MD5SUM="e6fcaf662568396d9e385e8a6373bc32" +DOWNLOAD="https://hackage.haskell.org/packages/archive/http-client-tls/0.3.6.1/http-client-tls-0.3.6.1.tar.gz" +MD5SUM="29913b99fd5b144c8992bf31db11bbbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-connection haskell-data-default-class haskell-http-client haskell-network haskell-tls" +REQUIRES="haskell-connection haskell-http-client" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-http-client/haskell-http-client.SlackBuild b/haskell/haskell-http-client/haskell-http-client.SlackBuild index 9b1931ddf1..f065309d9e 100644 --- a/haskell/haskell-http-client/haskell-http-client.SlackBuild +++ b/haskell/haskell-http-client/haskell-http-client.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-http-client -VERSION=${VERSION:-0.5.13.1} +VERSION=${VERSION:-0.7.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-http-client/haskell-http-client.info b/haskell/haskell-http-client/haskell-http-client.info index a7f6d9515c..32e5580339 100644 --- a/haskell/haskell-http-client/haskell-http-client.info +++ b/haskell/haskell-http-client/haskell-http-client.info @@ -1,10 +1,10 @@ PRGNAM="haskell-http-client" -VERSION="0.5.13.1" +VERSION="0.7.11" HOMEPAGE="https://hackage.haskell.org/package/http-client" -DOWNLOAD="https://hackage.haskell.org/packages/archive/http-client/0.5.13.1/http-client-0.5.13.1.tar.gz" -MD5SUM="21a0346e1b3a293e6cb480a67a4847b5" +DOWNLOAD="https://hackage.haskell.org/packages/archive/http-client/0.7.11/http-client-0.7.11.tar.gz" +MD5SUM="b38b457d724641147f3fb485645f2921" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base64-bytestring haskell-blaze-builder haskell-case-insensitive haskell-cookie haskell-data-default-class haskell-http-types haskell-memory haskell-mime-types haskell-network haskell-network-uri haskell-publicsuffixlist haskell-random haskell-streaming-commons" +REQUIRES="haskell-base64-bytestring haskell-cookie haskell-http-types haskell-memory haskell-mime-types haskell-network-uri haskell-publicsuffixlist haskell-streaming-commons haskell-iproute" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild b/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild index 5dded3db75..10a09b23ca 100644 --- a/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild +++ b/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-http-conduit -VERSION=${VERSION:-2.3.2} +VERSION=${VERSION:-2.3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-http-conduit/haskell-http-conduit.info b/haskell/haskell-http-conduit/haskell-http-conduit.info index 47f2d3e3d5..6abd963425 100644 --- a/haskell/haskell-http-conduit/haskell-http-conduit.info +++ b/haskell/haskell-http-conduit/haskell-http-conduit.info @@ -1,10 +1,10 @@ PRGNAM="haskell-http-conduit" -VERSION="2.3.2" +VERSION="2.3.8" HOMEPAGE="https://hackage.haskell.org/package/http-conduit" -DOWNLOAD="https://hackage.haskell.org/packages/archive/http-conduit/2.3.2/http-conduit-2.3.2.tar.gz" -MD5SUM="6b072238f1acf3fb460dbde12481fcff" +DOWNLOAD="https://hackage.haskell.org/packages/archive/http-conduit/2.3.8/http-conduit-2.3.8.tar.gz" +MD5SUM="1bab328b76977035e0a512b5a29945e9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-conduit haskell-conduit-extra haskell-http-client haskell-http-client-tls haskell-http-types haskell-resourcet haskell-unliftio-core haskell-void" +REQUIRES="haskell-aeson haskell-conduit-extra haskell-http-client-tls" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hxt/haskell-hxt.SlackBuild b/haskell/haskell-hxt/haskell-hxt.SlackBuild index 1270fa59b9..35c6641e39 100644 --- a/haskell/haskell-hxt/haskell-hxt.SlackBuild +++ b/haskell/haskell-hxt/haskell-hxt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-hxt -VERSION=${VERSION:-9.3.1.16} +VERSION=${VERSION:-9.3.1.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-hxt/haskell-hxt.info b/haskell/haskell-hxt/haskell-hxt.info index 450da0d8cc..8b31a11085 100644 --- a/haskell/haskell-hxt/haskell-hxt.info +++ b/haskell/haskell-hxt/haskell-hxt.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hxt" -VERSION="9.3.1.16" +VERSION="9.3.1.22" HOMEPAGE="https://hackage.haskell.org/package/hxt" -DOWNLOAD="https://hackage.haskell.org/packages/archive/hxt/9.3.1.16/hxt-9.3.1.16.tar.gz" -MD5SUM="b29bfffe122fe11edfa6263489030706" +DOWNLOAD="https://hackage.haskell.org/packages/archive/hxt/9.3.1.22/hxt-9.3.1.22.tar.gz" +MD5SUM="967c67c50cac95c532dbb5b7fa53968e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-HUnit haskell-hxt-charproperties haskell-hxt-unicode haskell-hxt-regex-xmlschema haskell-network-uri" +REQUIRES="haskell-HUnit haskell-hxt-unicode haskell-hxt-regex-xmlschema haskell-network-uri" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-exceptions/README b/haskell/haskell-indexed-traversable-instances/README index e7bdb40f31..830efa5ffc 100644 --- a/haskell/haskell-exceptions/README +++ b/haskell/haskell-indexed-traversable-instances/README @@ -1,5 +1,5 @@ -This Haskell module supports monads that can throw extensible -exceptions. +More instances of FunctorWithIndex, FoldableWithIndex, +TraversableWithIndex After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-indexed-traversable-instances/doinst.sh b/haskell/haskell-indexed-traversable-instances/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-indexed-traversable-instances/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-indexed-traversable-instances/haskell-indexed-traversable-instances.SlackBuild b/haskell/haskell-indexed-traversable-instances/haskell-indexed-traversable-instances.SlackBuild new file mode 100644 index 0000000000..ab5acc01c7 --- /dev/null +++ b/haskell/haskell-indexed-traversable-instances/haskell-indexed-traversable-instances.SlackBuild @@ -0,0 +1,126 @@ +#!/bin/bash + +# Slackware build script for haskell-indexed-traversable-instances + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# Copyright 2024 Andrew Clemons, Tokyo Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-indexed-traversable-instances +VERSION=${VERSION:-0.1.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changelog.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-indexed-traversable-instances/haskell-indexed-traversable-instances.info b/haskell/haskell-indexed-traversable-instances/haskell-indexed-traversable-instances.info new file mode 100644 index 0000000000..31647b378e --- /dev/null +++ b/haskell/haskell-indexed-traversable-instances/haskell-indexed-traversable-instances.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-indexed-traversable-instances" +VERSION="0.1.1.1" +HOMEPAGE="https://hackage.haskell.org/package/indexed-traversable-instances" +DOWNLOAD="https://hackage.haskell.org/package/indexed-traversable-instances-0.1.1.1/indexed-traversable-instances-0.1.1.1.tar.gz" +MD5SUM="cb6a9c30e3864e20f3c95b2c21872997" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-OneTuple haskell-indexed-traversable haskell-vector" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-indexed-traversable-instances/slack-desc b/haskell/haskell-indexed-traversable-instances/slack-desc new file mode 100644 index 0000000000..52e739e286 --- /dev/null +++ b/haskell/haskell-indexed-traversable-instances/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-indexed-traversable-instances: haskell-indexed-traversable-instances (more instances of functor) +haskell-indexed-traversable-instances: +haskell-indexed-traversable-instances: This package provides extra instances for type-classes in the +haskell-indexed-traversable-instances: indexed-traversable package. +haskell-indexed-traversable-instances: +haskell-indexed-traversable-instances: https://hackage.haskell.org/package/indexed-traversable-instances +haskell-indexed-traversable-instances: +haskell-indexed-traversable-instances: +haskell-indexed-traversable-instances: +haskell-indexed-traversable-instances: +haskell-indexed-traversable-instances: diff --git a/haskell/haskell-indexed-traversable/README b/haskell/haskell-indexed-traversable/README new file mode 100644 index 0000000000..96c2f48a17 --- /dev/null +++ b/haskell/haskell-indexed-traversable/README @@ -0,0 +1,4 @@ +FunctorWithIndex, FoldableWithIndex, TraversableWithIndex + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-indexed-traversable/doinst.sh b/haskell/haskell-indexed-traversable/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-indexed-traversable/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-indexed-traversable/haskell-indexed-traversable.SlackBuild b/haskell/haskell-indexed-traversable/haskell-indexed-traversable.SlackBuild new file mode 100644 index 0000000000..b505926d03 --- /dev/null +++ b/haskell/haskell-indexed-traversable/haskell-indexed-traversable.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-indexed-traversable + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-indexed-traversable +VERSION=${VERSION:-0.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changelog.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-indexed-traversable/haskell-indexed-traversable.info b/haskell/haskell-indexed-traversable/haskell-indexed-traversable.info new file mode 100644 index 0000000000..98445e95f4 --- /dev/null +++ b/haskell/haskell-indexed-traversable/haskell-indexed-traversable.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-indexed-traversable" +VERSION="0.1.2" +HOMEPAGE="https://hackage.haskell.org/package/indexed-traversable" +DOWNLOAD="https://hackage.haskell.org/package/indexed-traversable-0.1.2/indexed-traversable-0.1.2.tar.gz" +MD5SUM="4213af572c592a9a21e73bf3d376c362" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-void haskell-generic-deriving" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-indexed-traversable/slack-desc b/haskell/haskell-indexed-traversable/slack-desc new file mode 100644 index 0000000000..e19b4132f1 --- /dev/null +++ b/haskell/haskell-indexed-traversable/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-indexed-traversable: haskell-indexed-traversable (traversables with index) +haskell-indexed-traversable: +haskell-indexed-traversable: This package provides three useful generalizations: FunctorWithIndex, +haskell-indexed-traversable: FoldableWithIndex, TraversableWithIndex +haskell-indexed-traversable: +haskell-indexed-traversable: +haskell-indexed-traversable: https://hackage.haskell.org/package/indexed-traversable +haskell-indexed-traversable: +haskell-indexed-traversable: +haskell-indexed-traversable: +haskell-indexed-traversable: diff --git a/haskell/haskell-iproute/README b/haskell/haskell-iproute/README new file mode 100644 index 0000000000..f1cecfda1e --- /dev/null +++ b/haskell/haskell-iproute/README @@ -0,0 +1,4 @@ +IP Routing Table + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-iproute/doinst.sh b/haskell/haskell-iproute/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-iproute/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-stack/haskell-stack.SlackBuild b/haskell/haskell-iproute/haskell-iproute.SlackBuild index 7674ec7537..62dd872747 100644 --- a/haskell/haskell-stack/haskell-stack.SlackBuild +++ b/haskell/haskell-iproute/haskell-iproute.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-stack +# Slackware build script for haskell-iproute -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2021 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-stack -VERSION=${VERSION:-1.7.1} +PRGNAM=haskell-iproute +VERSION=${VERSION:-1.7.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -107,7 +107,9 @@ 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/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-iproute/haskell-iproute.info b/haskell/haskell-iproute/haskell-iproute.info new file mode 100644 index 0000000000..57761041b3 --- /dev/null +++ b/haskell/haskell-iproute/haskell-iproute.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-iproute" +VERSION="1.7.12" +HOMEPAGE="https://hackage.haskell.org/package/iproute" +DOWNLOAD="https://hackage.haskell.org/package/iproute-1.7.12/iproute-1.7.12.tar.gz" +MD5SUM="4f5a74551f68c9d37bfcd2e921a79379" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-byteorder haskell-network haskell-appar" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-iproute/slack-desc b/haskell/haskell-iproute/slack-desc new file mode 100644 index 0000000000..1dbf10a403 --- /dev/null +++ b/haskell/haskell-iproute/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-iproute: haskell-iproute (IP Routing Table) +haskell-iproute: +haskell-iproute: IP Routing Table is a tree of IP ranges to search one of them on the +haskell-iproute: longest match base. It is a kind of TRIE with one way branching +haskell-iproute: removed. Both IPv4 and IPv6 are supported. +haskell-iproute: +haskell-iproute: https://hackage.haskell.org/package/iproute +haskell-iproute: +haskell-iproute: +haskell-iproute: +haskell-iproute: diff --git a/haskell/haskell-ipynb/README b/haskell/haskell-ipynb/README new file mode 100644 index 0000000000..75f059b6e8 --- /dev/null +++ b/haskell/haskell-ipynb/README @@ -0,0 +1,4 @@ +ta structure for working with Jupyter notebooks (ipynb). + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-ipynb/doinst.sh b/haskell/haskell-ipynb/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-ipynb/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-ipynb/haskell-ipynb.SlackBuild b/haskell/haskell-ipynb/haskell-ipynb.SlackBuild new file mode 100644 index 0000000000..d253a59b2c --- /dev/null +++ b/haskell/haskell-ipynb/haskell-ipynb.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-ipynb + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-ipynb +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changelog.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-ipynb/haskell-ipynb.info b/haskell/haskell-ipynb/haskell-ipynb.info new file mode 100644 index 0000000000..911f363297 --- /dev/null +++ b/haskell/haskell-ipynb/haskell-ipynb.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-ipynb" +VERSION="0.2" +HOMEPAGE="https://hackage.haskell.org/package/ipynb" +DOWNLOAD="https://hackage.haskell.org/package/ipynb-0.2/ipynb-0.2.tar.gz" +MD5SUM="77cfc8193d256dd01d27cbc4f25eca5a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-aeson haskell-base64-bytestring" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-ipynb/slack-desc b/haskell/haskell-ipynb/slack-desc new file mode 100644 index 0000000000..eb75a30c0e --- /dev/null +++ b/haskell/haskell-ipynb/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-ipynb: haskell-ipynb (Data structure for Jupyter notebooks (ipynb)) +haskell-ipynb: +haskell-ipynb: ipynb defines a data structure for representing Jupyter notebooks, +haskell-ipynb: along with ToJSON and FromJSON instances for conversion to and from +haskell-ipynb: JSON .ipynb files. +haskell-ipynb: +haskell-ipynb: https://hackage.haskell.org/package/ipynb +haskell-ipynb: +haskell-ipynb: +haskell-ipynb: +haskell-ipynb: diff --git a/haskell/haskell-jira-wiki-markup/README b/haskell/haskell-jira-wiki-markup/README new file mode 100644 index 0000000000..360aa03f1e --- /dev/null +++ b/haskell/haskell-jira-wiki-markup/README @@ -0,0 +1,4 @@ +Handle Jira wiki markup + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-jira-wiki-markup/doinst.sh b/haskell/haskell-jira-wiki-markup/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-jira-wiki-markup/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-jira-wiki-markup/haskell-jira-wiki-markup.SlackBuild b/haskell/haskell-jira-wiki-markup/haskell-jira-wiki-markup.SlackBuild new file mode 100644 index 0000000000..025d541047 --- /dev/null +++ b/haskell/haskell-jira-wiki-markup/haskell-jira-wiki-markup.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-jira-wiki-markup + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-jira-wiki-markup +VERSION=${VERSION:-1.4.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-jira-wiki-markup/haskell-jira-wiki-markup.info b/haskell/haskell-jira-wiki-markup/haskell-jira-wiki-markup.info new file mode 100644 index 0000000000..66d181cb5d --- /dev/null +++ b/haskell/haskell-jira-wiki-markup/haskell-jira-wiki-markup.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-jira-wiki-markup" +VERSION="1.4.0" +HOMEPAGE="https://hackage.haskell.org/package/jira-wiki-markup" +DOWNLOAD="https://hackage.haskell.org/package/jira-wiki-markup-1.4.0/jira-wiki-markup-1.4.0.tar.gz" +MD5SUM="3a3cfcf77e4f3ea27f4190703f0d4407" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-jira-wiki-markup/slack-desc b/haskell/haskell-jira-wiki-markup/slack-desc new file mode 100644 index 0000000000..3bacb3a04f --- /dev/null +++ b/haskell/haskell-jira-wiki-markup/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-jira-wiki-markup: haskell-jira-wiki-markup (Handle Jira wiki markup) +haskell-jira-wiki-markup: +haskell-jira-wiki-markup: Parse jira wiki text into an abstract syntax tree for easy +haskell-jira-wiki-markup: transformation to other formats. +haskell-jira-wiki-markup: +haskell-jira-wiki-markup: https://hackage.haskell.org/package/jira-wiki-markup +haskell-jira-wiki-markup: +haskell-jira-wiki-markup: +haskell-jira-wiki-markup: +haskell-jira-wiki-markup: +haskell-jira-wiki-markup: diff --git a/haskell/haskell-lexer/haskell-lexer.SlackBuild b/haskell/haskell-lexer/haskell-lexer.SlackBuild index 9622a8f9ef..1f7269c3d2 100644 --- a/haskell/haskell-lexer/haskell-lexer.SlackBuild +++ b/haskell/haskell-lexer/haskell-lexer.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-lexer SRCNAM=$PRGNAM -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-lexer/haskell-lexer.info b/haskell/haskell-lexer/haskell-lexer.info index e412731433..1c7697a07f 100644 --- a/haskell/haskell-lexer/haskell-lexer.info +++ b/haskell/haskell-lexer/haskell-lexer.info @@ -1,8 +1,8 @@ PRGNAM="haskell-lexer" -VERSION="1.0.2" +VERSION="1.1" HOMEPAGE="https://hackage.haskell.org/package/haskell-lexer" -DOWNLOAD="https://hackage.haskell.org/packages/archive/haskell-lexer/1.0.2/haskell-lexer-1.0.2.tar.gz" -MD5SUM="7c8df43fb67a9e58459fbbf0b902121c" +DOWNLOAD="https://hackage.haskell.org/packages/archive/haskell-lexer/1.1/haskell-lexer-1.1.tar.gz" +MD5SUM="460334be2c67197f5daac0f9b40daf78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-libyaml/haskell-libyaml.info b/haskell/haskell-libyaml/haskell-libyaml.info index cfe8f31880..b11e31fc56 100644 --- a/haskell/haskell-libyaml/haskell-libyaml.info +++ b/haskell/haskell-libyaml/haskell-libyaml.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/libyaml/0.1.0.0/libyaml-0 MD5SUM="17c74ac9ab8957c1e3fe8a6263d2f7b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-conduit haskell-resourcet" +REQUIRES="haskell-conduit" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild b/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild index f6dac53f07..068a83809b 100644 --- a/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild +++ b/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-lifted-async -VERSION=${VERSION:-0.10.0.3} +VERSION=${VERSION:-0.10.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-lifted-async/haskell-lifted-async.info b/haskell/haskell-lifted-async/haskell-lifted-async.info index e927de2ab8..7a0b6d5473 100644 --- a/haskell/haskell-lifted-async/haskell-lifted-async.info +++ b/haskell/haskell-lifted-async/haskell-lifted-async.info @@ -1,10 +1,10 @@ PRGNAM="haskell-lifted-async" -VERSION="0.10.0.3" +VERSION="0.10.2.2" HOMEPAGE="https://hackage.haskell.org/package/lifted-async" -DOWNLOAD="https://hackage.haskell.org/packages/archive/lifted-async/0.10.0.3/lifted-async-0.10.0.3.tar.gz" -MD5SUM="1573cdf178a08b7dc01108b2044915c1" +DOWNLOAD="https://hackage.haskell.org/packages/archive/lifted-async/0.10.2.2/lifted-async-0.10.2.2.tar.gz" +MD5SUM="eead6e0a6751ff5c6cfdba93d7c18d92" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-constraints haskell-lifted-base haskell-monad-control haskell-transformers-base" +REQUIRES="haskell-async haskell-constraints haskell-lifted-base" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-lifted-base/haskell-lifted-base.info b/haskell/haskell-lifted-base/haskell-lifted-base.info index 36393d6dd7..f01a793eaa 100644 --- a/haskell/haskell-lifted-base/haskell-lifted-base.info +++ b/haskell/haskell-lifted-base/haskell-lifted-base.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/lifted-base/0.2.3.12/lift MD5SUM="fc74e75a2d8ab5171f801ba80c86ab82" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-monad-control haskell-transformers-base" +REQUIRES="haskell-monad-control" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-logict/haskell-logict.SlackBuild b/haskell/haskell-logict/haskell-logict.SlackBuild index fcebf724cb..2bbb2f070d 100644 --- a/haskell/haskell-logict/haskell-logict.SlackBuild +++ b/haskell/haskell-logict/haskell-logict.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-logict -VERSION=${VERSION:-0.6.0.2} +VERSION=${VERSION:-0.7.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-logict/haskell-logict.info b/haskell/haskell-logict/haskell-logict.info index 431333b157..8a22ee4790 100644 --- a/haskell/haskell-logict/haskell-logict.info +++ b/haskell/haskell-logict/haskell-logict.info @@ -1,8 +1,8 @@ PRGNAM="haskell-logict" -VERSION="0.6.0.2" +VERSION="0.7.1.0" HOMEPAGE="https://hackage.haskell.org/package/logict" -DOWNLOAD="https://hackage.haskell.org/packages/archive/logict/0.6.0.2/logict-0.6.0.2.tar.gz" -MD5SUM="16fe12fb9b940fb4b2a12f761a80ddc3" +DOWNLOAD="https://hackage.haskell.org/packages/archive/logict/0.7.1.0/logict-0.7.1.0.tar.gz" +MD5SUM="9477659ff05d5bf4327e7f7a95f65869" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-lpeg/README b/haskell/haskell-lpeg/README new file mode 100644 index 0000000000..9305ee7e1f --- /dev/null +++ b/haskell/haskell-lpeg/README @@ -0,0 +1,4 @@ +LPeg – Parsing Expression Grammars For Lua + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-lpeg/doinst.sh b/haskell/haskell-lpeg/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-lpeg/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-lpeg/haskell-lpeg.SlackBuild b/haskell/haskell-lpeg/haskell-lpeg.SlackBuild new file mode 100644 index 0000000000..340bb24772 --- /dev/null +++ b/haskell/haskell-lpeg/haskell-lpeg.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-lpeg + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-lpeg +VERSION=${VERSION:-1.0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-lpeg/haskell-lpeg.info b/haskell/haskell-lpeg/haskell-lpeg.info new file mode 100644 index 0000000000..7b2cd58ada --- /dev/null +++ b/haskell/haskell-lpeg/haskell-lpeg.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-lpeg" +VERSION="1.0.2" +HOMEPAGE="https://hackage.haskell.org/package/lpeg" +DOWNLOAD="https://hackage.haskell.org/package/lpeg-1.0.2/lpeg-1.0.2.tar.gz" +MD5SUM="a09cf3f8cc64f72f614a955605f7c259" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-lua" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-lpeg/slack-desc b/haskell/haskell-lpeg/slack-desc new file mode 100644 index 0000000000..0227d76584 --- /dev/null +++ b/haskell/haskell-lpeg/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-lpeg: haskell-lpeg (LPeg - Parsing Expression Grammars For Lua) +haskell-lpeg: +haskell-lpeg: This package contains the C sources of LPeg, as well as some tiny +haskell-lpeg: Haskell helper to load the package. +haskell-lpeg: +haskell-lpeg: https://hackage.haskell.org/package/lpeg +haskell-lpeg: +haskell-lpeg: +haskell-lpeg: +haskell-lpeg: +haskell-lpeg: diff --git a/haskell/haskell-lua/README b/haskell/haskell-lua/README new file mode 100644 index 0000000000..e2d6e47d98 --- /dev/null +++ b/haskell/haskell-lua/README @@ -0,0 +1,4 @@ +Lua, an embeddable scripting language + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-lua/doinst.sh b/haskell/haskell-lua/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-lua/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-lua/haskell-lua.SlackBuild b/haskell/haskell-lua/haskell-lua.SlackBuild new file mode 100644 index 0000000000..bf9e412857 --- /dev/null +++ b/haskell/haskell-lua/haskell-lua.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-lua + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-lua +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-lua/haskell-lua.info b/haskell/haskell-lua/haskell-lua.info new file mode 100644 index 0000000000..aabae31c7a --- /dev/null +++ b/haskell/haskell-lua/haskell-lua.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-lua" +VERSION="2.1.0" +HOMEPAGE="https://hackage.haskell.org/package/lua" +DOWNLOAD="https://hackage.haskell.org/package/lua-2.1.0/lua-2.1.0.tar.gz" +MD5SUM="8b2c1d58b5e254f9b638a65670e73cea" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-lua/slack-desc b/haskell/haskell-lua/slack-desc new file mode 100644 index 0000000000..bb997f4f66 --- /dev/null +++ b/haskell/haskell-lua/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-lua: haskell-lua (Lua, an embeddable scripting language) +haskell-lua: +haskell-lua: This package provides bindings and types to bridge Haskell and Lua. +haskell-lua: +haskell-lua: https://hackage.haskell.org/package/lua +haskell-lua: +haskell-lua: +haskell-lua: +haskell-lua: +haskell-lua: +haskell-lua: diff --git a/haskell/haskell-lukko/README b/haskell/haskell-lukko/README new file mode 100644 index 0000000000..a6308e31d9 --- /dev/null +++ b/haskell/haskell-lukko/README @@ -0,0 +1,13 @@ +lukko: File locking + +This package provides access to platform dependent file locking APIs: + +Open file descriptor locking on Linux (Lukko.OFD) +BSD-style flock(2) locks on UNIX platforms (Lukko.FLock) +Windows locking via LockFileEx (Lukko.Windows) +No-op locking, which throws exceptions (Lukko.NoOp) +Lukko module exports the best option for the target platform with +uniform API. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-lukko/doinst.sh b/haskell/haskell-lukko/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-lukko/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-lukko/douninst.sh b/haskell/haskell-lukko/douninst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-lukko/douninst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-persistent-template/haskell-persistent-template.SlackBuild b/haskell/haskell-lukko/haskell-lukko.SlackBuild index 5e5bfa2d65..cc407cb138 100644 --- a/haskell/haskell-persistent-template/haskell-persistent-template.SlackBuild +++ b/haskell/haskell-lukko/haskell-lukko.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-persistent-template +# Slackware build script for haskell-lukko -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2023, Lockywolf # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-persistent-template -VERSION=${VERSION:-2.5.4} +PRGNAM=haskell-lukko +VERSION=${VERSION:-0.1.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,8 +83,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Remove bogus upper version constraint on aeson -sed -i -E 's/(aeson *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $SRCNAM.cabal +# Remove bogus upper version constraint on process +sed -i -E 's/(process *>= *[0-9.]+ *)\&\& *<=* *[0-9.]+/\1/' $SRCNAM.cabal CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -110,12 +110,13 @@ 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/$PRGNAM-$VERSION -cp -a ChangeLog.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE LICENSE.GPLv2 LICENSE.GPLv3 $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/douninst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-lukko/haskell-lukko.info b/haskell/haskell-lukko/haskell-lukko.info new file mode 100644 index 0000000000..2ed2cc3bb7 --- /dev/null +++ b/haskell/haskell-lukko/haskell-lukko.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-lukko" +VERSION="0.1.1.3" +HOMEPAGE="https://hackage.haskell.org/package/lukko" +DOWNLOAD="https://hackage.haskell.org/packages/archive/lukko/0.1.1.3/lukko-0.1.1.3.tar.gz" +MD5SUM="ceb03f7468348c22dd1cfd67d8397f2d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.haskell-lukko_2023-09-22@lockywolf.net" diff --git a/haskell/haskell-store/slack-desc b/haskell/haskell-lukko/slack-desc index 6a2d29c3ce..838bef3f59 100644 --- a/haskell/haskell-store/slack-desc +++ b/haskell/haskell-lukko/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-store: haskell-store (Fast binary serialization) -haskell-store: -haskell-store: The 'store' package provides efficient binary serialization. -haskell-store: -haskell-store: -haskell-store: -haskell-store: -haskell-store: -haskell-store: -haskell-store: -haskell-store: +haskell-lukko: haskell-lukko (File locking for haskell) +haskell-lukko: +haskell-lukko: This package provides access to platform dependent file locking +haskell-lukko: APIs. +haskell-lukko: +haskell-lukko: +haskell-lukko: +haskell-lukko: +haskell-lukko: +haskell-lukko: +haskell-lukko: diff --git a/haskell/haskell-megaparsec/README b/haskell/haskell-megaparsec/README deleted file mode 100644 index 9b73bca1ca..0000000000 --- a/haskell/haskell-megaparsec/README +++ /dev/null @@ -1,6 +0,0 @@ -This is an industrial-strength monadic parser combinator -library. Megaparsec is a feature-rich package that strikes a nice -balance between speed, flexibility, and quality of parse errors. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-megaparsec/haskell-megaparsec.info b/haskell/haskell-megaparsec/haskell-megaparsec.info deleted file mode 100644 index 0820210b02..0000000000 --- a/haskell/haskell-megaparsec/haskell-megaparsec.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-megaparsec" -VERSION="7.0.2" -HOMEPAGE="https://hackage.haskell.org/package/megaparsec" -DOWNLOAD="https://hackage.haskell.org/packages/archive/megaparsec/7.0.2/megaparsec-7.0.2.tar.gz" -MD5SUM="05f6a7304df8a9fd26242e7046db9598" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-case-insensitive haskell-fail haskell-parser-combinators haskell-scientific haskell-semigroups haskell-void" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-memory/README b/haskell/haskell-memory/README index de98b8ac92..10ea3e320b 100644 --- a/haskell/haskell-memory/README +++ b/haskell/haskell-memory/README @@ -2,7 +2,8 @@ haskell-memory (memory management and manipulation) Chunk of memory, polymorphic byte array management and manipulation. -- Polymorphic byte array abstraction and function similar to strict ByteString +- Polymorphic byte array abstraction and function similar to strict + ByteString - Different types of byte array abstraction - Raw memory IO operations (memory set, memory copy, ..) - Aliasing with endianness support diff --git a/haskell/haskell-memory/haskell-memory.SlackBuild b/haskell/haskell-memory/haskell-memory.SlackBuild index 483019bce6..0d39922b7c 100644 --- a/haskell/haskell-memory/haskell-memory.SlackBuild +++ b/haskell/haskell-memory/haskell-memory.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-memory -VERSION=${VERSION:-0.14.18} +VERSION=${VERSION:-0.16.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-memory/haskell-memory.info b/haskell/haskell-memory/haskell-memory.info index ec80a2d466..1019e29baa 100644 --- a/haskell/haskell-memory/haskell-memory.info +++ b/haskell/haskell-memory/haskell-memory.info @@ -1,8 +1,8 @@ PRGNAM="haskell-memory" -VERSION="0.14.18" +VERSION="0.16.0" HOMEPAGE="https://hackage.haskell.org/package/memory" -DOWNLOAD="https://hackage.haskell.org/package/memory-0.14.18/memory-0.14.18.tar.gz" -MD5SUM="8f243b636e65e0c1e40433f47a8c1cfd" +DOWNLOAD="https://hackage.haskell.org/package/memory-0.16.0/memory-0.16.0.tar.gz" +MD5SUM="2dd24be4d91095f68fa6997d369d493b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-foundation" diff --git a/haskell/haskell-microlens-mtl/README b/haskell/haskell-microlens-mtl/README new file mode 100644 index 0000000000..e5d06c7bc4 --- /dev/null +++ b/haskell/haskell-microlens-mtl/README @@ -0,0 +1,4 @@ +microlens support for Reader/Writer/State from mtl + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-microlens-mtl/doinst.sh b/haskell/haskell-microlens-mtl/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-microlens-mtl/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-microlens-mtl/haskell-microlens-mtl.SlackBuild b/haskell/haskell-microlens-mtl/haskell-microlens-mtl.SlackBuild new file mode 100644 index 0000000000..467c9aa907 --- /dev/null +++ b/haskell/haskell-microlens-mtl/haskell-microlens-mtl.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for haskell-microlens-mtl + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# Copyright 2023 Andrew Clemons, Tokyo Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-microlens-mtl +VERSION=${VERSION:-0.2.0.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-microlens-mtl/haskell-microlens-mtl.info b/haskell/haskell-microlens-mtl/haskell-microlens-mtl.info new file mode 100644 index 0000000000..27feaa9124 --- /dev/null +++ b/haskell/haskell-microlens-mtl/haskell-microlens-mtl.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-microlens-mtl" +VERSION="0.2.0.3" +HOMEPAGE="https://hackage.haskell.org/package/microlens-mtl" +DOWNLOAD="https://hackage.haskell.org/package/microlens-mtl-0.2.0.3/microlens-mtl-0.2.0.3.tar.gz" +MD5SUM="972ff6fab28b488eab22627998cdbbee" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-microlens haskell-transformers-compat" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-cabal-install/slack-desc b/haskell/haskell-microlens-mtl/slack-desc index 2c231d5f86..fc0b88933f 100644 --- a/haskell/haskell-cabal-install/slack-desc +++ b/haskell/haskell-microlens-mtl/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-cabal-install: haskell-cabal-install (Haskell installer) -haskell-cabal-install: -haskell-cabal-install: The 'cabal' command-line program simplifies the process of managing -haskell-cabal-install: Haskell software by automating the fetching, configuration, -haskell-cabal-install: compilation and installation of Haskell libraries and programs. -haskell-cabal-install: -haskell-cabal-install: -haskell-cabal-install: -haskell-cabal-install: -haskell-cabal-install: -haskell-cabal-install: +haskell-microlens-mtl: haskell-microlens-mtl (Fixpoint data types) +haskell-microlens-mtl: +haskell-microlens-mtl: This package contains functions (like view or +=) which work on +haskell-microlens-mtl: MonadReader, MonadWriter, and MonadState from the mtl package. +haskell-microlens-mtl: +haskell-microlens-mtl: https://hackage.haskell.org/package/microlens-mtl +haskell-microlens-mtl: +haskell-microlens-mtl: +haskell-microlens-mtl: +haskell-microlens-mtl: +haskell-microlens-mtl: diff --git a/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild b/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild index ef6e5d4f34..7099b5b30f 100644 --- a/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild +++ b/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-microlens-th -VERSION=${VERSION:-0.4.2.3} +VERSION=${VERSION:-0.4.3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-microlens-th/haskell-microlens-th.info b/haskell/haskell-microlens-th/haskell-microlens-th.info index 40be4aa3f0..7cdb90d9bc 100644 --- a/haskell/haskell-microlens-th/haskell-microlens-th.info +++ b/haskell/haskell-microlens-th/haskell-microlens-th.info @@ -1,8 +1,8 @@ PRGNAM="haskell-microlens-th" -VERSION="0.4.2.3" +VERSION="0.4.3.10" HOMEPAGE="https://hackage.haskell.org/package/microlens-th" -DOWNLOAD="https://hackage.haskell.org/packages/archive/microlens-th/0.4.2.3/microlens-th-0.4.2.3.tar.gz" -MD5SUM="dd508ef68c02103125e7072db2e9b6ab" +DOWNLOAD="https://hackage.haskell.org/packages/archive/microlens-th/0.4.3.10/microlens-th-0.4.3.10.tar.gz" +MD5SUM="e7b532ac5cd78fa2a747f194312bf9d7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-microlens haskell-th-abstraction" diff --git a/haskell/haskell-mmorph/haskell-mmorph.SlackBuild b/haskell/haskell-mmorph/haskell-mmorph.SlackBuild index dcd9f4d4b1..a3e9613881 100644 --- a/haskell/haskell-mmorph/haskell-mmorph.SlackBuild +++ b/haskell/haskell-mmorph/haskell-mmorph.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-mmorph -VERSION=${VERSION:-1.1.2} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-mmorph/haskell-mmorph.info b/haskell/haskell-mmorph/haskell-mmorph.info index 925aad3de8..006ea4c80c 100644 --- a/haskell/haskell-mmorph/haskell-mmorph.info +++ b/haskell/haskell-mmorph/haskell-mmorph.info @@ -1,8 +1,8 @@ PRGNAM="haskell-mmorph" -VERSION="1.1.2" +VERSION="1.2.0" HOMEPAGE="https://hackage.haskell.org/package/mmorph" -DOWNLOAD="https://hackage.haskell.org/packages/archive/mmorph/1.1.2/mmorph-1.1.2.tar.gz" -MD5SUM="88c4af196b5e32cec38f6296076263ad" +DOWNLOAD="https://hackage.haskell.org/packages/archive/mmorph/1.2.0/mmorph-1.2.0.tar.gz" +MD5SUM="3ef3e1b42932dfa563162d26fcee07c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-transformers-compat" diff --git a/haskell/haskell-monad-control/haskell-monad-control.info b/haskell/haskell-monad-control/haskell-monad-control.info index a7cdeb56bd..8f17a6de4d 100644 --- a/haskell/haskell-monad-control/haskell-monad-control.info +++ b/haskell/haskell-monad-control/haskell-monad-control.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/monad-control/1.0.2.3/mon MD5SUM="4b7ba1532ac949818947d08f2aa88d0c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-transformers-base haskell-transformers-compat" +REQUIRES="haskell-transformers-base" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild b/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild index f9606fad9c..5fcae9bf1f 100644 --- a/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild +++ b/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-monad-logger -VERSION=${VERSION:-0.3.30} +VERSION=${VERSION:-0.3.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-monad-logger/haskell-monad-logger.info b/haskell/haskell-monad-logger/haskell-monad-logger.info index df45067d17..ca1189b0af 100644 --- a/haskell/haskell-monad-logger/haskell-monad-logger.info +++ b/haskell/haskell-monad-logger/haskell-monad-logger.info @@ -1,10 +1,10 @@ PRGNAM="haskell-monad-logger" -VERSION="0.3.30" +VERSION="0.3.36" HOMEPAGE="https://hackage.haskell.org/package/monad-logger" -DOWNLOAD="https://hackage.haskell.org/packages/archive/monad-logger/0.3.30/monad-logger-0.3.30.tar.gz" -MD5SUM="dbeae51f507848210e38646dd75fd631" +DOWNLOAD="https://hackage.haskell.org/packages/archive/monad-logger/0.3.36/monad-logger-0.3.36.tar.gz" +MD5SUM="17566679e027332367e2695170f5d8b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-conduit haskell-conduit-extra haskell-exceptions haskell-fast-logger haskell-lifted-base haskell-monad-control haskell-monad-loops haskell-resourcet haskell-stm-chans haskell-transformers-base haskell-transformers-compat haskell-unliftio-core" +REQUIRES="haskell-conduit-extra haskell-fast-logger haskell-monad-loops haskell-stm-chans" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-mono-traversable/haskell-mono-traversable.info b/haskell/haskell-mono-traversable/haskell-mono-traversable.info index bba07d9f10..7e468f0213 100644 --- a/haskell/haskell-mono-traversable/haskell-mono-traversable.info +++ b/haskell/haskell-mono-traversable/haskell-mono-traversable.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/mono-traversable/1.0.9.0/ MD5SUM="cb9e881709a024ab9fcccd4baa049dc4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hashable haskell-semigroups haskell-split haskell-unordered-containers haskell-vector haskell-vector-algorithms" +REQUIRES="haskell-semigroups haskell-split haskell-vector-algorithms" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-multipart/haskell-multipart.SlackBuild b/haskell/haskell-multipart/haskell-multipart.SlackBuild index f83707adc4..eb634f5a63 100644 --- a/haskell/haskell-multipart/haskell-multipart.SlackBuild +++ b/haskell/haskell-multipart/haskell-multipart.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-multipart -VERSION=${VERSION:-0.1.3} +VERSION=${VERSION:-0.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-multipart/haskell-multipart.info b/haskell/haskell-multipart/haskell-multipart.info index fc127ba69d..eb1e3ab0af 100644 --- a/haskell/haskell-multipart/haskell-multipart.info +++ b/haskell/haskell-multipart/haskell-multipart.info @@ -1,8 +1,8 @@ PRGNAM="haskell-multipart" -VERSION="0.1.3" +VERSION="0.2.1" HOMEPAGE="https://hackage.haskell.org/package/multipart" -DOWNLOAD="https://hackage.haskell.org/package/multipart-0.1.3/multipart-0.1.3.tar.gz" -MD5SUM="daaab86476d1ff58329ae31612e9cefc" +DOWNLOAD="https://hackage.haskell.org/package/multipart-0.2.1/multipart-0.2.1.tar.gz" +MD5SUM="8c06905fc273eef7946f9346c54515ff" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-stringsearch" diff --git a/haskell/haskell-mustache/README b/haskell/haskell-mustache/README deleted file mode 100644 index b4dce4566a..0000000000 --- a/haskell/haskell-mustache/README +++ /dev/null @@ -1,5 +0,0 @@ -Allows parsing and rendering template files with mustache markup. See -the mustache language reference. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-mustache/haskell-mustache.info b/haskell/haskell-mustache/haskell-mustache.info deleted file mode 100644 index 0f0e016e5f..0000000000 --- a/haskell/haskell-mustache/haskell-mustache.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-mustache" -VERSION="2.3.0" -HOMEPAGE="https://hackage.haskell.org/package/mustache" -DOWNLOAD="https://hackage.haskell.org/packages/archive/mustache/2.3.0/mustache-2.3.0.tar.gz" -MD5SUM="778f78753e16b5f1fa2600706a262d8e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-cmdargs haskell-either haskell-scientific haskell-th-lift haskell-unordered-containers haskell-vector haskell-yaml" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-neat-interpolation/README b/haskell/haskell-neat-interpolation/README deleted file mode 100644 index 9c663f3261..0000000000 --- a/haskell/haskell-neat-interpolation/README +++ /dev/null @@ -1,7 +0,0 @@ -A quasiquoter for producing Text values with support for a simple -interpolation of input values. It removes the excessive indentation -from the input and accurately manages the indentation of all lines of -the interpolated variables. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-neat-interpolation/haskell-neat-interpolation.SlackBuild b/haskell/haskell-neat-interpolation/haskell-neat-interpolation.SlackBuild deleted file mode 100644 index d854720e02..0000000000 --- a/haskell/haskell-neat-interpolation/haskell-neat-interpolation.SlackBuild +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -# Slackware build script for haskell-neat-interpolation - -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=haskell-neat-interpolation -VERSION=${VERSION:-0.3.2.4} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -runghc Setup build -runghc Setup haddock -runghc Setup copy --destdir=$PKG -runghc Setup register --gen-pkg-config - -PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) -mkdir -p $PKG/$PKGCONFD -mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-neat-interpolation/haskell-neat-interpolation.info b/haskell/haskell-neat-interpolation/haskell-neat-interpolation.info deleted file mode 100644 index 55cb397010..0000000000 --- a/haskell/haskell-neat-interpolation/haskell-neat-interpolation.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-neat-interpolation" -VERSION="0.3.2.4" -HOMEPAGE="https://hackage.haskell.org/package/neat-interpolation" -DOWNLOAD="https://hackage.haskell.org/packages/archive/neat-interpolation/0.3.2.4/neat-interpolation-0.3.2.4.tar.gz" -MD5SUM="25f874b2eaf0758371b94e8140a4f2a4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-base-prelude haskell-megaparsec" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-neat-interpolation/slack-desc b/haskell/haskell-neat-interpolation/slack-desc deleted file mode 100644 index a6a9222aee..0000000000 --- a/haskell/haskell-neat-interpolation/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -haskell-neat-interpolation: haskell-neat-interpolation (multiline text interpolation) -haskell-neat-interpolation: -haskell-neat-interpolation: A quasiquoter for producing Text values with support for a simple -haskell-neat-interpolation: interpolation of input values. It removes the excessive indentation -haskell-neat-interpolation: from the input and accurately manages the indentation of all lines of -haskell-neat-interpolation: the interpolated variables. -haskell-neat-interpolation: -haskell-neat-interpolation: -haskell-neat-interpolation: -haskell-neat-interpolation: -haskell-neat-interpolation: diff --git a/haskell/haskell-network-bsd/README b/haskell/haskell-network-bsd/README new file mode 100644 index 0000000000..4a52e61ace --- /dev/null +++ b/haskell/haskell-network-bsd/README @@ -0,0 +1,4 @@ +POSIX network database API + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-network-bsd/doinst.sh b/haskell/haskell-network-bsd/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-network-bsd/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-network-bsd/haskell-network-bsd.SlackBuild b/haskell/haskell-network-bsd/haskell-network-bsd.SlackBuild new file mode 100644 index 0000000000..15685ec279 --- /dev/null +++ b/haskell/haskell-network-bsd/haskell-network-bsd.SlackBuild @@ -0,0 +1,121 @@ +#!/bin/bash + +# Slackware build script for haskell-base-compat-batteries + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-network-bsd +VERSION=${VERSION:-2.8.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/4.cabal > $SRCNAM.cabal +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-network-bsd/haskell-network-bsd.info b/haskell/haskell-network-bsd/haskell-network-bsd.info new file mode 100644 index 0000000000..4ea07a9fb9 --- /dev/null +++ b/haskell/haskell-network-bsd/haskell-network-bsd.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-network-bsd" +VERSION="2.8.1.0" +HOMEPAGE="https://hackage.haskell.org/package/network-bsd" +DOWNLOAD="https://hackage.haskell.org/package/network-bsd-2.8.1.0/network-bsd-2.8.1.0.tar.gz \ + https://hackage.haskell.org/package/network-bsd-2.8.1.0/revision/4.cabal" +MD5SUM="53572973c4c5d52e19bcd1a1f71593c3 \ + 407b3fb125f2712ebd277e5246b34a7b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-network" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-haskell-src/slack-desc b/haskell/haskell-network-bsd/slack-desc index dcdd64809a..5d2005f455 100644 --- a/haskell/haskell-haskell-src/slack-desc +++ b/haskell/haskell-network-bsd/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-haskell-src: haskell-haskell-src (Manipulating Haskell source code) -haskell-haskell-src: -haskell-haskell-src: Facilities for manipulating Haskell source code: an abstract syntax, -haskell-haskell-src: lexer, parser and pretty-printer. -haskell-haskell-src: -haskell-haskell-src: https://hackage.haskell.org/package/haskell-src -haskell-haskell-src: -haskell-haskell-src: -haskell-haskell-src: -haskell-haskell-src: -haskell-haskell-src: +haskell-network-bsd: haskell-network-bsd (POSIX network database API) +haskell-network-bsd: +haskell-network-bsd: This package provides Haskell bindings to the the POSIX network +haskell-network-bsd: database (netdb.h) API. +haskell-network-bsd: +haskell-network-bsd: https://hackage.haskell.org/package/network-bsd +haskell-network-bsd: +haskell-network-bsd: +haskell-network-bsd: +haskell-network-bsd: +haskell-network-bsd: diff --git a/haskell/haskell-network/haskell-network.SlackBuild b/haskell/haskell-network/haskell-network.SlackBuild index 9617ea2431..814c17f81e 100644 --- a/haskell/haskell-network/haskell-network.SlackBuild +++ b/haskell/haskell-network/haskell-network.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-network -VERSION=${VERSION:-2.6.3.5} +VERSION=${VERSION:-3.1.2.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-network/haskell-network.info b/haskell/haskell-network/haskell-network.info index d162aea2c4..a19f2528b1 100644 --- a/haskell/haskell-network/haskell-network.info +++ b/haskell/haskell-network/haskell-network.info @@ -1,8 +1,8 @@ PRGNAM="haskell-network" -VERSION="2.6.3.5" +VERSION="3.1.2.5" HOMEPAGE="https://hackage.haskell.org/package/network" -DOWNLOAD="https://hackage.haskell.org/package/network-2.6.3.5/network-2.6.3.5.tar.gz" -MD5SUM="10d4776f709218eb46a8258567be0b59" +DOWNLOAD="https://hackage.haskell.org/package/network-3.1.2.5/network-3.1.2.5.tar.gz" +MD5SUM="84f8a1633258756c84fd4f9537f1860f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-old-time/haskell-old-time.info b/haskell/haskell-old-time/haskell-old-time.info index 27fa45eb3e..158016a64b 100644 --- a/haskell/haskell-old-time/haskell-old-time.info +++ b/haskell/haskell-old-time/haskell-old-time.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/package/old-time-1.1.0.3/old-time-1.1.0.3. MD5SUM="1868eaf39e616176d898bcd5510e1f09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ghc haskell-old-locale" +REQUIRES="haskell-old-locale" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-optparse-applicative/haskell-optparse-applicative.SlackBuild b/haskell/haskell-optparse-applicative/haskell-optparse-applicative.SlackBuild index 957a7f0f7b..582faeed68 100644 --- a/haskell/haskell-optparse-applicative/haskell-optparse-applicative.SlackBuild +++ b/haskell/haskell-optparse-applicative/haskell-optparse-applicative.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-optparse-applicative -VERSION=${VERSION:-0.14.3.0} +VERSION=${VERSION:-0.17.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-optparse-applicative/haskell-optparse-applicative.info b/haskell/haskell-optparse-applicative/haskell-optparse-applicative.info index 43251d86c7..6ef4c27d23 100644 --- a/haskell/haskell-optparse-applicative/haskell-optparse-applicative.info +++ b/haskell/haskell-optparse-applicative/haskell-optparse-applicative.info @@ -1,8 +1,8 @@ PRGNAM="haskell-optparse-applicative" -VERSION="0.14.3.0" +VERSION="0.17.0.0" HOMEPAGE="https://hackage.haskell.org/package/optparse-applicative" -DOWNLOAD="https://hackage.haskell.org/packages/archive/optparse-applicative/0.14.3.0/optparse-applicative-0.14.3.0.tar.gz" -MD5SUM="2d2b7b690a0e9e77e9da9b5932418baf" +DOWNLOAD="https://hackage.haskell.org/packages/archive/optparse-applicative/0.17.0.0/optparse-applicative-0.17.0.0.tar.gz" +MD5SUM="7648666e2b74a8cfaa2d79834378e4c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-ansi-wl-pprint haskell-transformers-compat" diff --git a/haskell/haskell-optparse-applicative/slack-desc b/haskell/haskell-optparse-applicative/slack-desc index 22efde6daf..2083656181 100644 --- a/haskell/haskell-optparse-applicative/slack-desc +++ b/haskell/haskell-optparse-applicative/slack-desc @@ -9,7 +9,7 @@ haskell-optparse-applicative: haskell-optparse-applicative (parse command line options) haskell-optparse-applicative: haskell-optparse-applicative: optparse-applicative is a haskell library for parsing options on the -haskell-optparse-applicative: command line, providing a powerful applicative interface for composing +haskell-optparse-applicative: command line, providing a powerful applicative interface for composing haskell-optparse-applicative: these options. haskell-optparse-applicative: haskell-optparse-applicative: diff --git a/haskell/haskell-optparse-simple/haskell-optparse-simple.SlackBuild b/haskell/haskell-optparse-simple/haskell-optparse-simple.SlackBuild deleted file mode 100644 index 9280645b25..0000000000 --- a/haskell/haskell-optparse-simple/haskell-optparse-simple.SlackBuild +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -# Slackware build script for haskell-optparse-simple - -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=haskell-optparse-simple -VERSION=${VERSION:-0.1.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# 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. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --enable-library-profiling \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -runghc Setup build -runghc Setup haddock -runghc Setup copy --destdir=$PKG -runghc Setup register --gen-pkg-config - -PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) -mkdir -p $PKG/$PKGCONFD -mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-optparse-simple/haskell-optparse-simple.info b/haskell/haskell-optparse-simple/haskell-optparse-simple.info deleted file mode 100644 index 0de338583f..0000000000 --- a/haskell/haskell-optparse-simple/haskell-optparse-simple.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-optparse-simple" -VERSION="0.1.0" -HOMEPAGE="https://hackage.haskell.org/package/optparse-simple" -DOWNLOAD="https://hackage.haskell.org/packages/archive/optparse-simple/0.1.0/optparse-simple-0.1.0.tar.gz" -MD5SUM="8b8183deeb7e9530212e7d6d2dfeede9" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-gitrev haskell-optparse-applicative" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-pandoc-lua-marshal/README b/haskell/haskell-pandoc-lua-marshal/README new file mode 100644 index 0000000000..41790ddb65 --- /dev/null +++ b/haskell/haskell-pandoc-lua-marshal/README @@ -0,0 +1,4 @@ +Use pandoc types in Lua + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-pandoc-lua-marshal/doinst.sh b/haskell/haskell-pandoc-lua-marshal/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-pandoc-lua-marshal/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-pandoc-lua-marshal/haskell-pandoc-lua-marshal.SlackBuild b/haskell/haskell-pandoc-lua-marshal/haskell-pandoc-lua-marshal.SlackBuild new file mode 100644 index 0000000000..303402c3d6 --- /dev/null +++ b/haskell/haskell-pandoc-lua-marshal/haskell-pandoc-lua-marshal.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Slackware build script for haskell-pandoc-lua-marshal + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-pandoc-lua-marshal +VERSION=${VERSION:-0.1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-pandoc-lua-marshal/haskell-pandoc-lua-marshal.info b/haskell/haskell-pandoc-lua-marshal/haskell-pandoc-lua-marshal.info new file mode 100644 index 0000000000..8c254a07a8 --- /dev/null +++ b/haskell/haskell-pandoc-lua-marshal/haskell-pandoc-lua-marshal.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-pandoc-lua-marshal" +VERSION="0.1.4" +HOMEPAGE="https://hackage.haskell.org/package/pandoc-lua-marshal" +DOWNLOAD="https://hackage.haskell.org/package/pandoc-lua-marshal-0.1.4/pandoc-lua-marshal-0.1.4.tar.gz" +MD5SUM="f9b6bace6ec9cce275360b8d9c5c1ea7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-pandoc-types haskell-safe haskell-hslua" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-pandoc-lua-marshal/slack-desc b/haskell/haskell-pandoc-lua-marshal/slack-desc new file mode 100644 index 0000000000..b01aff8361 --- /dev/null +++ b/haskell/haskell-pandoc-lua-marshal/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-pandoc-lua-marshal: haskell-pandoc-lua-marshal (Use pandoc types in Lua) +haskell-pandoc-lua-marshal: +haskell-pandoc-lua-marshal: This package provides functions to marshal and unmarshal pandoc +haskell-pandoc-lua-marshal: document types to and from Lua. +haskell-pandoc-lua-marshal: +haskell-pandoc-lua-marshal: https://hackage.haskell.org/package/pandoc-lua-marshal +haskell-pandoc-lua-marshal: +haskell-pandoc-lua-marshal: +haskell-pandoc-lua-marshal: +haskell-pandoc-lua-marshal: +haskell-pandoc-lua-marshal: diff --git a/haskell/haskell-pandoc-types/README b/haskell/haskell-pandoc-types/README index b5adbe3708..ebe3c8e158 100644 --- a/haskell/haskell-pandoc-types/README +++ b/haskell/haskell-pandoc-types/README @@ -1,5 +1,5 @@ -This package contains definitions for the Pandoc data structure, which is -used by pandoc to represent structured documents. +This package contains definitions for the Pandoc data structure, which +is used by pandoc to represent structured documents. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-pandoc-types/haskell-pandoc-types.SlackBuild b/haskell/haskell-pandoc-types/haskell-pandoc-types.SlackBuild index be5992ae53..d0ad0f27d1 100644 --- a/haskell/haskell-pandoc-types/haskell-pandoc-types.SlackBuild +++ b/haskell/haskell-pandoc-types/haskell-pandoc-types.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-pandoc-types -VERSION=${VERSION:-1.17.5.3} +VERSION=${VERSION:-1.22.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-pandoc-types/haskell-pandoc-types.info b/haskell/haskell-pandoc-types/haskell-pandoc-types.info index edc56a85ab..2a524a8162 100644 --- a/haskell/haskell-pandoc-types/haskell-pandoc-types.info +++ b/haskell/haskell-pandoc-types/haskell-pandoc-types.info @@ -1,10 +1,10 @@ PRGNAM="haskell-pandoc-types" -VERSION="1.17.5.3" +VERSION="1.22.1" HOMEPAGE="https://hackage.haskell.org/package/pandoc-types" -DOWNLOAD="https://hackage.haskell.org/package/pandoc-types-1.17.5.3/pandoc-types-1.17.5.3.tar.gz" -MD5SUM="8b100d5e3b58abc28946cc821fb120cf" +DOWNLOAD="https://hackage.haskell.org/package/pandoc-types-1.22.1/pandoc-types-1.22.1.tar.gz" +MD5SUM="ab16ff6b75e23ead2e45e57836a57e08" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-QuickCheck haskell-syb haskell-aeson haskell-deepseq-generics" +REQUIRES="haskell-QuickCheck haskell-aeson haskell-deepseq-generics" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-parallel/haskell-parallel.info b/haskell/haskell-parallel/haskell-parallel.info deleted file mode 100644 index eff92e201b..0000000000 --- a/haskell/haskell-parallel/haskell-parallel.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-parallel" -VERSION="3.2.2.0" -HOMEPAGE="https://hackage.haskell.org/package/parallel" -DOWNLOAD="https://hackage.haskell.org/packages/archive/parallel/3.2.2.0/parallel-3.2.2.0.tar.gz" -MD5SUM="015e0adb3a9aebd73a1f69e22ddbb4d0" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="ghc" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-path-io/haskell-path-io.SlackBuild b/haskell/haskell-path-io/haskell-path-io.SlackBuild index cbbc422213..b35d17425a 100644 --- a/haskell/haskell-path-io/haskell-path-io.SlackBuild +++ b/haskell/haskell-path-io/haskell-path-io.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-path-io -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-path-io/haskell-path-io.info b/haskell/haskell-path-io/haskell-path-io.info index 256c4724ec..c099cfd7db 100644 --- a/haskell/haskell-path-io/haskell-path-io.info +++ b/haskell/haskell-path-io/haskell-path-io.info @@ -1,10 +1,12 @@ PRGNAM="haskell-path-io" -VERSION="1.4.0" +VERSION="1.6.3" HOMEPAGE="https://hackage.haskell.org/package/path-io" -DOWNLOAD="https://hackage.haskell.org/packages/archive/path-io/1.4.0/path-io-1.4.0.tar.gz" -MD5SUM="a802599debbc0c334a76cc7568e7d7cf" +DOWNLOAD="https://hackage.haskell.org/packages/archive/path-io/1.6.3/path-io-1.6.3.tar.gz \ + https://hackage.haskell.org/package/path-io-1.6.3/revision/3.cabal" +MD5SUM="7d31ff45d08015b0fdf50337560ecaae \ + 7cf1628ee00f1e88d1ae6df51af26155" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-dlist haskell-exceptions haskell-path haskell-temporary haskell-unix-compat" +REQUIRES="haskell-path haskell-temporary haskell-unix-compat" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-path/haskell-path.SlackBuild b/haskell/haskell-path/haskell-path.SlackBuild index fcc72ea17d..5d1818a2a9 100644 --- a/haskell/haskell-path/haskell-path.SlackBuild +++ b/haskell/haskell-path/haskell-path.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-path -VERSION=${VERSION:-0.6.1} +VERSION=${VERSION:-0.9.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-path/haskell-path.info b/haskell/haskell-path/haskell-path.info index 6438233e6a..49ed442931 100644 --- a/haskell/haskell-path/haskell-path.info +++ b/haskell/haskell-path/haskell-path.info @@ -1,10 +1,10 @@ PRGNAM="haskell-path" -VERSION="0.6.1" +VERSION="0.9.2" HOMEPAGE="https://hackage.haskell.org/package/path" -DOWNLOAD="https://hackage.haskell.org/packages/archive/path/0.6.1/path-0.6.1.tar.gz" -MD5SUM="72b711d23fc12a0850d0620881ccb7da" +DOWNLOAD="https://hackage.haskell.org/packages/archive/path/0.9.2/path-0.9.2.tar.gz" +MD5SUM="1bd490b30f987c06f4ed649231d65f7b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-exceptions haskell-hashable" +REQUIRES="haskell-aeson" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-pem/haskell-pem.info b/haskell/haskell-pem/haskell-pem.info index ec5aa3e0ed..ad1d7b6d65 100644 --- a/haskell/haskell-pem/haskell-pem.info +++ b/haskell/haskell-pem/haskell-pem.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/pem/0.2.4/pem-0.2.4.tar.g MD5SUM="e6850ed36e5dcde358c12d87503cda46" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base64-bytestring haskell-basement haskell-memory" +REQUIRES="haskell-base64-bytestring haskell-memory" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-persistent-sqlite/README b/haskell/haskell-persistent-sqlite/README deleted file mode 100644 index 511c838074..0000000000 --- a/haskell/haskell-persistent-sqlite/README +++ /dev/null @@ -1,8 +0,0 @@ -haskell-persistent-sqlite (sqlite3 backend for the persistent library) - -This package includes a thin sqlite3 wrapper based on the -direct-sqlite package, as well as the entire C library, so -there are no system dependencies. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.info b/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.info deleted file mode 100644 index ab89260ace..0000000000 --- a/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-persistent-sqlite" -VERSION="2.9.0" -HOMEPAGE="https://hackage.haskell.org/package/persistent-sqlite" -DOWNLOAD="https://hackage.haskell.org/packages/archive/persistent-sqlite/2.9.0/persistent-sqlite-2.9.0.tar.gz" -MD5SUM="6022ca9aeb62fa7d254af20b35a7f8bc" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-conduit haskell-microlens-th haskell-monad-logger haskell-old-locale haskell-persistent haskell-resource-pool haskell-resourcet haskell-unliftio-core haskell-unordered-containers" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-persistent-sqlite/slack-desc b/haskell/haskell-persistent-sqlite/slack-desc deleted file mode 100644 index cf6c28c90d..0000000000 --- a/haskell/haskell-persistent-sqlite/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -haskell-persistent-sqlite: haskell-persistent-sqlite (sqlite3 backend for the persistent library) -haskell-persistent-sqlite: -haskell-persistent-sqlite: This package includes a thin sqlite3 wrapper based on the -haskell-persistent-sqlite: direct-sqlite package, as well as the entire C library, so -haskell-persistent-sqlite: there are no system dependencies. -haskell-persistent-sqlite: -haskell-persistent-sqlite: -haskell-persistent-sqlite: -haskell-persistent-sqlite: -haskell-persistent-sqlite: -haskell-persistent-sqlite: diff --git a/haskell/haskell-persistent-template/haskell-persistent-template.info b/haskell/haskell-persistent-template/haskell-persistent-template.info deleted file mode 100644 index 8daf93c79b..0000000000 --- a/haskell/haskell-persistent-template/haskell-persistent-template.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-persistent-template" -VERSION="2.5.4" -HOMEPAGE="https://hackage.haskell.org/package/persistent-template" -DOWNLOAD="https://hackage.haskell.org/packages/archive/persistent-template/2.5.4/persistent-template-2.5.4.tar.gz" -MD5SUM="44035d1e631b4186d9287c22d567faf4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-aeson-compat haskell-http-api-data haskell-monad-control haskell-monad-logger haskell-path-pieces haskell-persistent haskell-tagged haskell-unordered-containers" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-persistent-template/slack-desc b/haskell/haskell-persistent-template/slack-desc deleted file mode 100644 index 7ebe1def19..0000000000 --- a/haskell/haskell-persistent-template/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -haskell-persistent-template: haskell-persistent-template (Type-safe multi-backend persistence) -haskell-persistent-template: -haskell-persistent-template: Type-safe, non-relational, multi-backend persistence. -haskell-persistent-template: -haskell-persistent-template: -haskell-persistent-template: -haskell-persistent-template: -haskell-persistent-template: -haskell-persistent-template: -haskell-persistent-template: -haskell-persistent-template: diff --git a/haskell/haskell-persistent/haskell-persistent.info b/haskell/haskell-persistent/haskell-persistent.info deleted file mode 100644 index f17f51d82f..0000000000 --- a/haskell/haskell-persistent/haskell-persistent.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-persistent" -VERSION="2.9.0" -HOMEPAGE="https://hackage.haskell.org/package/persistent" -DOWNLOAD="https://hackage.haskell.org/packages/archive/persistent/2.9.0/persistent-2.9.0.tar.gz" -MD5SUM="07f1cb70a1fb0696edcf5098f7ef1311" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-attoparsec haskell-base64-bytestring haskell-blaze-html haskell-blaze-markup haskell-conduit haskell-fast-logger haskell-http-api-data haskell-monad-logger haskell-old-locale haskell-path-pieces haskell-resource-pool haskell-resourcet haskell-scientific haskell-silently haskell-tagged haskell-unliftio-core haskell-unordered-containers haskell-vector haskell-void" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-pipes/haskell-pipes.SlackBuild b/haskell/haskell-pipes/haskell-pipes.SlackBuild index fc8d0c7927..37b093987c 100644 --- a/haskell/haskell-pipes/haskell-pipes.SlackBuild +++ b/haskell/haskell-pipes/haskell-pipes.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-pipes -VERSION=${VERSION:-4.3.13} +VERSION=${VERSION:-4.3.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-pipes/haskell-pipes.info b/haskell/haskell-pipes/haskell-pipes.info index a88cb731a1..630f0c1a12 100644 --- a/haskell/haskell-pipes/haskell-pipes.info +++ b/haskell/haskell-pipes/haskell-pipes.info @@ -1,10 +1,12 @@ PRGNAM="haskell-pipes" -VERSION="4.3.13" +VERSION="4.3.16" HOMEPAGE="https://hackage.haskell.org/package/pipes" -DOWNLOAD="https://hackage.haskell.org/package/pipes-4.3.13/pipes-4.3.13.tar.gz" -MD5SUM="f5c9355148d9382f4d335c566331ccc5" +DOWNLOAD="https://hackage.haskell.org/package/pipes-4.3.16/pipes-4.3.16.tar.gz \ + https://hackage.haskell.org/package/pipes-4.3.16/revision/2.cabal" +MD5SUM="1e12cd828873ff53e7e47340f8bbba0b \ + 46d5a2958e5204c0bcd13b78a0f3fd6c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-fail haskell-mmorph haskell-void" +REQUIRES="haskell-fail haskell-mmorph haskell-void" MAINTAINER="Jan-willem De Bleser" EMAIL="jw@thescrapyard.org" diff --git a/haskell/haskell-polyparse/README b/haskell/haskell-polyparse/README index 69b27c5321..cfc772e0e9 100644 --- a/haskell/haskell-polyparse/README +++ b/haskell/haskell-polyparse/README @@ -1,8 +1,8 @@ -A variety of alternative parser combinator libraries, including the original -HuttonMeijer set. The Poly sets have features like good error reporting, -arbitrary token type, running state, lazy parsing, and so on. Finally, -Text.Parse is a proposed replacement for the standard Read class, for better -deserialisation of Haskell values from Strings. +A variety of alternative parser combinator libraries, including the +original HuttonMeijer set. The Poly sets have features like good error +reporting, arbitrary token type, running state, lazy parsing, and so +on. Finally, Text.Parse is a proposed replacement for the standard +Read class, for better deserialisation of Haskell values from Strings. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-polyparse/haskell-polyparse.SlackBuild b/haskell/haskell-polyparse/haskell-polyparse.SlackBuild index 8fbe462a1e..9050920f32 100644 --- a/haskell/haskell-polyparse/haskell-polyparse.SlackBuild +++ b/haskell/haskell-polyparse/haskell-polyparse.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-polyparse -VERSION=${VERSION:-1.12} +VERSION=${VERSION:-1.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-polyparse/haskell-polyparse.info b/haskell/haskell-polyparse/haskell-polyparse.info index 8537acb6fd..f177ad0f97 100644 --- a/haskell/haskell-polyparse/haskell-polyparse.info +++ b/haskell/haskell-polyparse/haskell-polyparse.info @@ -1,8 +1,10 @@ PRGNAM="haskell-polyparse" -VERSION="1.12" +VERSION="1.13" HOMEPAGE="https://hackage.haskell.org/package/polyparse" -DOWNLOAD="https://hackage.haskell.org/package/polyparse-1.12/polyparse-1.12.tar.gz" -MD5SUM="d925e7a465a65c1b41b8acc40cc19d39" +DOWNLOAD="https://hackage.haskell.org/package/polyparse-1.13/polyparse-1.13.tar.gz \ + https://hackage.haskell.org/package/polyparse-1.13/revision/3.cabal" +MD5SUM="6656b800ff52a842ca0fd8083bad2e7d \ + c661c24fc735f579336458c829ac45c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild b/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild index 9dabb1e9a8..8c0562f2c3 100644 --- a/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild +++ b/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-pretty-show -VERSION=${VERSION:-1.9.1} +VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-pretty-show/haskell-pretty-show.info b/haskell/haskell-pretty-show/haskell-pretty-show.info index d9bd4d0650..45adaf4196 100644 --- a/haskell/haskell-pretty-show/haskell-pretty-show.info +++ b/haskell/haskell-pretty-show/haskell-pretty-show.info @@ -1,8 +1,8 @@ PRGNAM="haskell-pretty-show" -VERSION="1.9.1" +VERSION="1.10" HOMEPAGE="https://hackage.haskell.org/package/pretty-show" -DOWNLOAD="https://hackage.haskell.org/packages/archive/pretty-show/1.9.1/pretty-show-1.9.1.tar.gz" -MD5SUM="38cac606416db1e5cbcd77980d8ae638" +DOWNLOAD="https://hackage.haskell.org/packages/archive/pretty-show/1.10/pretty-show-1.10.tar.gz" +MD5SUM="1d4c4c9c02c5865eb5ac30c29d9ffc4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="happy haskell-lexer" diff --git a/haskell/haskell-profunctors/haskell-profunctors.SlackBuild b/haskell/haskell-profunctors/haskell-profunctors.SlackBuild index ffb9db71f0..4112391d56 100644 --- a/haskell/haskell-profunctors/haskell-profunctors.SlackBuild +++ b/haskell/haskell-profunctors/haskell-profunctors.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-profunctors -VERSION=${VERSION:-5.3} +VERSION=${VERSION:-5.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-profunctors/haskell-profunctors.info b/haskell/haskell-profunctors/haskell-profunctors.info index 687059de20..09d9f24fab 100644 --- a/haskell/haskell-profunctors/haskell-profunctors.info +++ b/haskell/haskell-profunctors/haskell-profunctors.info @@ -1,10 +1,10 @@ PRGNAM="haskell-profunctors" -VERSION="5.3" +VERSION="5.6.2" HOMEPAGE="https://hackage.haskell.org/package/profunctors" -DOWNLOAD="https://hackage.haskell.org/packages/archive/profunctors/5.3/profunctors-5.3.tar.gz" -MD5SUM="9130e57fb69add5d517b3ba4c5fc954d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/profunctors/5.6.2/profunctors-5.6.2.tar.gz" +MD5SUM="36800157d23a5588ba574b2c62bda9ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base-orphans haskell-bifunctors haskell-comonad haskell-contravariant haskell-distributive haskell-semigroups haskell-tagged" +REQUIRES="haskell-bifunctors" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-project-template/haskell-project-template.info b/haskell/haskell-project-template/haskell-project-template.info index 3bdacf94b3..a914feb807 100644 --- a/haskell/haskell-project-template/haskell-project-template.info +++ b/haskell/haskell-project-template/haskell-project-template.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/project-template/0.2.0.1/ MD5SUM="40f69105c7a633b5763ebcf6f25f3852" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base64-bytestring haskell-conduit haskell-conduit-extra haskell-resourcet" +REQUIRES="haskell-base64-bytestring haskell-conduit-extra" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.info b/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.info index 3526548df6..4f2c683254 100644 --- a/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.info +++ b/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/publicsuffixlist/0.1/publ MD5SUM="e4e281b4b56050a2340c1b6b65d02bc2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-cereal haskell-conduit haskell-data-default haskell-idna haskell-utf8-string" +REQUIRES="haskell-conduit haskell-data-default haskell-idna haskell-utf8-string" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-regex-applicative/README b/haskell/haskell-regex-applicative/README index f01416d7fc..d48a31345b 100644 --- a/haskell/haskell-regex-applicative/README +++ b/haskell/haskell-regex-applicative/README @@ -1,15 +1,16 @@ regex-applicative is a Haskell library for parsing using regular expressions. Parsers can be built using Applicative interface. -Perl programmers often use regular expressions for parsing, even if it is not -an appropriate tool for the job, because Perl has so good support for regexps. +Perl programmers often use regular expressions for parsing, even if +it is not an appropriate tool for the job, because Perl has so good +support for regexps. -The opposite seems to be valid about Haskell programmers -- they use parsing -combinators (which recognize context-free or even context-sensitive grammars), -even when the language is actually regular! +The opposite seems to be valid about Haskell programmers -- they +use parsing combinators (which recognize context-free or even +context-sensitive grammars), even when the language is actually +regular! Hopefully, this library will improve the situation. - After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info index ed5af198b2..73139811c3 100644 --- a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info +++ b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/package/regex-compat-tdfa-0.95.1.4/regex-c MD5SUM="a0474ceb61330257a53cb9956f8d6edb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-regex-base haskell-regex-tdfa" +REQUIRES="haskell-regex-tdfa" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild b/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild index 098c9d0063..510ad9ed9a 100644 --- a/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild +++ b/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-regex-pcre-builtin -VERSION=${VERSION:-0.94.4.8.8.35} +VERSION=${VERSION:-0.95.2.3.8.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.info b/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.info index ce0102bc3e..857f7cb7b3 100644 --- a/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.info +++ b/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.info @@ -1,8 +1,8 @@ PRGNAM="haskell-regex-pcre-builtin" -VERSION="0.94.4.8.8.35" +VERSION="0.95.2.3.8.44" HOMEPAGE="https://hackage.haskell.org/package/regex-pcre-builtin" -DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-pcre-builtin/0.94.4.8.8.35/regex-pcre-builtin-0.94.4.8.8.35.tar.gz" -MD5SUM="ee2b030b7da8f2e35dfeec6c2434299a" +DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-pcre-builtin/0.95.2.3.8.44/regex-pcre-builtin-0.95.2.3.8.44.tar.gz" +MD5SUM="0af4ed30146e3c8e05da53de53cf78d8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-regex-base" diff --git a/haskell/haskell-regex-pcre/haskell-regex-pcre.SlackBuild b/haskell/haskell-regex-pcre/haskell-regex-pcre.SlackBuild index d3574c2e77..b9b81ed41f 100644 --- a/haskell/haskell-regex-pcre/haskell-regex-pcre.SlackBuild +++ b/haskell/haskell-regex-pcre/haskell-regex-pcre.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-regex-pcre -VERSION=${VERSION:-0.94.4} +VERSION=${VERSION:-0.95.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-regex-pcre/haskell-regex-pcre.info b/haskell/haskell-regex-pcre/haskell-regex-pcre.info index 9f133f2c5e..9c73da78e8 100644 --- a/haskell/haskell-regex-pcre/haskell-regex-pcre.info +++ b/haskell/haskell-regex-pcre/haskell-regex-pcre.info @@ -1,8 +1,10 @@ PRGNAM="haskell-regex-pcre" -VERSION="0.94.4" +VERSION="0.95.0.0" HOMEPAGE="https://hackage.haskell.org/package/regex-pcre" -DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-pcre/0.94.4/regex-pcre-0.94.4.tar.gz" -MD5SUM="be3794c67959f2b3b840bd026ef0b9ea" +DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-pcre/0.95.0.0/regex-pcre-0.95.0.0.tar.gz \ + https://hackage.haskell.org/package/regex-pcre-0.95.0.0/revision/3.cabal" +MD5SUM="a9dcdff506937df7fadb563a030b508b \ + e52338d5d5fbebad33846302b73a1476" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-regex-base" diff --git a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild index 30240881c2..d7b5056a4d 100644 --- a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild +++ b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-regex-posix -VERSION=${VERSION:-0.95.2} +VERSION=${VERSION:-0.96.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-regex-posix/haskell-regex-posix.info b/haskell/haskell-regex-posix/haskell-regex-posix.info index f4d34077fe..1f5ffbf318 100644 --- a/haskell/haskell-regex-posix/haskell-regex-posix.info +++ b/haskell/haskell-regex-posix/haskell-regex-posix.info @@ -1,8 +1,8 @@ PRGNAM="haskell-regex-posix" -VERSION="0.95.2" +VERSION="0.96.0.1" HOMEPAGE="https://hackage.haskell.org/package/regex-posix" -DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-posix/0.95.2/regex-posix-0.95.2.tar.gz" -MD5SUM="1df0f9494aab110c7231f36393285c7c" +DOWNLOAD="https://hackage.haskell.org/packages/archive/regex-posix/0.96.0.1/regex-posix-0.96.0.1.tar.gz" +MD5SUM="94ad7a602666e6dce3aa3c86e5edfed7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-regex-base" diff --git a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild index c0a34ccc3e..f1ce109b96 100644 --- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild +++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-regex-tdfa -VERSION=${VERSION:-1.2.3.1} +VERSION=${VERSION:-1.3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,15 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info index df39ec5b16..f169b482a9 100644 --- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info +++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info @@ -1,8 +1,10 @@ PRGNAM="haskell-regex-tdfa" -VERSION="1.2.3.1" +VERSION="1.3.1.1" HOMEPAGE="https://hackage.haskell.org/package/regex-tdfa" -DOWNLOAD="https://hackage.haskell.org/package/regex-tdfa-1.2.3.1/regex-tdfa-1.2.3.1.tar.gz" -MD5SUM="1e5cecff91ccc67666c9423850b15d56" +DOWNLOAD="https://hackage.haskell.org/package/regex-tdfa-1.3.1.1/regex-tdfa-1.3.1.1.tar.gz \ + https://hackage.haskell.org/package/regex-tdfa-1.3.1.1/revision/2.cabal" +MD5SUM="9599452c5123eeb8e402e0fe6ad9bbd8 \ + 945fb292818abc8c72c3e24e8f5f9598" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-regex-base haskell-semigroups" diff --git a/haskell/haskell-resolv/haskell-resolv.SlackBuild b/haskell/haskell-resolv/haskell-resolv.SlackBuild index 33542ba8e5..a20cf438df 100644 --- a/haskell/haskell-resolv/haskell-resolv.SlackBuild +++ b/haskell/haskell-resolv/haskell-resolv.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-resolv -VERSION=${VERSION:-0.1.1.1} +VERSION=${VERSION:-0.1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-resolv/haskell-resolv.info b/haskell/haskell-resolv/haskell-resolv.info index 537552b285..6c94094efc 100644 --- a/haskell/haskell-resolv/haskell-resolv.info +++ b/haskell/haskell-resolv/haskell-resolv.info @@ -1,8 +1,8 @@ PRGNAM="haskell-resolv" -VERSION="0.1.1.1" +VERSION="0.1.2.0" HOMEPAGE="https://hackage.haskell.org/package/resolv" -DOWNLOAD="https://hackage.haskell.org/packages/archive/resolv/0.1.1.1/resolv-0.1.1.1.tar.gz" -MD5SUM="205d3f547dd83dbd7c9dd081352cd98d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/resolv/0.1.2.0/resolv-0.1.2.0.tar.gz" +MD5SUM="e8955ef7cc00405a454fce97a613dfef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-base16-bytestring" diff --git a/haskell/haskell-resource-pool/haskell-resource-pool.info b/haskell/haskell-resource-pool/haskell-resource-pool.info index 6b250fb3d3..50154300a3 100644 --- a/haskell/haskell-resource-pool/haskell-resource-pool.info +++ b/haskell/haskell-resource-pool/haskell-resource-pool.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/resource-pool/0.2.3.2/res MD5SUM="6a0d29123c1a49d213d8ffd1d845da43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hashable haskell-monad-control haskell-transformers-base haskell-vector" +REQUIRES="haskell-hashable haskell-monad-control haskell-vector" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-resourcet/haskell-resourcet.SlackBuild b/haskell/haskell-resourcet/haskell-resourcet.SlackBuild index 2499c4023c..590ca4e3e5 100644 --- a/haskell/haskell-resourcet/haskell-resourcet.SlackBuild +++ b/haskell/haskell-resourcet/haskell-resourcet.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-resourcet -VERSION=${VERSION:-1.2.2} +VERSION=${VERSION:-1.2.4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-resourcet/haskell-resourcet.info b/haskell/haskell-resourcet/haskell-resourcet.info index dc2e77bce3..236b4384ac 100644 --- a/haskell/haskell-resourcet/haskell-resourcet.info +++ b/haskell/haskell-resourcet/haskell-resourcet.info @@ -1,10 +1,10 @@ PRGNAM="haskell-resourcet" -VERSION="1.2.2" +VERSION="1.2.4.3" HOMEPAGE="https://hackage.haskell.org/package/resourcet" -DOWNLOAD="https://hackage.haskell.org/packages/archive/resourcet/1.2.2/resourcet-1.2.2.tar.gz" -MD5SUM="98943b21aa913e37b53a415dc8fee1a0" +DOWNLOAD="https://hackage.haskell.org/packages/archive/resourcet/1.2.4.3/resourcet-1.2.4.3.tar.gz" +MD5SUM="a9db0c32ff52c5a4db8e6d096631160a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-lifted-base haskell-mmorph haskell-monad-control haskell-primitive haskell-transformers-base haskell-transformers-compat haskell-unliftio-core" +REQUIRES="haskell-lifted-base haskell-mmorph haskell-primitive haskell-unliftio-core" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-retry/haskell-retry.SlackBuild b/haskell/haskell-retry/haskell-retry.SlackBuild index d29440a85d..96a229c33d 100644 --- a/haskell/haskell-retry/haskell-retry.SlackBuild +++ b/haskell/haskell-retry/haskell-retry.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-retry -VERSION=${VERSION:-0.7.7.0} +VERSION=${VERSION:-0.9.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-retry/haskell-retry.info b/haskell/haskell-retry/haskell-retry.info index 522f79f923..1d040005b4 100644 --- a/haskell/haskell-retry/haskell-retry.info +++ b/haskell/haskell-retry/haskell-retry.info @@ -1,10 +1,10 @@ PRGNAM="haskell-retry" -VERSION="0.7.7.0" +VERSION="0.9.1.0" HOMEPAGE="https://hackage.haskell.org/package/retry" -DOWNLOAD="https://hackage.haskell.org/packages/archive/retry/0.7.7.0/retry-0.7.7.0.tar.gz" -MD5SUM="d8e9be62e61868b51923c2bac9fee5e1" +DOWNLOAD="https://hackage.haskell.org/packages/archive/retry/0.9.1.0/retry-0.9.1.0.tar.gz" +MD5SUM="203cb76ac4510d460e0ef491a4c9f9d2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-data-default-class haskell-exceptions haskell-random" +REQUIRES="haskell-data-default-class haskell-random" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-rio/Setup.hs b/haskell/haskell-rio/Setup.hs deleted file mode 100644 index 9a994af677..0000000000 --- a/haskell/haskell-rio/Setup.hs +++ /dev/null @@ -1,2 +0,0 @@ -import Distribution.Simple -main = defaultMain diff --git a/haskell/haskell-rio/haskell-rio.SlackBuild b/haskell/haskell-rio/haskell-rio.SlackBuild index d12d6a3c94..911405b7d6 100644 --- a/haskell/haskell-rio/haskell-rio.SlackBuild +++ b/haskell/haskell-rio/haskell-rio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-rio -VERSION=${VERSION:-0.1.5.0} +VERSION=${VERSION:-0.1.21.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,15 +76,20 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -cp $CWD/Setup.hs . - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ diff --git a/haskell/haskell-rio/haskell-rio.info b/haskell/haskell-rio/haskell-rio.info index 1768fabd92..dd26946da2 100644 --- a/haskell/haskell-rio/haskell-rio.info +++ b/haskell/haskell-rio/haskell-rio.info @@ -1,10 +1,10 @@ PRGNAM="haskell-rio" -VERSION="0.1.5.0" +VERSION="0.1.21.0" HOMEPAGE="https://hackage.haskell.org/package/rio" -DOWNLOAD="https://hackage.haskell.org/packages/archive/rio/0.1.5.0/rio-0.1.5.0.tar.gz" -MD5SUM="ad075d3472fde6bf28bd89c40ae02ea8" +DOWNLOAD="https://hackage.haskell.org/packages/archive/rio/0.1.21.0/rio-0.1.21.0.tar.gz" +MD5SUM="554a37103aee56956ab9c2a48ea15841" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-hashable haskell-microlens haskell-primitive haskell-typed-process haskell-unliftio haskell-unordered-containers haskell-vector" +REQUIRES="haskell-typed-process haskell-unliftio haskell-unordered-containers haskell-vector haskell-microlens-mtl" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-safe/haskell-safe.SlackBuild b/haskell/haskell-safe/haskell-safe.SlackBuild index e1e7e330d3..c44c22ff36 100644 --- a/haskell/haskell-safe/haskell-safe.SlackBuild +++ b/haskell/haskell-safe/haskell-safe.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-safe -VERSION=${VERSION:-0.3.17} +VERSION=${VERSION:-0.3.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-safe/haskell-safe.info b/haskell/haskell-safe/haskell-safe.info index 129a90f888..1910eed8f2 100644 --- a/haskell/haskell-safe/haskell-safe.info +++ b/haskell/haskell-safe/haskell-safe.info @@ -1,8 +1,8 @@ PRGNAM="haskell-safe" -VERSION="0.3.17" +VERSION="0.3.19" HOMEPAGE="https://hackage.haskell.org/package/safe" -DOWNLOAD="https://hackage.haskell.org/packages/archive/safe/0.3.17/safe-0.3.17.tar.gz" -MD5SUM="c5a1273f29ed801d8d2c833cfc39fb38" +DOWNLOAD="https://hackage.haskell.org/packages/archive/safe/0.3.19/safe-0.3.19.tar.gz" +MD5SUM="23a1bcc16b885249dc35370b1c428cc7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-sandi/haskell-sandi.SlackBuild b/haskell/haskell-sandi/haskell-sandi.SlackBuild index 557bc80aec..ee7045f66a 100644 --- a/haskell/haskell-sandi/haskell-sandi.SlackBuild +++ b/haskell/haskell-sandi/haskell-sandi.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-sandi -VERSION=${VERSION:-0.4.2} +VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-sandi/haskell-sandi.info b/haskell/haskell-sandi/haskell-sandi.info index 2f8fdbbcbb..44209c785e 100644 --- a/haskell/haskell-sandi/haskell-sandi.info +++ b/haskell/haskell-sandi/haskell-sandi.info @@ -1,10 +1,10 @@ PRGNAM="haskell-sandi" -VERSION="0.4.2" +VERSION="0.5" HOMEPAGE="https://hackage.haskell.org/package/sandi" -DOWNLOAD="https://hackage.haskell.org/package/sandi-0.4.2/sandi-0.4.2.tar.gz" -MD5SUM="9244da9791e2403eb01f3793284d623e" +DOWNLOAD="https://hackage.haskell.org/package/sandi-0.5/sandi-0.5.tar.gz" +MD5SUM="575dcf2f50180f758900c3bb4b606294" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-conduit haskell-exceptions haskell-stringsearch" +REQUIRES="haskell-conduit haskell-stringsearch" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-scientific/haskell-scientific.SlackBuild b/haskell/haskell-scientific/haskell-scientific.SlackBuild index 26153ddbd9..7e45040461 100644 --- a/haskell/haskell-scientific/haskell-scientific.SlackBuild +++ b/haskell/haskell-scientific/haskell-scientific.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-scientific -VERSION=${VERSION:-0.3.6.2} +VERSION=${VERSION:-0.3.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,6 +78,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-scientific/haskell-scientific.info b/haskell/haskell-scientific/haskell-scientific.info index 261a6f628f..40b254fa52 100644 --- a/haskell/haskell-scientific/haskell-scientific.info +++ b/haskell/haskell-scientific/haskell-scientific.info @@ -1,8 +1,10 @@ PRGNAM="haskell-scientific" -VERSION="0.3.6.2" +VERSION="0.3.7.0" HOMEPAGE="https://hackage.haskell.org/package/scientific" -DOWNLOAD="https://hackage.haskell.org/package/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz" -MD5SUM="f4f40eec14dd8c9308d8dd478212e4b7" +DOWNLOAD="https://hackage.haskell.org/package/scientific-0.3.7.0/scientific-0.3.7.0.tar.gz \ + https://hackage.haskell.org/package/scientific-0.3.7.0/revision/1.cabal" +MD5SUM="a06f86fd0faae56f2b932a234fbc8a44 \ + 44e4d7d119fd005538683cb34a1b7b4a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-hashable haskell-integer-logarithms haskell-vector" diff --git a/haskell/haskell-semialign/README b/haskell/haskell-semialign/README new file mode 100644 index 0000000000..f83b35adc1 --- /dev/null +++ b/haskell/haskell-semialign/README @@ -0,0 +1,4 @@ +Align and Zip type-classes from the common Semialign ancestor. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-semialign/doinst.sh b/haskell/haskell-semialign/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-semialign/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild b/haskell/haskell-semialign/haskell-semialign.SlackBuild index 0bc5dbe0e9..8acb8ed3db 100644 --- a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild +++ b/haskell/haskell-semialign/haskell-semialign.SlackBuild @@ -1,9 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-hashed-storage +# Slackware build script for haskell-semialign -# Copyright 2015 Mikko Värri, Finland -# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2021 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-hashed-storage -VERSION=${VERSION:-0.5.11} +PRGNAM=haskell-semialign +VERSION=${VERSION:-1.2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +76,14 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -84,9 +91,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i -e '1i{-# LANGUAGE FlexibleContexts #-}' \ - Storage/Hashed/Monad.hs - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ @@ -111,7 +115,9 @@ 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/$PRGNAM-$VERSION -cp -a LICENSE NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-semialign/haskell-semialign.info b/haskell/haskell-semialign/haskell-semialign.info new file mode 100644 index 0000000000..7962a174e3 --- /dev/null +++ b/haskell/haskell-semialign/haskell-semialign.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-semialign" +VERSION="1.2.0.1" +HOMEPAGE="https://hackage.haskell.org/package/semialign" +DOWNLOAD="https://hackage.haskell.org/package/semialign-1.2.0.1/semialign-1.2.0.1.tar.gz" +MD5SUM="d907f5ab3e195b8f52bc286bb432e495" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-these haskell-indexed-traversable-instances haskell-semigroupoids" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-semialign/slack-desc b/haskell/haskell-semialign/slack-desc new file mode 100644 index 0000000000..7b4fcbceeb --- /dev/null +++ b/haskell/haskell-semialign/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-semialign: haskell-semialign (Align and Zip type-classe) +haskell-semialign: +haskell-semialign: The major use of These of this is provided by the align member of +haskell-semialign: Semialign class, representing a generalized notion of "zipping with +haskell-semialign: padding" that combines structures without truncating to the size of +haskell-semialign: the smaller input. +haskell-semialign: +haskell-semialign: https://hackage.haskell.org/package/semialign +haskell-semialign: +haskell-semialign: +haskell-semialign: diff --git a/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild b/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild index b9a1c37f67..3c54c1fdd9 100644 --- a/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild +++ b/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-semigroupoids -VERSION=${VERSION:-5.3.1} +VERSION=${VERSION:-5.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-semigroupoids/haskell-semigroupoids.info b/haskell/haskell-semigroupoids/haskell-semigroupoids.info index 832ff48d9a..be52d5f966 100644 --- a/haskell/haskell-semigroupoids/haskell-semigroupoids.info +++ b/haskell/haskell-semigroupoids/haskell-semigroupoids.info @@ -1,10 +1,12 @@ PRGNAM="haskell-semigroupoids" -VERSION="5.3.1" +VERSION="5.3.6" HOMEPAGE="https://hackage.haskell.org/package/semigroupoids" -DOWNLOAD="https://hackage.haskell.org/packages/archive/semigroupoids/5.3.1/semigroupoids-5.3.1.tar.gz" -MD5SUM="964528cd136319dd1e6ced6831f3dc68" +DOWNLOAD="https://hackage.haskell.org/packages/archive/semigroupoids/5.3.6/semigroupoids-5.3.6.tar.gz \ + https://hackage.haskell.org/package/semigroupoids-5.3.6/revision/2.cabal" +MD5SUM="de2d4642a43b3d9b381b75a94d3cf345 \ + d5af772967aff3472ef8fec193c71dff" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-base-orphans haskell-bifunctors haskell-comonad haskell-contravariant haskell-distributive haskell-generic-deriving haskell-hashable haskell-semigroups haskell-tagged haskell-transformers-compat haskell-unordered-containers" +REQUIRES="haskell-bifunctors" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-semigroups/haskell-semigroups.info b/haskell/haskell-semigroups/haskell-semigroups.info index b12938120b..6be8a84a36 100644 --- a/haskell/haskell-semigroups/haskell-semigroups.info +++ b/haskell/haskell-semigroups/haskell-semigroups.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/semigroups/0.18.5/semigro MD5SUM="44aace6c37dadbb23698c622d324a289" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hashable haskell-tagged haskell-unordered-containers" +REQUIRES="haskell-tagged haskell-unordered-containers" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-setlocale/haskell-setlocale.SlackBuild b/haskell/haskell-setlocale/haskell-setlocale.SlackBuild index 23e5d9fd0a..2a2491c69d 100644 --- a/haskell/haskell-setlocale/haskell-setlocale.SlackBuild +++ b/haskell/haskell-setlocale/haskell-setlocale.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-setlocale -VERSION=${VERSION:-1.0.0.8} +VERSION=${VERSION:-1.0.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-setlocale/haskell-setlocale.info b/haskell/haskell-setlocale/haskell-setlocale.info index 96fe73405a..451ca61503 100644 --- a/haskell/haskell-setlocale/haskell-setlocale.info +++ b/haskell/haskell-setlocale/haskell-setlocale.info @@ -1,8 +1,8 @@ PRGNAM="haskell-setlocale" -VERSION="1.0.0.8" +VERSION="1.0.0.10" HOMEPAGE="https://hackage.haskell.org/package/setlocale" -DOWNLOAD="https://hackage.haskell.org/package/setlocale-1.0.0.8/setlocale-1.0.0.8.tar.gz" -MD5SUM="d17a63a5260610d59e8c2698b5013138" +DOWNLOAD="https://hackage.haskell.org/package/setlocale-1.0.0.10/setlocale-1.0.0.10.tar.gz" +MD5SUM="1f8e80a094ea46a3f832a645c547ddf6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-shelly/haskell-shelly.SlackBuild b/haskell/haskell-shelly/haskell-shelly.SlackBuild index 152d21a95b..2b1285cf06 100644 --- a/haskell/haskell-shelly/haskell-shelly.SlackBuild +++ b/haskell/haskell-shelly/haskell-shelly.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-shelly -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-shelly/haskell-shelly.info b/haskell/haskell-shelly/haskell-shelly.info index 0f10148fe4..7e8448adaf 100644 --- a/haskell/haskell-shelly/haskell-shelly.info +++ b/haskell/haskell-shelly/haskell-shelly.info @@ -1,10 +1,10 @@ PRGNAM="haskell-shelly" -VERSION="1.8.1" +VERSION="1.10.0" HOMEPAGE="https://hackage.haskell.org/package/shelly" -DOWNLOAD="https://hackage.haskell.org/packages/archive/shelly/1.8.1/shelly-1.8.1.tar.gz" -MD5SUM="f28314a669eeee53ede08ea3011f12b0" +DOWNLOAD="https://hackage.haskell.org/packages/archive/shelly/1.10.0/shelly-1.10.0.tar.gz" +MD5SUM="e5f5bc809977758196ecc72f0f111183" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-enclosed-exceptions haskell-exceptions haskell-lifted-async haskell-lifted-base haskell-monad-control haskell-system-fileio haskell-system-filepath haskell-transformers-base haskell-unix-compat" +REQUIRES="haskell-enclosed-exceptions haskell-lifted-async haskell-system-fileio haskell-unix-compat" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild b/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild index 70e50aaa51..52fc9af6d6 100644 --- a/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild +++ b/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-skylighting-core -VERSION=${VERSION:-0.7.4} +VERSION=${VERSION:-0.12.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-skylighting-core/haskell-skylighting-core.info b/haskell/haskell-skylighting-core/haskell-skylighting-core.info index f2b2a73e66..964edd3dcf 100644 --- a/haskell/haskell-skylighting-core/haskell-skylighting-core.info +++ b/haskell/haskell-skylighting-core/haskell-skylighting-core.info @@ -1,10 +1,10 @@ PRGNAM="haskell-skylighting-core" -VERSION="0.7.4" +VERSION="0.12.2" HOMEPAGE="https://hackage.haskell.org/package/skylighting-core" -DOWNLOAD="https://hackage.haskell.org/packages/archive/skylighting-core/0.7.4/skylighting-core-0.7.4.tar.gz" -MD5SUM="b9dbc8394f4cfa1412b9b58f898fd2c2" +DOWNLOAD="https://hackage.haskell.org/packages/archive/skylighting-core/0.12.2/skylighting-core-0.12.2.tar.gz" +MD5SUM="67a0d67e25fec2c670e751076e63898e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-ansi-terminal haskell-attoparsec haskell-base64-bytestring haskell-blaze-html haskell-case-insensitive haskell-colour haskell-hxt haskell-regex-pcre haskell-regex-pcre-builtin haskell-safe haskell-utf8-string" +REQUIRES="haskell-aeson haskell-ansi-terminal haskell-base64-bytestring haskell-case-insensitive haskell-hxt haskell-regex-pcre haskell-regex-pcre-builtin haskell-safe haskell-utf8-string haskell-xml-conduit" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-skylighting/haskell-skylighting.SlackBuild b/haskell/haskell-skylighting/haskell-skylighting.SlackBuild index 0898b212d7..51151aa728 100644 --- a/haskell/haskell-skylighting/haskell-skylighting.SlackBuild +++ b/haskell/haskell-skylighting/haskell-skylighting.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-skylighting -VERSION=${VERSION:-0.7.4} +VERSION=${VERSION:-0.12.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-skylighting/haskell-skylighting.info b/haskell/haskell-skylighting/haskell-skylighting.info index 0049cca57f..dad89e79de 100644 --- a/haskell/haskell-skylighting/haskell-skylighting.info +++ b/haskell/haskell-skylighting/haskell-skylighting.info @@ -1,10 +1,10 @@ PRGNAM="haskell-skylighting" -VERSION="0.7.4" +VERSION="0.12.2" HOMEPAGE="https://hackage.haskell.org/package/skylighting" -DOWNLOAD="https://hackage.haskell.org/packages/archive/skylighting/0.7.4/skylighting-0.7.4.tar.gz" -MD5SUM="14bf751973e9e1e35b8a953f4abfdbff" +DOWNLOAD="https://hackage.haskell.org/packages/archive/skylighting/0.12.2/skylighting-0.12.2.tar.gz" +MD5SUM="a6a9781e2f7337d91c2e576ee5523c97" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-ansi-terminal haskell-attoparsec haskell-base64-bytestring haskell-blaze-html haskell-case-insensitive haskell-colour haskell-hxt haskell-pretty-show haskell-regex-pcre haskell-regex-pcre-builtin haskell-safe haskell-skylighting-core haskell-utf8-string" +REQUIRES="haskell-pretty-show haskell-skylighting-core" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild b/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild index c3fd659692..3522bacc0f 100644 --- a/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild +++ b/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-smallcheck -VERSION=${VERSION:-1.1.5} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-smallcheck/haskell-smallcheck.info b/haskell/haskell-smallcheck/haskell-smallcheck.info index c33ddbb2f1..d3f65cec8b 100644 --- a/haskell/haskell-smallcheck/haskell-smallcheck.info +++ b/haskell/haskell-smallcheck/haskell-smallcheck.info @@ -1,8 +1,8 @@ PRGNAM="haskell-smallcheck" -VERSION="1.1.5" +VERSION="1.2.1" HOMEPAGE="https://hackage.haskell.org/package/smallcheck" -DOWNLOAD="https://hackage.haskell.org/packages/archive/smallcheck/1.1.5/smallcheck-1.1.5.tar.gz" -MD5SUM="af02fcf34dd975938c617c013b8e3df6" +DOWNLOAD="https://hackage.haskell.org/packages/archive/smallcheck/1.2.1/smallcheck-1.2.1.tar.gz" +MD5SUM="7527489bcba515cbabc145da3f186e78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-logict haskell-nats" diff --git a/haskell/haskell-socks/haskell-socks.SlackBuild b/haskell/haskell-socks/haskell-socks.SlackBuild index 17094daaef..747bff2339 100644 --- a/haskell/haskell-socks/haskell-socks.SlackBuild +++ b/haskell/haskell-socks/haskell-socks.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-socks -VERSION=${VERSION:-0.5.6} +VERSION=${VERSION:-0.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-socks/haskell-socks.info b/haskell/haskell-socks/haskell-socks.info index f2df701961..56d75db28c 100644 --- a/haskell/haskell-socks/haskell-socks.info +++ b/haskell/haskell-socks/haskell-socks.info @@ -1,10 +1,10 @@ PRGNAM="haskell-socks" -VERSION="0.5.6" +VERSION="0.6.1" HOMEPAGE="https://hackage.haskell.org/package/socks" -DOWNLOAD="https://hackage.haskell.org/packages/archive/socks/0.5.6/socks-0.5.6.tar.gz" -MD5SUM="80d611a49f5f040caf16c4915880513f" +DOWNLOAD="https://hackage.haskell.org/packages/archive/socks/0.6.1/socks-0.6.1.tar.gz" +MD5SUM="e85be2113ecf285060ce2c3678bcd9dc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-cereal haskell-network" +REQUIRES="haskell-basement haskell-cereal haskell-network" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-split/haskell-split.SlackBuild b/haskell/haskell-split/haskell-split.SlackBuild index 5a4e746aa5..2030fc4ee8 100644 --- a/haskell/haskell-split/haskell-split.SlackBuild +++ b/haskell/haskell-split/haskell-split.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-split -VERSION=${VERSION:-0.2.3.3} +VERSION=${VERSION:-0.2.3.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-split/haskell-split.info b/haskell/haskell-split/haskell-split.info index 8b069d4104..d0f05bfd78 100644 --- a/haskell/haskell-split/haskell-split.info +++ b/haskell/haskell-split/haskell-split.info @@ -1,8 +1,8 @@ PRGNAM="haskell-split" -VERSION="0.2.3.3" +VERSION="0.2.3.4" HOMEPAGE="https://hackage.haskell.org/package/split" -DOWNLOAD="https://hackage.haskell.org/package/split-0.2.3.3/split-0.2.3.3.tar.gz" -MD5SUM="590f21a7bbfda807aff707a4dd5691fa" +DOWNLOAD="https://hackage.haskell.org/package/split-0.2.3.4/split-0.2.3.4.tar.gz" +MD5SUM="2aab953bd696407e702e669e91180864" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-stack/README b/haskell/haskell-stack/README deleted file mode 100644 index 69f256e052..0000000000 --- a/haskell/haskell-stack/README +++ /dev/null @@ -1,4 +0,0 @@ -Stack is a cross-platform program for developing Haskell projects. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-stack/haskell-stack.info b/haskell/haskell-stack/haskell-stack.info deleted file mode 100644 index 041e40bd82..0000000000 --- a/haskell/haskell-stack/haskell-stack.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-stack" -VERSION="1.7.1" -HOMEPAGE="https://hackage.haskell.org/package/stack" -DOWNLOAD="https://hackage.haskell.org/packages/archive/stack/1.7.1/stack-1.7.1.tar.gz" -MD5SUM="c63f62db356b3c2a57f0b5e6719b8b3e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-annotated-wl-pprint haskell-ansi-terminal haskell-async haskell-attoparsec haskell-base64-bytestring haskell-bindings-uname haskell-conduit haskell-conduit-extra haskell-cryptonite haskell-cryptonite-conduit haskell-echo haskell-exceptions haskell-extra haskell-file-embed haskell-filelock haskell-fsnotify haskell-generic-deriving haskell-gitrev haskell-hackage-security haskell-hashable haskell-hpack haskell-http-client haskell-http-client-tls haskell-http-conduit haskell-http-types haskell-memory haskell-microlens haskell-mintty haskell-monad-logger haskell-mono-traversable haskell-mustache haskell-neat-interpolation haskell-network-uri haskell-open-browser haskell-optparse-applicative haskell-optparse-simple haskell-path haskell-path-io haskell-persistent haskell-persistent-sqlite haskell-persistent-template haskell-primitive haskell-project-template haskell-regex-applicative-text haskell-resourcet haskell-retry haskell-rio haskell-semigroups haskell-split haskell-store haskell-store-core haskell-streaming-commons haskell-tar haskell-temporary haskell-text-metrics haskell-th-reify-many haskell-tls haskell-typed-process haskell-unicode-transforms haskell-unix-compat haskell-unliftio haskell-unordered-containers haskell-vector haskell-yaml haskell-zip-archive haskell-zlib" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-store-core/haskell-store-core.SlackBuild b/haskell/haskell-store-core/haskell-store-core.SlackBuild index 30aef4fd48..75c12d4f2e 100644 --- a/haskell/haskell-store-core/haskell-store-core.SlackBuild +++ b/haskell/haskell-store-core/haskell-store-core.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-store-core -VERSION=${VERSION:-0.4.4} +VERSION=${VERSION:-0.4.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-store-core/haskell-store-core.info b/haskell/haskell-store-core/haskell-store-core.info index 906559c27a..9d25d48528 100644 --- a/haskell/haskell-store-core/haskell-store-core.info +++ b/haskell/haskell-store-core/haskell-store-core.info @@ -1,8 +1,8 @@ PRGNAM="haskell-store-core" -VERSION="0.4.4" +VERSION="0.4.4.4" HOMEPAGE="https://hackage.haskell.org/package/store-core" -DOWNLOAD="https://hackage.haskell.org/packages/archive/store-core/0.4.4/store-core-0.4.4.tar.gz" -MD5SUM="dcd4aad540d67bd8fd57905df617f432" +DOWNLOAD="https://hackage.haskell.org/packages/archive/store-core/0.4.4.4/store-core-0.4.4.4.tar.gz" +MD5SUM="b8d7c9849ae91e4331a5ec4db6556e7c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-primitive" diff --git a/haskell/haskell-store/haskell-store.info b/haskell/haskell-store/haskell-store.info deleted file mode 100644 index 0f4e981e97..0000000000 --- a/haskell/haskell-store/haskell-store.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-store" -VERSION="0.5.0.1" -HOMEPAGE="https://hackage.haskell.org/package/store" -DOWNLOAD="https://hackage.haskell.org/packages/archive/store/0.5.0.1/store-0.5.0.1.tar.gz" -MD5SUM="a9ddc460e8bd08544ab1a75d313b2a8b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="haskell-async haskell-base-orphans haskell-base64-bytestring haskell-bifunctors haskell-contravariant haskell-cryptohash haskell-free haskell-hashable haskell-hspec haskell-hspec-smallcheck haskell-lifted-base haskell-monad-control haskell-mono-traversable haskell-network haskell-primitive haskell-resourcet haskell-safe haskell-semigroups haskell-smallcheck haskell-store-core haskell-syb haskell-th-lift haskell-th-lift-instances haskell-th-orphans haskell-th-reify-many haskell-th-utilities haskell-unordered-containers haskell-vector haskell-void" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-strict/haskell-strict.SlackBuild b/haskell/haskell-strict/haskell-strict.SlackBuild index 121e3475ca..1ca84f6322 100644 --- a/haskell/haskell-strict/haskell-strict.SlackBuild +++ b/haskell/haskell-strict/haskell-strict.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-strict -VERSION=${VERSION:-0.3.2} +VERSION=${VERSION:-0.4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-strict/haskell-strict.info b/haskell/haskell-strict/haskell-strict.info index 1398fec01e..6b8de709f1 100644 --- a/haskell/haskell-strict/haskell-strict.info +++ b/haskell/haskell-strict/haskell-strict.info @@ -1,10 +1,12 @@ PRGNAM="haskell-strict" -VERSION="0.3.2" +VERSION="0.4.0.1" HOMEPAGE="https://hackage.haskell.org/package/strict" -DOWNLOAD="https://hackage.haskell.org/packages/archive/strict/0.3.2/strict-0.3.2.tar.gz" -MD5SUM="35442576f7bd5b12b961c64144c6cb2d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/strict/0.4.0.1/strict-0.4.0.1.tar.gz \ + https://hackage.haskell.org/package/strict-0.4.0.1/revision/3.cabal" +MD5SUM="238bd8d349b2353da531b211c1307197 \ + 48eac0c3d7497e28c26aa6e6d98fde98" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ghc" +REQUIRES="haskell-these" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild index 84aedb8b2d..3ef081b5fe 100644 --- a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild +++ b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-stringsearch VERSION=${VERSION:-0.3.6.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-stringsearch/haskell-stringsearch.info b/haskell/haskell-stringsearch/haskell-stringsearch.info index 986b39f3f6..d817065f17 100644 --- a/haskell/haskell-stringsearch/haskell-stringsearch.info +++ b/haskell/haskell-stringsearch/haskell-stringsearch.info @@ -1,8 +1,10 @@ PRGNAM="haskell-stringsearch" VERSION="0.3.6.6" HOMEPAGE="https://hackage.haskell.org/package/stringsearch" -DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz" -MD5SUM="b7455a2d8462a55631e261e2981e1bce" +DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz \ + https://hackage.haskell.org/package/stringsearch-0.3.6.6/revision/1.cabal" +MD5SUM="b7455a2d8462a55631e261e2981e1bce \ + 83b8823048c13f6052c0df4f73e4f3de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-tar/haskell-tar.SlackBuild b/haskell/haskell-tar/haskell-tar.SlackBuild index 647aa2f72d..6adfc155c5 100644 --- a/haskell/haskell-tar/haskell-tar.SlackBuild +++ b/haskell/haskell-tar/haskell-tar.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-tar -VERSION=${VERSION:-0.5.1.0} +VERSION=${VERSION:-0.5.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/4.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-tar/haskell-tar.info b/haskell/haskell-tar/haskell-tar.info index 477bdee38a..ef614d63a8 100644 --- a/haskell/haskell-tar/haskell-tar.info +++ b/haskell/haskell-tar/haskell-tar.info @@ -1,8 +1,10 @@ PRGNAM="haskell-tar" -VERSION="0.5.1.0" +VERSION="0.5.1.1" HOMEPAGE="https://hackage.haskell.org/package/tar" -DOWNLOAD="https://hackage.haskell.org/packages/archive/tar/0.5.1.0/tar-0.5.1.0.tar.gz" -MD5SUM="a96881505f7b4583734947f58547cc65" +DOWNLOAD="https://hackage.haskell.org/packages/archive/tar/0.5.1.1/tar-0.5.1.1.tar.gz \ + https://hackage.haskell.org/package/tar-0.5.1.1/revision/4.cabal" +MD5SUM="03938648a3d6d62cfd27d1f9d5d86f8b \ + a6ed69bbc8cab5c56d3c10066949f80c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-temporary/haskell-temporary.info b/haskell/haskell-temporary/haskell-temporary.info index 9b857884c9..cc5d008b48 100644 --- a/haskell/haskell-temporary/haskell-temporary.info +++ b/haskell/haskell-temporary/haskell-temporary.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/temporary/1.3/temporary-1 MD5SUM="3f2d619133f19080886b8aa81da7f419" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-exceptions haskell-random" +REQUIRES="haskell-random" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info b/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info index 97f982ee3b..520555261e 100644 --- a/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info +++ b/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/package/test-framework-hunit-0.3.0.2/test- MD5SUM="71fb3dd76524682c437208b5b5ef1adb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-extensible-exceptions haskell-HUnit haskell-test-framework" +REQUIRES="haskell-HUnit haskell-test-framework" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild index 9849dc19ec..f727bbd6c3 100644 --- a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild +++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-test-framework-quickcheck2 VERSION=${VERSION:-0.3.0.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info index 3da287860c..c77cd1a6a5 100644 --- a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info +++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info @@ -1,10 +1,12 @@ PRGNAM="haskell-test-framework-quickcheck2" VERSION="0.3.0.5" HOMEPAGE="https://hackage.haskell.org/package/test-framework-quickcheck2" -DOWNLOAD="https://hackage.haskell.org/packages/archive/test-framework-quickcheck2/0.3.0.5/test-framework-quickcheck2-0.3.0.5.tar.gz" -MD5SUM="36e647fb6df62c1ab06a8c85d2b348ec" +DOWNLOAD="https://hackage.haskell.org/packages/archive/test-framework-quickcheck2/0.3.0.5/test-framework-quickcheck2-0.3.0.5.tar.gz \ + https://hackage.haskell.org/package/test-framework-quickcheck2-0.3.0.5/revision/3.cabal" +MD5SUM="36e647fb6df62c1ab06a8c85d2b348ec \ + 893656687d863942a68a59d066f5c146" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-extensible-exceptions haskell-QuickCheck haskell-test-framework" +REQUIRES="haskell-QuickCheck haskell-test-framework" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-test-framework/haskell-test-framework.SlackBuild b/haskell/haskell-test-framework/haskell-test-framework.SlackBuild index f006545c00..89d304238f 100644 --- a/haskell/haskell-test-framework/haskell-test-framework.SlackBuild +++ b/haskell/haskell-test-framework/haskell-test-framework.SlackBuild @@ -77,6 +77,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/8.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-test-framework/haskell-test-framework.info b/haskell/haskell-test-framework/haskell-test-framework.info index 90a26607c2..32a1d422ef 100644 --- a/haskell/haskell-test-framework/haskell-test-framework.info +++ b/haskell/haskell-test-framework/haskell-test-framework.info @@ -1,8 +1,10 @@ PRGNAM="haskell-test-framework" VERSION="0.8.2.0" HOMEPAGE="https://hackage.haskell.org/package/test-framework" -DOWNLOAD="https://hackage.haskell.org/packages/archive/test-framework/0.8.2.0/test-framework-0.8.2.0.tar.gz" -MD5SUM="a7e351ab89c8513d2e41f5179c72e985" +DOWNLOAD="https://hackage.haskell.org/packages/archive/test-framework/0.8.2.0/test-framework-0.8.2.0.tar.gz \ + https://hackage.haskell.org/package/test-framework-0.8.2.0/revision/8.cabal" +MD5SUM="a7e351ab89c8513d2e41f5179c72e985\ + 26f4e157fbecb21dcc0d159686918d61" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-extensible-exceptions haskell-ansi-wl-pprint haskell-hostname haskell-old-locale haskell-random haskell-regex-posix haskell-xml" diff --git a/haskell/haskell-texmath/README b/haskell/haskell-texmath/README index e3e126da69..99813cca30 100644 --- a/haskell/haskell-texmath/README +++ b/haskell/haskell-texmath/README @@ -1,6 +1,6 @@ -This is a library for Haskell programs, providing functions to convert LaTeX -math formulas to presentation MathML. It supports basic LaTeX and AMS -extensions, but not macros. +This is a library for Haskell programs, providing functions to convert +LaTeX math formulas to presentation MathML. It supports basic LaTeX +and AMS extensions, but not macros. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-texmath/haskell-texmath.SlackBuild b/haskell/haskell-texmath/haskell-texmath.SlackBuild index 61f90be52e..ae49afb09f 100644 --- a/haskell/haskell-texmath/haskell-texmath.SlackBuild +++ b/haskell/haskell-texmath/haskell-texmath.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-texmath -VERSION=${VERSION:-0.11.1.1} +VERSION=${VERSION:-0.12.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-texmath/haskell-texmath.info b/haskell/haskell-texmath/haskell-texmath.info index 1fdf5339d7..39018d69e7 100644 --- a/haskell/haskell-texmath/haskell-texmath.info +++ b/haskell/haskell-texmath/haskell-texmath.info @@ -1,10 +1,10 @@ PRGNAM="haskell-texmath" -VERSION="0.11.1.1" +VERSION="0.12.4" HOMEPAGE="https://hackage.haskell.org/package/texmath" -DOWNLOAD="https://hackage.haskell.org/package/texmath-0.11.1.1/texmath-0.11.1.1.tar.gz" -MD5SUM="a3ec9c0d802008253a097dedd0b91348" +DOWNLOAD="https://hackage.haskell.org/package/texmath-0.12.4/texmath-0.12.4.tar.gz" +MD5SUM="a4cba6e7fde2a559626a3198324a4021" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-syb haskell-xml haskell-pandoc-types haskell-network-uri" +REQUIRES="haskell-xml haskell-pandoc-types haskell-network-uri haskell-split" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-text-conversions/README b/haskell/haskell-text-conversions/README new file mode 100644 index 0000000000..d6400f4f2b --- /dev/null +++ b/haskell/haskell-text-conversions/README @@ -0,0 +1,4 @@ +Safe conversions between textual types + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-text-conversions/doinst.sh b/haskell/haskell-text-conversions/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-text-conversions/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-text-conversions/haskell-text-conversions.SlackBuild b/haskell/haskell-text-conversions/haskell-text-conversions.SlackBuild new file mode 100644 index 0000000000..3a11f7e48c --- /dev/null +++ b/haskell/haskell-text-conversions/haskell-text-conversions.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for haskell-text-conversions + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# Copyright 2024 Andrew Clemons, Tokyo Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-text-conversions +VERSION=${VERSION:-0.3.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-text-conversions/haskell-text-conversions.info b/haskell/haskell-text-conversions/haskell-text-conversions.info new file mode 100644 index 0000000000..b4f6758b6b --- /dev/null +++ b/haskell/haskell-text-conversions/haskell-text-conversions.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-text-conversions" +VERSION="0.3.1.1" +HOMEPAGE="https://hackage.haskell.org/package/text-conversions" +DOWNLOAD="https://hackage.haskell.org/package/text-conversions-0.3.1.1/text-conversions-0.3.1.1.tar.gz" +MD5SUM="d914d51b2b7852e14db7f8baf511a606" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-base16-bytestring haskell-base64-bytestring haskell-errors" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-hackage-security/slack-desc b/haskell/haskell-text-conversions/slack-desc index 0c3b29f4f5..7e1f9fc56d 100644 --- a/haskell/haskell-hackage-security/slack-desc +++ b/haskell/haskell-text-conversions/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-hackage-security: haskell-hackage-security (Hackage security library) -haskell-hackage-security: -haskell-hackage-security: The hackage security library provides both server and client utilities -haskell-hackage-security: for securing the Hackage package server. -haskell-hackage-security: -haskell-hackage-security: -haskell-hackage-security: -haskell-hackage-security: -haskell-hackage-security: -haskell-hackage-security: -haskell-hackage-security: +haskell-text-conversions: haskell-text-conversions (Safe conversions between textual types) +haskell-text-conversions: +haskell-text-conversions: Safe conversions between textual types. +haskell-text-conversions: +haskell-text-conversions: +haskell-text-conversions: https://hackage.haskell.org/package/text-conversions +haskell-text-conversions: +haskell-text-conversions: +haskell-text-conversions: +haskell-text-conversions: +haskell-text-conversions: diff --git a/haskell/haskell-text-icu/haskell-text-icu.SlackBuild b/haskell/haskell-text-icu/haskell-text-icu.SlackBuild index f0dc28680c..d05278a617 100644 --- a/haskell/haskell-text-icu/haskell-text-icu.SlackBuild +++ b/haskell/haskell-text-icu/haskell-text-icu.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-text-icu -VERSION=${VERSION:-0.7.0.1} +VERSION=${VERSION:-0.7.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-text-icu/haskell-text-icu.info b/haskell/haskell-text-icu/haskell-text-icu.info index b7406ceca3..02318d260c 100644 --- a/haskell/haskell-text-icu/haskell-text-icu.info +++ b/haskell/haskell-text-icu/haskell-text-icu.info @@ -1,8 +1,8 @@ PRGNAM="haskell-text-icu" -VERSION="0.7.0.1" +VERSION="0.7.1.0" HOMEPAGE="https://hackage.haskell.org/package/text-icu" -DOWNLOAD="https://hackage.haskell.org/packages/archive/text-icu/0.7.0.1/text-icu-0.7.0.1.tar.gz" -MD5SUM="f2e6c2c189730d6600270763112aa693" +DOWNLOAD="https://hackage.haskell.org/packages/archive/text-icu/0.7.1.0/text-icu-0.7.1.0.tar.gz" +MD5SUM="0d6c8024e4fd91c630b90654bac43564" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild b/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild index dc630a20dd..50d2074770 100644 --- a/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild +++ b/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-text-metrics -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-text-metrics/haskell-text-metrics.info b/haskell/haskell-text-metrics/haskell-text-metrics.info index aea7fd40f7..2d95922f63 100644 --- a/haskell/haskell-text-metrics/haskell-text-metrics.info +++ b/haskell/haskell-text-metrics/haskell-text-metrics.info @@ -1,8 +1,8 @@ PRGNAM="haskell-text-metrics" -VERSION="0.3.0" +VERSION="0.3.2" HOMEPAGE="https://hackage.haskell.org/package/text-metrics" -DOWNLOAD="https://hackage.haskell.org/packages/archive/text-metrics/0.3.0/text-metrics-0.3.0.tar.gz" -MD5SUM="f8c4294130f85091299d3fd0b7534a5c" +DOWNLOAD="https://hackage.haskell.org/packages/archive/text-metrics/0.3.2/text-metrics-0.3.2.tar.gz" +MD5SUM="1a49b84a5768559db2daa8db7eb7799c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-vector" diff --git a/haskell/haskell-text-short/README b/haskell/haskell-text-short/README new file mode 100644 index 0000000000..06458469cc --- /dev/null +++ b/haskell/haskell-text-short/README @@ -0,0 +1,4 @@ +Memory-efficient representation of Unicode text strings + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-text-short/doinst.sh b/haskell/haskell-text-short/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-text-short/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-text-short/haskell-text-short.SlackBuild b/haskell/haskell-text-short/haskell-text-short.SlackBuild new file mode 100644 index 0000000000..a9368341ac --- /dev/null +++ b/haskell/haskell-text-short/haskell-text-short.SlackBuild @@ -0,0 +1,129 @@ +#!/bin/bash + +# Slackware build script for haskell-text-short + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-text-short +VERSION=${VERSION:-0.1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-text-short/haskell-text-short.info b/haskell/haskell-text-short/haskell-text-short.info new file mode 100644 index 0000000000..c50145f306 --- /dev/null +++ b/haskell/haskell-text-short/haskell-text-short.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-text-short" +VERSION="0.1.4" +HOMEPAGE="https://hackage.haskell.org/package/text-short" +DOWNLOAD="https://hackage.haskell.org/package/text-short-0.1.4/text-short-0.1.4.tar.gz \ + https://hackage.haskell.org/package/text-short-0.1.4/revision/2.cabal" +MD5SUM="5ef2fe0efd36bc6b3725b20095768374 \ + b3b3726666ccec1a67be4e29ee77a22f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hashable" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-text-short/slack-desc b/haskell/haskell-text-short/slack-desc new file mode 100644 index 0000000000..9b3a178fe3 --- /dev/null +++ b/haskell/haskell-text-short/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-text-short: haskell-text-short (Memory-efficient rep. of Unicode text strings) +haskell-text-short: +haskell-text-short: This package provides the ShortText type which is suitable for +haskell-text-short: keeping many short strings in memory. This is similiar to how +haskell-text-short: ShortByteString relates to ByteString. +haskell-text-short: +haskell-text-short: https://hackage.haskell.org/package/text-short +haskell-text-short: +haskell-text-short: +haskell-text-short: +haskell-text-short: diff --git a/haskell/haskell-th-compat/README b/haskell/haskell-th-compat/README new file mode 100644 index 0000000000..c0ac1cdd54 --- /dev/null +++ b/haskell/haskell-th-compat/README @@ -0,0 +1,6 @@ +This package defines a Language.Haskell.TH.Syntax.Compat module, which +backports the Quote and Code types to work across a wide range +of template-haskell versions. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-th-compat/doinst.sh b/haskell/haskell-th-compat/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-th-compat/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-mustache/haskell-mustache.SlackBuild b/haskell/haskell-th-compat/haskell-th-compat.SlackBuild index c991d072d0..6bbc158eef 100644 --- a/haskell/haskell-mustache/haskell-mustache.SlackBuild +++ b/haskell/haskell-th-compat/haskell-th-compat.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for haskell-mustache +# Slackware build script for haskell-th-compat -# Copyright 2018 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2022 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=haskell-mustache -VERSION=${VERSION:-2.3.0} +PRGNAM=haskell-th-compat +VERSION=${VERSION:-0.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-th-compat/haskell-th-compat.info b/haskell/haskell-th-compat/haskell-th-compat.info new file mode 100644 index 0000000000..f091150322 --- /dev/null +++ b/haskell/haskell-th-compat/haskell-th-compat.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-th-compat" +VERSION="0.1.3" +HOMEPAGE="https://hackage.haskell.org/package/th-compat" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-compat/0.1.3/th-compat-0.1.3.tar.gz" +MD5SUM="0348e6fa3d9c25af647207122244acd9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-th-compat/slack-desc b/haskell/haskell-th-compat/slack-desc new file mode 100644 index 0000000000..d4fc383f21 --- /dev/null +++ b/haskell/haskell-th-compat/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-th-compat: haskell-th-compat (Backward-compatible Quote and Code types) +haskell-th-compat: +haskell-th-compat: This package defines a Language.Haskell.TH.Syntax.Compat module, +haskell-th-compat: which backports the Quote and Code types to work across a wide range +haskell-th-compat: of template-haskell versions. On recent versions of template-haskell +haskell-th-compat: (2.17.0.0 or later), this module simply reexports Quote and Code +haskell-th-compat: from Language.Haskell.TH.Syntax. +haskell-th-compat: +haskell-th-compat: +haskell-th-compat: +haskell-th-compat: diff --git a/haskell/haskell-th-expand-syns/haskell-th-expand-syns.SlackBuild b/haskell/haskell-th-expand-syns/haskell-th-expand-syns.SlackBuild index 10f1964a5a..088f4236df 100644 --- a/haskell/haskell-th-expand-syns/haskell-th-expand-syns.SlackBuild +++ b/haskell/haskell-th-expand-syns/haskell-th-expand-syns.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-th-expand-syns -VERSION=${VERSION:-0.4.4.0} +VERSION=${VERSION:-0.4.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-th-expand-syns/haskell-th-expand-syns.info b/haskell/haskell-th-expand-syns/haskell-th-expand-syns.info index 7ef09c95f2..3ad3a08865 100644 --- a/haskell/haskell-th-expand-syns/haskell-th-expand-syns.info +++ b/haskell/haskell-th-expand-syns/haskell-th-expand-syns.info @@ -1,10 +1,10 @@ PRGNAM="haskell-th-expand-syns" -VERSION="0.4.4.0" +VERSION="0.4.9.0" HOMEPAGE="https://hackage.haskell.org/package/th-expand-syns" -DOWNLOAD="https://hackage.haskell.org/packages/archive/th-expand-syns/0.4.4.0/th-expand-syns-0.4.4.0.tar.gz" -MD5SUM="08b00a3617f1df695a4a189471dbac09" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-expand-syns/0.4.9.0/th-expand-syns-0.4.9.0.tar.gz" +MD5SUM="6d54bbf8119941deee3c9f84730d75a5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-syb" +REQUIRES="haskell-syb haskell-th-abstraction" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-th-lift-instances/haskell-th-lift-instances.SlackBuild b/haskell/haskell-th-lift-instances/haskell-th-lift-instances.SlackBuild index addf46e441..b938010c4c 100644 --- a/haskell/haskell-th-lift-instances/haskell-th-lift-instances.SlackBuild +++ b/haskell/haskell-th-lift-instances/haskell-th-lift-instances.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-th-lift-instances -VERSION=${VERSION:-0.1.11} +VERSION=${VERSION:-0.1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-th-lift-instances/haskell-th-lift-instances.info b/haskell/haskell-th-lift-instances/haskell-th-lift-instances.info index b3ca336dae..ed206cddd3 100644 --- a/haskell/haskell-th-lift-instances/haskell-th-lift-instances.info +++ b/haskell/haskell-th-lift-instances/haskell-th-lift-instances.info @@ -1,8 +1,8 @@ PRGNAM="haskell-th-lift-instances" -VERSION="0.1.11" +VERSION="0.1.19" HOMEPAGE="https://hackage.haskell.org/package/th-lift-instances" -DOWNLOAD="https://hackage.haskell.org/packages/archive/th-lift-instances/0.1.11/th-lift-instances-0.1.11.tar.gz" -MD5SUM="52a13a10dd24d94ff72b2a7a3b604054" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-lift-instances/0.1.19/th-lift-instances-0.1.19.tar.gz" +MD5SUM="812e208c805eea350099c794be7bbff2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-th-lift haskell-vector" diff --git a/haskell/haskell-th-lift/haskell-th-lift.SlackBuild b/haskell/haskell-th-lift/haskell-th-lift.SlackBuild index db8dc1447b..e993d41382 100644 --- a/haskell/haskell-th-lift/haskell-th-lift.SlackBuild +++ b/haskell/haskell-th-lift/haskell-th-lift.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-th-lift -VERSION=${VERSION:-0.7.11} +VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -107,7 +108,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/$PRGNAM-$VERSION -cp -a BSD3 COPYING Changelog GPL-2 $PKG/usr/doc/$PRGNAM-$VERSION +cp -a BSD3 CHANGELOG.md COPYING GPL-2 $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/haskell/haskell-th-lift/haskell-th-lift.info b/haskell/haskell-th-lift/haskell-th-lift.info index 595097edc7..c1e5e94395 100644 --- a/haskell/haskell-th-lift/haskell-th-lift.info +++ b/haskell/haskell-th-lift/haskell-th-lift.info @@ -1,8 +1,10 @@ PRGNAM="haskell-th-lift" -VERSION="0.7.11" +VERSION="0.8.2" HOMEPAGE="https://hackage.haskell.org/package/th-lift" -DOWNLOAD="https://hackage.haskell.org/packages/archive/th-lift/0.7.11/th-lift-0.7.11.tar.gz" -MD5SUM="876c575d18a8457469aa5cdf4bde4380" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-lift/0.8.2/th-lift-0.8.2.tar.gz \ + https://hackage.haskell.org/package/th-lift-0.8.2/revision/1.cabal" +MD5SUM="74e7a3fc5f96d55eba07eb1daf905172 \ + ecaca71ca29eaf4f6db1ee6d10ba9cb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-th-abstraction" diff --git a/haskell/haskell-th-orphans/haskell-th-orphans.SlackBuild b/haskell/haskell-th-orphans/haskell-th-orphans.SlackBuild index baf0146d3f..4f1bf56ecf 100644 --- a/haskell/haskell-th-orphans/haskell-th-orphans.SlackBuild +++ b/haskell/haskell-th-orphans/haskell-th-orphans.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-th-orphans -VERSION=${VERSION:-0.13.6} +VERSION=${VERSION:-0.13.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-th-orphans/haskell-th-orphans.info b/haskell/haskell-th-orphans/haskell-th-orphans.info index 50535ae8f8..2ef02c8439 100644 --- a/haskell/haskell-th-orphans/haskell-th-orphans.info +++ b/haskell/haskell-th-orphans/haskell-th-orphans.info @@ -1,10 +1,12 @@ PRGNAM="haskell-th-orphans" -VERSION="0.13.6" +VERSION="0.13.12" HOMEPAGE="https://hackage.haskell.org/package/th-orphans" -DOWNLOAD="https://hackage.haskell.org/packages/archive/th-orphans/0.13.6/th-orphans-0.13.6.tar.gz" -MD5SUM="fe28ad35158bb9771b4eaa0ec316473f" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-orphans/0.13.12/th-orphans-0.13.12.tar.gz \ + https://hackage.haskell.org/package/th-orphans-0.13.12/revision/2.cabal" +MD5SUM="5d466239dcad0859a9112c5feda39d5c \ + 1dcc9d601ee69d2f01e83be48facaab6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-generic-deriving haskell-th-lift haskell-th-lift-instances haskell-th-reify-many" +REQUIRES="haskell-generic-deriving haskell-th-lift-instances haskell-th-reify-many haskell-th-compat" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild b/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild index 4f65c2edc1..81482288d3 100644 --- a/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild +++ b/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-th-reify-many -VERSION=${VERSION:-0.1.8} +VERSION=${VERSION:-0.1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-th-reify-many/haskell-th-reify-many.info b/haskell/haskell-th-reify-many/haskell-th-reify-many.info index 807adaa1c8..1ba4eff7ac 100644 --- a/haskell/haskell-th-reify-many/haskell-th-reify-many.info +++ b/haskell/haskell-th-reify-many/haskell-th-reify-many.info @@ -1,8 +1,8 @@ PRGNAM="haskell-th-reify-many" -VERSION="0.1.8" +VERSION="0.1.10" HOMEPAGE="https://hackage.haskell.org/package/th-reify-many" -DOWNLOAD="https://hackage.haskell.org/packages/archive/th-reify-many/0.1.8/th-reify-many-0.1.8.tar.gz" -MD5SUM="efb3e66f93355268b7cd9c2f1dca522d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-reify-many/0.1.10/th-reify-many-0.1.10.tar.gz" +MD5SUM="66b946da066b8f7d572ac156c0742d39" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-safe haskell-th-expand-syns" diff --git a/haskell/haskell-th-utilities/haskell-th-utilities.SlackBuild b/haskell/haskell-th-utilities/haskell-th-utilities.SlackBuild index a7ac6191b4..d8bafc813b 100644 --- a/haskell/haskell-th-utilities/haskell-th-utilities.SlackBuild +++ b/haskell/haskell-th-utilities/haskell-th-utilities.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-th-utilities -VERSION=${VERSION:-0.2.0.1} +VERSION=${VERSION:-0.2.4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-th-utilities/haskell-th-utilities.info b/haskell/haskell-th-utilities/haskell-th-utilities.info index 4c24f0cf57..ba2ca7ec84 100644 --- a/haskell/haskell-th-utilities/haskell-th-utilities.info +++ b/haskell/haskell-th-utilities/haskell-th-utilities.info @@ -1,10 +1,10 @@ PRGNAM="haskell-th-utilities" -VERSION="0.2.0.1" +VERSION="0.2.4.3" HOMEPAGE="https://hackage.haskell.org/package/th-utilities" -DOWNLOAD="https://hackage.haskell.org/packages/archive/th-utilities/0.2.0.1/th-utilities-0.2.0.1.tar.gz" -MD5SUM="2caf2260cdff51506c564946d610e527" +DOWNLOAD="https://hackage.haskell.org/packages/archive/th-utilities/0.2.4.3/th-utilities-0.2.4.3.tar.gz" +MD5SUM="16598cf7eda6a0089bc8168ac22945ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-primitive haskell-syb haskell-th-orphans" +REQUIRES="haskell-th-orphans" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-these/README b/haskell/haskell-these/README new file mode 100644 index 0000000000..6bc3a19803 --- /dev/null +++ b/haskell/haskell-these/README @@ -0,0 +1,4 @@ +An either-or-both data type. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-these/doinst.sh b/haskell/haskell-these/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-these/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-these/haskell-these.SlackBuild b/haskell/haskell-these/haskell-these.SlackBuild new file mode 100644 index 0000000000..f0ca980da3 --- /dev/null +++ b/haskell/haskell-these/haskell-these.SlackBuild @@ -0,0 +1,129 @@ +#!/bin/bash + +# Slackware build script for haskell-these + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-these +VERSION=${VERSION:-1.1.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/5.cabal > $SRCNAM.cabal +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-these/haskell-these.info b/haskell/haskell-these/haskell-these.info new file mode 100644 index 0000000000..ea88780fcb --- /dev/null +++ b/haskell/haskell-these/haskell-these.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-these" +VERSION="1.1.1.1" +HOMEPAGE="https://hackage.haskell.org/package/these" +DOWNLOAD="https://hackage.haskell.org/package/these-1.1.1.1/these-1.1.1.1.tar.gz \ + https://hackage.haskell.org/package/these-1.1.1.1/revision/5.cabal" +MD5SUM="a487840acba6e905a9c8e7eb1f44eeac \ + 10965b74cc38b3087d2ac92a19647602" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-assoc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-these/slack-desc b/haskell/haskell-these/slack-desc new file mode 100644 index 0000000000..edc2eeaebf --- /dev/null +++ b/haskell/haskell-these/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-these: haskell-these (An either-or-both data type.) +haskell-these: +haskell-these: This package provides a data type These a b which can hold a value +haskell-these: of either type or values of each type. +haskell-these: +haskell-these: https://hackage.haskell.org/package/these +haskell-these: +haskell-these: +haskell-these: +haskell-these: +haskell-these: diff --git a/haskell/haskell-time-compat/README b/haskell/haskell-time-compat/README new file mode 100644 index 0000000000..000adbf3b4 --- /dev/null +++ b/haskell/haskell-time-compat/README @@ -0,0 +1,4 @@ +Compatibility package for time + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-time-compat/doinst.sh b/haskell/haskell-time-compat/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-time-compat/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-time-compat/haskell-time-compat.SlackBuild b/haskell/haskell-time-compat/haskell-time-compat.SlackBuild new file mode 100644 index 0000000000..c2980282fd --- /dev/null +++ b/haskell/haskell-time-compat/haskell-time-compat.SlackBuild @@ -0,0 +1,129 @@ +#!/bin/bash + +# Slackware build script for haskell-time-compat + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-time-compat +VERSION=${VERSION:-1.9.6.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-time-compat/haskell-time-compat.info b/haskell/haskell-time-compat/haskell-time-compat.info new file mode 100644 index 0000000000..454ccc9544 --- /dev/null +++ b/haskell/haskell-time-compat/haskell-time-compat.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-time-compat" +VERSION="1.9.6.1" +HOMEPAGE="https://hackage.haskell.org/package/time-compat" +DOWNLOAD="https://hackage.haskell.org/package/time-compat-1.9.6.1/time-compat-1.9.6.1.tar.gz \ + https://hackage.haskell.org/package/time-compat-1.9.6.1/revision/3.cabal" +MD5SUM="dffa5bc6156dbed903b8c9540b7bf82d \ + 6db46f4316b163751fc1dafa2f5cf3b0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-hashable" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-time-compat/slack-desc b/haskell/haskell-time-compat/slack-desc new file mode 100644 index 0000000000..0febabc74d --- /dev/null +++ b/haskell/haskell-time-compat/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-time-compat: haskell-time-compat (Compatibility package for time) +haskell-time-compat: +haskell-time-compat: This packages tries to compat as much of time features as possible. +haskell-time-compat: +haskell-time-compat: https://hackage.haskell.org/package/time-compat +haskell-time-compat: +haskell-time-compat: +haskell-time-compat: +haskell-time-compat: +haskell-time-compat: +haskell-time-compat: diff --git a/haskell/haskell-tls/haskell-tls.SlackBuild b/haskell/haskell-tls/haskell-tls.SlackBuild index 4ee6903a69..9f99467d26 100644 --- a/haskell/haskell-tls/haskell-tls.SlackBuild +++ b/haskell/haskell-tls/haskell-tls.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-tls -VERSION=${VERSION:-1.4.1} +VERSION=${VERSION:-1.5.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-tls/haskell-tls.info b/haskell/haskell-tls/haskell-tls.info index 4e0b2e4830..ec20a33827 100644 --- a/haskell/haskell-tls/haskell-tls.info +++ b/haskell/haskell-tls/haskell-tls.info @@ -1,10 +1,10 @@ PRGNAM="haskell-tls" -VERSION="1.4.1" +VERSION="1.5.6" HOMEPAGE="https://hackage.haskell.org/package/tls" -DOWNLOAD="https://hackage.haskell.org/packages/archive/tls/1.4.1/tls-1.4.1.tar.gz" -MD5SUM="33c2a4eb5b1fb5de6e9196324aea31d3" +DOWNLOAD="https://hackage.haskell.org/packages/archive/tls/1.5.6/tls-1.5.6.tar.gz" +MD5SUM="e1d4e2d8a5887569901a1ac0d1099034" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-encoding haskell-asn1-types haskell-async haskell-byteable haskell-cereal haskell-cipher-aes haskell-cipher-des haskell-cipher-rc4 haskell-crypto-cipher-types haskell-crypto-numbers haskell-crypto-pubkey haskell-crypto-pubkey-types haskell-crypto-random haskell-cryptohash haskell-data-default-class haskell-network haskell-x509 haskell-x509-store haskell-x509-validation" +REQUIRES="haskell-async haskell-cereal haskell-cipher-aes haskell-cipher-des haskell-cipher-rc4 haskell-crypto-pubkey haskell-network haskell-x509-validation" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-type-equality/README b/haskell/haskell-type-equality/README new file mode 100644 index 0000000000..6bb553e1c3 --- /dev/null +++ b/haskell/haskell-type-equality/README @@ -0,0 +1,4 @@ +Data.Type.Equality compat package + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-type-equality/doinst.sh b/haskell/haskell-type-equality/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-type-equality/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-type-equality/haskell-type-equality.SlackBuild b/haskell/haskell-type-equality/haskell-type-equality.SlackBuild new file mode 100644 index 0000000000..b16fa2d8ba --- /dev/null +++ b/haskell/haskell-type-equality/haskell-type-equality.SlackBuild @@ -0,0 +1,129 @@ +#!/bin/bash + +# Slackware build script for haskell-type-equality + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-type-equality +VERSION=${VERSION:-1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/3.cabal > $SRCNAM.cabal +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-type-equality/haskell-type-equality.info b/haskell/haskell-type-equality/haskell-type-equality.info new file mode 100644 index 0000000000..cdbae5095d --- /dev/null +++ b/haskell/haskell-type-equality/haskell-type-equality.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-type-equality" +VERSION="1" +HOMEPAGE="https://hackage.haskell.org/package/type-equality" +DOWNLOAD="https://hackage.haskell.org/package/type-equality-1/type-equality-1.tar.gz \ + https://hackage.haskell.org/package/type-equality-1/revision/3.cabal" +MD5SUM="b7997763761b79e1b651d5815b1aae3a \ + 5d5394802e490f15fda33b304465128b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-type-equality/slack-desc b/haskell/haskell-type-equality/slack-desc new file mode 100644 index 0000000000..860df52c78 --- /dev/null +++ b/haskell/haskell-type-equality/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-type-equality: haskell-type-equality (Data.Type.Equality compat package) +haskell-type-equality: +haskell-type-equality: This library defines a propositional equality data type, shims +haskell-type-equality: Data.Type.Equality as well as possible for older GHCs (< 7.8). +haskell-type-equality: +haskell-type-equality: https://hackage.haskell.org/package/type-equality +haskell-type-equality: +haskell-type-equality: +haskell-type-equality: +haskell-type-equality: +haskell-type-equality: diff --git a/haskell/haskell-typed-process/haskell-typed-process.SlackBuild b/haskell/haskell-typed-process/haskell-typed-process.SlackBuild index 76761a53b3..2afbe20e5b 100644 --- a/haskell/haskell-typed-process/haskell-typed-process.SlackBuild +++ b/haskell/haskell-typed-process/haskell-typed-process.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-typed-process -VERSION=${VERSION:-0.2.3.0} +VERSION=${VERSION:-0.2.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-typed-process/haskell-typed-process.info b/haskell/haskell-typed-process/haskell-typed-process.info index b27043aed9..6e7bb8ffe6 100644 --- a/haskell/haskell-typed-process/haskell-typed-process.info +++ b/haskell/haskell-typed-process/haskell-typed-process.info @@ -1,10 +1,10 @@ PRGNAM="haskell-typed-process" -VERSION="0.2.3.0" +VERSION="0.2.8.0" HOMEPAGE="https://hackage.haskell.org/package/typed-process" -DOWNLOAD="https://hackage.haskell.org/packages/archive/typed-process/0.2.3.0/typed-process-0.2.3.0.tar.gz" -MD5SUM="a066c8e0917a4308290e53efba319864" +DOWNLOAD="https://hackage.haskell.org/packages/archive/typed-process/0.2.8.0/typed-process-0.2.8.0.tar.gz" +MD5SUM="fae1f7b70160428d72018ea9ddff7a35" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-async" +REQUIRES="haskell-async haskell-unliftio-core" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-unicode-collation/README b/haskell/haskell-unicode-collation/README new file mode 100644 index 0000000000..01838a1eee --- /dev/null +++ b/haskell/haskell-unicode-collation/README @@ -0,0 +1,4 @@ +Haskell implementation of the Unicode Collation Algorithm + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-unicode-collation/doinst.sh b/haskell/haskell-unicode-collation/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-unicode-collation/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-unicode-collation/haskell-unicode-collation.SlackBuild b/haskell/haskell-unicode-collation/haskell-unicode-collation.SlackBuild new file mode 100644 index 0000000000..474e10be5c --- /dev/null +++ b/haskell/haskell-unicode-collation/haskell-unicode-collation.SlackBuild @@ -0,0 +1,126 @@ +#!/bin/bash + +# Slackware build script for haskell-unicode-collation + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# Copyright 2023-2024 Andrew Clemons, Tokyo Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-unicode-collation +VERSION=${VERSION:-0.1.3.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat << EOF > Setup.hs +module Main (main) where + +import Distribution.Simple + +main :: IO () +main = defaultMain +EOF +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-unicode-collation/haskell-unicode-collation.info b/haskell/haskell-unicode-collation/haskell-unicode-collation.info new file mode 100644 index 0000000000..82febf8704 --- /dev/null +++ b/haskell/haskell-unicode-collation/haskell-unicode-collation.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-unicode-collation" +VERSION="0.1.3.6" +HOMEPAGE="https://hackage.haskell.org/package/unicode-collation" +DOWNLOAD="https://hackage.haskell.org/package/unicode-collation-0.1.3.6/unicode-collation-0.1.3.6.tar.gz" +MD5SUM="3da22229e5a005f28327564672948e2e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-th-lift-instances" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-unicode-collation/slack-desc b/haskell/haskell-unicode-collation/slack-desc new file mode 100644 index 0000000000..611668df3b --- /dev/null +++ b/haskell/haskell-unicode-collation/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-unicode-collation: haskell-unicode-collation (implementation of Unicode Collation) +haskell-unicode-collation: +haskell-unicode-collation: This library provides a pure Haskell implementation of the Unicode +haskell-unicode-collation: Collation Algorithm described at +haskell-unicode-collation: http://www.unicode.org/reports/tr10/. +haskell-unicode-collation: +haskell-unicode-collation: https://hackage.haskell.org/package/unicode-collation +haskell-unicode-collation: +haskell-unicode-collation: +haskell-unicode-collation: +haskell-unicode-collation: diff --git a/haskell/haskell-uniplate/README b/haskell/haskell-uniplate/README new file mode 100644 index 0000000000..c2236d4d80 --- /dev/null +++ b/haskell/haskell-uniplate/README @@ -0,0 +1,4 @@ +Help writing simple, concise and fast generic operations. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-uniplate/doinst.sh b/haskell/haskell-uniplate/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-uniplate/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-uniplate/haskell-uniplate.SlackBuild b/haskell/haskell-uniplate/haskell-uniplate.SlackBuild new file mode 100644 index 0000000000..204db0a4f8 --- /dev/null +++ b/haskell/haskell-uniplate/haskell-uniplate.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-uniplate + +# Copyright 2022 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-uniplate +VERSION=${VERSION:-1.6.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES.txt LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-uniplate/haskell-uniplate.info b/haskell/haskell-uniplate/haskell-uniplate.info new file mode 100644 index 0000000000..84a9af8a4e --- /dev/null +++ b/haskell/haskell-uniplate/haskell-uniplate.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-uniplate" +VERSION="1.6.13" +HOMEPAGE="https://hackage.haskell.org/package/uniplate" +DOWNLOAD="https://hackage.haskell.org/package/uniplate-1.6.13/uniplate-1.6.13.tar.gz" +MD5SUM="51ba18d666946596d18cfd2b226e2452" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-syb haskell-unordered-containers" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-uniplate/slack-desc b/haskell/haskell-uniplate/slack-desc new file mode 100644 index 0000000000..f732ef8efc --- /dev/null +++ b/haskell/haskell-uniplate/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-uniplate: haskell-uniplate (Help writing simple, concise fast generic ops.) +haskell-uniplate: +haskell-uniplate: Uniplate is library for writing simple and concise generic +haskell-uniplate: operations. Uniplate has similar goals to the original Scrap Your +haskell-uniplate: Boilerplate work, but is substantially simpler and faster. +haskell-uniplate: +haskell-uniplate: https://hackage.haskell.org/package/uniplate +haskell-uniplate: +haskell-uniplate: +haskell-uniplate: +haskell-uniplate: diff --git a/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild b/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild index 36e5e9f0c9..060e72a9db 100644 --- a/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild +++ b/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-unliftio-core -VERSION=${VERSION:-0.1.2.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.2.0.1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/2.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-unliftio-core/haskell-unliftio-core.info b/haskell/haskell-unliftio-core/haskell-unliftio-core.info index a7f0306ae3..f05617988b 100644 --- a/haskell/haskell-unliftio-core/haskell-unliftio-core.info +++ b/haskell/haskell-unliftio-core/haskell-unliftio-core.info @@ -1,8 +1,10 @@ PRGNAM="haskell-unliftio-core" -VERSION="0.1.2.0" +VERSION="0.2.0.1" HOMEPAGE="https://hackage.haskell.org/package/unliftio-core" -DOWNLOAD="https://hackage.haskell.org/packages/archive/unliftio-core/0.1.2.0/unliftio-core-0.1.2.0.tar.gz" -MD5SUM="714389512636b320c70238dc4e8ac650" +DOWNLOAD="https://hackage.haskell.org/packages/archive/unliftio-core/0.2.0.1/unliftio-core-0.2.0.1.tar.gz \ + https://hackage.haskell.org/package/unliftio-core-0.2.0.1/revision/2.cabal" +MD5SUM="c0d5e28f401241b73789dd8b75791d42 \ + e480166f2c67be28f9aabc735ae3c8c3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/haskell-unliftio/haskell-unliftio.SlackBuild b/haskell/haskell-unliftio/haskell-unliftio.SlackBuild index eaaa5729cc..2e71111ef2 100644 --- a/haskell/haskell-unliftio/haskell-unliftio.SlackBuild +++ b/haskell/haskell-unliftio/haskell-unliftio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-unliftio -VERSION=${VERSION:-0.2.8.1} +VERSION=${VERSION:-0.2.21.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-unliftio/haskell-unliftio.info b/haskell/haskell-unliftio/haskell-unliftio.info index 19b0dfccf7..29f5d95c99 100644 --- a/haskell/haskell-unliftio/haskell-unliftio.info +++ b/haskell/haskell-unliftio/haskell-unliftio.info @@ -1,8 +1,8 @@ PRGNAM="haskell-unliftio" -VERSION="0.2.8.1" +VERSION="0.2.21.0" HOMEPAGE="https://hackage.haskell.org/package/unliftio" -DOWNLOAD="https://hackage.haskell.org/packages/archive/unliftio/0.2.8.1/unliftio-0.2.8.1.tar.gz" -MD5SUM="a50fc1fc0ab43b244324a6d8001a953b" +DOWNLOAD="https://hackage.haskell.org/packages/archive/unliftio/0.2.21.0/unliftio-0.2.21.0.tar.gz" +MD5SUM="f14bb424964d0816b742e5da22c8abbc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-async haskell-unliftio-core" diff --git a/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild b/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild index dd4d497d66..3be9d42c8f 100644 --- a/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild +++ b/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-unordered-containers -VERSION=${VERSION:-0.2.13.0} +VERSION=${VERSION:-0.2.16.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-unordered-containers/haskell-unordered-containers.info b/haskell/haskell-unordered-containers/haskell-unordered-containers.info index 02ad4e2bae..f66d0160f8 100644 --- a/haskell/haskell-unordered-containers/haskell-unordered-containers.info +++ b/haskell/haskell-unordered-containers/haskell-unordered-containers.info @@ -1,8 +1,8 @@ PRGNAM="haskell-unordered-containers" -VERSION="0.2.13.0" +VERSION="0.2.16.0" HOMEPAGE="https://hackage.haskell.org/package/unordered-containers" -DOWNLOAD="https://hackage.haskell.org/package/unordered-containers-0.2.13.0/unordered-containers-0.2.13.0.tar.gz" -MD5SUM="43770df91fd5825b51d48176f371b7a0" +DOWNLOAD="https://hackage.haskell.org/package/unordered-containers-0.2.16.0/unordered-containers-0.2.16.0.tar.gz" +MD5SUM="0586c4a9cd4f0a2eff0d142fa1c830cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-hashable" diff --git a/haskell/haskell-uuid-types/haskell-uuid-types.SlackBuild b/haskell/haskell-uuid-types/haskell-uuid-types.SlackBuild index cb8ddbb664..aceb17228f 100644 --- a/haskell/haskell-uuid-types/haskell-uuid-types.SlackBuild +++ b/haskell/haskell-uuid-types/haskell-uuid-types.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-uuid-types -VERSION=${VERSION:-1.0.4} +VERSION=${VERSION:-1.0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-uuid-types/haskell-uuid-types.info b/haskell/haskell-uuid-types/haskell-uuid-types.info index 672e7035a7..a0a651d516 100644 --- a/haskell/haskell-uuid-types/haskell-uuid-types.info +++ b/haskell/haskell-uuid-types/haskell-uuid-types.info @@ -1,8 +1,10 @@ PRGNAM="haskell-uuid-types" -VERSION="1.0.4" +VERSION="1.0.5" HOMEPAGE="https://hackage.haskell.org/package/uuid-types" -DOWNLOAD="https://hackage.haskell.org/packages/archive/uuid-types/1.0.4/uuid-types-1.0.4.tar.gz" -MD5SUM="a5c6f9a2db9763a880931b784e6be85a" +DOWNLOAD="https://hackage.haskell.org/packages/archive/uuid-types/1.0.5/uuid-types-1.0.5.tar.gz \ + https://hackage.haskell.org/package/uuid-types-1.0.5/revision/1.cabal" +MD5SUM="4d01259910b30ba841129c9b98d20f04 \ + 4e431e90485e7263b359555d1b664a40" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-hashable haskell-random" diff --git a/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild b/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild index 04ea319a80..e22c65fab4 100644 --- a/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild +++ b/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-vector-algorithms -VERSION=${VERSION:-0.8.0.1} +VERSION=${VERSION:-0.8.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-vector-algorithms/haskell-vector-algorithms.info b/haskell/haskell-vector-algorithms/haskell-vector-algorithms.info index 83eb6348e7..e5cecf6ff0 100644 --- a/haskell/haskell-vector-algorithms/haskell-vector-algorithms.info +++ b/haskell/haskell-vector-algorithms/haskell-vector-algorithms.info @@ -1,10 +1,10 @@ PRGNAM="haskell-vector-algorithms" -VERSION="0.8.0.1" +VERSION="0.8.0.4" HOMEPAGE="https://hackage.haskell.org/package/vector-algorithms" -DOWNLOAD="https://hackage.haskell.org/packages/archive/vector-algorithms/0.8.0.1/vector-algorithms-0.8.0.1.tar.gz" -MD5SUM="c9dbd963c55beec6ef04d0b7f51c1e4d" +DOWNLOAD="https://hackage.haskell.org/packages/archive/vector-algorithms/0.8.0.4/vector-algorithms-0.8.0.4.tar.gz" +MD5SUM="99157ec43b31ef4c40872e7c64e79509" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-primitive haskell-tagged haskell-vector" +REQUIRES="haskell-tagged haskell-vector" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-void/haskell-void.info b/haskell/haskell-void/haskell-void.info index 1b7435637c..78e145952f 100644 --- a/haskell/haskell-void/haskell-void.info +++ b/haskell/haskell-void/haskell-void.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/void/0.7.2/void-0.7.2.tar MD5SUM="4b0045b68244f89442bf537e3451615e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-hashable haskell-semigroups" +REQUIRES="haskell-semigroups" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-witherable/README b/haskell/haskell-witherable/README new file mode 100644 index 0000000000..c2b5ba5b64 --- /dev/null +++ b/haskell/haskell-witherable/README @@ -0,0 +1,4 @@ +filterable traversable + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-witherable/doinst.sh b/haskell/haskell-witherable/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-witherable/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-witherable/haskell-witherable.SlackBuild b/haskell/haskell-witherable/haskell-witherable.SlackBuild new file mode 100644 index 0000000000..e700e97040 --- /dev/null +++ b/haskell/haskell-witherable/haskell-witherable.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-witherable + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# Copyright 2022 Andrew Clemons, Tokyo Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-witherable +VERSION=${VERSION:-0.4.2} +CABAL_REVISION=${CABAL_REVISION:-2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +cat $CWD/$CABAL_REVISION.cabal > $SRCNAM.cabal +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-witherable/haskell-witherable.info b/haskell/haskell-witherable/haskell-witherable.info new file mode 100644 index 0000000000..ad0e199254 --- /dev/null +++ b/haskell/haskell-witherable/haskell-witherable.info @@ -0,0 +1,12 @@ +PRGNAM="haskell-witherable" +VERSION="0.4.2" +HOMEPAGE="https://hackage.haskell.org/package/witherable" +DOWNLOAD="https://hackage.haskell.org/package/witherable-0.4.2/witherable-0.4.2.tar.gz \ + https://hackage.haskell.org/package/witherable-0.4.2/revision/2.cabal" +MD5SUM="c5f0d20fe135ab5fd081401080aa82f8 \ + 1fec8f7279cfe870ec8d2fb7fdb7d480" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-indexed-traversable-instances" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-exceptions/slack-desc b/haskell/haskell-witherable/slack-desc index 8454983527..aac09ecb77 100644 --- a/haskell/haskell-exceptions/slack-desc +++ b/haskell/haskell-witherable/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -haskell-exceptions: haskell-exceptions (extensible optionally-pure Haskell exceptions) -haskell-exceptions: -haskell-exceptions: This Haskell module supports monads that can throw extensible -haskell-exceptions: exceptions. -haskell-exceptions: -haskell-exceptions: -haskell-exceptions: -haskell-exceptions: -haskell-exceptions: -haskell-exceptions: -haskell-exceptions: +haskell-witherable: haskell-witherable (filterable traversable) +haskell-witherable: +haskell-witherable: A stronger variant of traverse which can remove elements and +haskell-witherable: generalised mapMaybe, catMaybes, filter. +haskell-witherable: +haskell-witherable: https://hackage.haskell.org/package/witherable +haskell-witherable: +haskell-witherable: +haskell-witherable: +haskell-witherable: +haskell-witherable: diff --git a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild index 43a089204e..9827e23832 100644 --- a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild +++ b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-wl-pprint-text -VERSION=${VERSION:-1.2.0.0} +VERSION=${VERSION:-1.2.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info index c8d4ae8880..e4372ee887 100644 --- a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info +++ b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.info @@ -1,8 +1,8 @@ PRGNAM="haskell-wl-pprint-text" -VERSION="1.2.0.0" +VERSION="1.2.0.2" HOMEPAGE="https://hackage.haskell.org/package/wl-pprint-text" -DOWNLOAD="https://hackage.haskell.org/package/wl-pprint-text-1.2.0.0/wl-pprint-text-1.2.0.0.tar.gz" -MD5SUM="30ee1330f215d5549419677b8ddf3a98" +DOWNLOAD="https://hackage.haskell.org/package/wl-pprint-text-1.2.0.2/wl-pprint-text-1.2.0.2.tar.gz" +MD5SUM="6b8de51cdb72709fd0f4da8976b0b2b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="haskell-base-compat" diff --git a/haskell/haskell-x509-store/haskell-x509-store.info b/haskell/haskell-x509-store/haskell-x509-store.info index c284fd829e..c1f6048f3e 100644 --- a/haskell/haskell-x509-store/haskell-x509-store.info +++ b/haskell/haskell-x509-store/haskell-x509-store.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/x509-store/1.6.6/x509-sto MD5SUM="9b85c078a8dcd313c38a1febdf8ee550" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-encoding haskell-asn1-types haskell-crypto-pubkey-types haskell-pem haskell-x509" +REQUIRES="haskell-x509" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-x509-system/haskell-x509-system.info b/haskell/haskell-x509-system/haskell-x509-system.info index 6ddc39dd8b..830b318f92 100644 --- a/haskell/haskell-x509-system/haskell-x509-system.info +++ b/haskell/haskell-x509-system/haskell-x509-system.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/x509-system/1.6.6/x509-sy MD5SUM="739f3dd5b20e15d15b16d600bff3ac49" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-pem haskell-x509 haskell-x509-store" +REQUIRES="haskell-x509-store" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-x509-validation/haskell-x509-validation.info b/haskell/haskell-x509-validation/haskell-x509-validation.info index 703342485b..8085e8530f 100644 --- a/haskell/haskell-x509-validation/haskell-x509-validation.info +++ b/haskell/haskell-x509-validation/haskell-x509-validation.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/packages/archive/x509-validation/1.6.10/x5 MD5SUM="654765cd3984ec554227b24be4e55589" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-encoding haskell-asn1-types haskell-byteable haskell-crypto-pubkey haskell-crypto-pubkey-types haskell-cryptohash haskell-data-default-class haskell-hourglass haskell-network haskell-pem haskell-x509 haskell-x509-store" +REQUIRES="haskell-data-default-class haskell-x509-store" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-x509/haskell-x509.SlackBuild b/haskell/haskell-x509/haskell-x509.SlackBuild index 12387d2141..2ea2746612 100644 --- a/haskell/haskell-x509/haskell-x509.SlackBuild +++ b/haskell/haskell-x509/haskell-x509.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-x509 -VERSION=${VERSION:-1.7.4} +VERSION=${VERSION:-1.7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-x509/haskell-x509.info b/haskell/haskell-x509/haskell-x509.info index 7cbeb40c4d..521b624173 100644 --- a/haskell/haskell-x509/haskell-x509.info +++ b/haskell/haskell-x509/haskell-x509.info @@ -1,10 +1,10 @@ PRGNAM="haskell-x509" -VERSION="1.7.4" +VERSION="1.7.5" HOMEPAGE="https://hackage.haskell.org/package/x509" -DOWNLOAD="https://hackage.haskell.org/packages/archive/x509/1.7.4/x509-1.7.4.tar.gz" -MD5SUM="0334758257c60f15b2856b2490364194" +DOWNLOAD="https://hackage.haskell.org/packages/archive/x509/1.7.5/x509-1.7.5.tar.gz" +MD5SUM="838bf3fc8bf7d08e07faeaacd234a24c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-asn1-encoding haskell-asn1-parse haskell-asn1-types haskell-crypto-pubkey-types haskell-cryptohash haskell-hourglass haskell-pem" +REQUIRES="haskell-asn1-parse haskell-crypto-pubkey-types haskell-cryptohash haskell-pem" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-parallel/README b/haskell/haskell-xml-conduit/README index 22cc54821b..ddf031739b 100644 --- a/haskell/haskell-parallel/README +++ b/haskell/haskell-xml-conduit/README @@ -1,4 +1,5 @@ -This package provides a library for parallel programming in Haskell. +Pure-Haskell utilities for dealing with XML with the conduit +package. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-xml-conduit/doinst.sh b/haskell/haskell-xml-conduit/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-xml-conduit/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-xml-conduit/haskell-xml-conduit.SlackBuild b/haskell/haskell-xml-conduit/haskell-xml-conduit.SlackBuild new file mode 100644 index 0000000000..13039998f1 --- /dev/null +++ b/haskell/haskell-xml-conduit/haskell-xml-conduit.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-xml-conduit + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-xml-conduit +VERSION=${VERSION:-1.9.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog.md LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-xml-conduit/haskell-xml-conduit.info b/haskell/haskell-xml-conduit/haskell-xml-conduit.info new file mode 100644 index 0000000000..bd5ca7db68 --- /dev/null +++ b/haskell/haskell-xml-conduit/haskell-xml-conduit.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-xml-conduit" +VERSION="1.9.1.1" +HOMEPAGE="https://hackage.haskell.org/package/xml-conduit" +DOWNLOAD="https://hackage.haskell.org/package/xml-conduit-1.9.1.1/xml-conduit-1.9.1.1.tar.gz" +MD5SUM="81ec52b7b6ffcd1d04c0cee8700ca477" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="haskell-conduit-extra haskell-cabal-doctest haskell-blaze-html haskell-data-default-class haskell-xml-types" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-xml-conduit/slack-desc b/haskell/haskell-xml-conduit/slack-desc new file mode 100644 index 0000000000..817e351bd2 --- /dev/null +++ b/haskell/haskell-xml-conduit/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-xml-conduit: haskell-xml-conduit (utilities dealing with XML with conduit package) +haskell-xml-conduit: +haskell-xml-conduit: Pure-Haskell utilities for dealing with XML with the conduit +haskell-xml-conduit: package. +haskell-xml-conduit: +haskell-xml-conduit: https://hackage.haskell.org/package/xml-conduit +haskell-xml-conduit: +haskell-xml-conduit: +haskell-xml-conduit: +haskell-xml-conduit: +haskell-xml-conduit: diff --git a/haskell/haskell-xml-types/README b/haskell/haskell-xml-types/README new file mode 100644 index 0000000000..93c8dd7e62 --- /dev/null +++ b/haskell/haskell-xml-types/README @@ -0,0 +1,4 @@ +Basic types for representing XML + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-xml-types/doinst.sh b/haskell/haskell-xml-types/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-xml-types/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-xml-types/haskell-xml-types.SlackBuild b/haskell/haskell-xml-types/haskell-xml-types.SlackBuild new file mode 100644 index 0000000000..8187ac8b99 --- /dev/null +++ b/haskell/haskell-xml-types/haskell-xml-types.SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# Slackware build script for haskell-xml-types + +# Copyright 2021 Andrew Clemons, Wellington New Zealand +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=haskell-xml-types +VERSION=${VERSION:-0.3.8} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + +GHC_VERSION=$(ghc --numeric-version) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# 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. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config + +PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d +PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) +mkdir -p $PKG/$PKGCONFD +mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + COPYING \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/haskell/haskell-xml-types/haskell-xml-types.info b/haskell/haskell-xml-types/haskell-xml-types.info new file mode 100644 index 0000000000..bcbbee7960 --- /dev/null +++ b/haskell/haskell-xml-types/haskell-xml-types.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-xml-types" +VERSION="0.3.8" +HOMEPAGE="https://hackage.haskell.org/package/xml-types" +DOWNLOAD="https://hackage.haskell.org/package/xml-types-0.3.8/xml-types-0.3.8.tar.gz" +MD5SUM="b0647d23dc526675c6fe9297530cf1ee" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ghc" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com" diff --git a/haskell/haskell-xml-types/slack-desc b/haskell/haskell-xml-types/slack-desc new file mode 100644 index 0000000000..e9062ac0ec --- /dev/null +++ b/haskell/haskell-xml-types/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +haskell-xml-types: haskell-xml-types (Basic types for representing XML) +haskell-xml-types: +haskell-xml-types: Basic types for representing XML. +haskell-xml-types: +haskell-xml-types: https://hackage.haskell.org/package/xml-types +haskell-xml-types: +haskell-xml-types: +haskell-xml-types: +haskell-xml-types: +haskell-xml-types: +haskell-xml-types: diff --git a/haskell/haskell-yaml/haskell-yaml.SlackBuild b/haskell/haskell-yaml/haskell-yaml.SlackBuild index bfea76d598..1c6f5bfc2f 100644 --- a/haskell/haskell-yaml/haskell-yaml.SlackBuild +++ b/haskell/haskell-yaml/haskell-yaml.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-yaml -VERSION=${VERSION:-0.11.0.0} +VERSION=${VERSION:-0.11.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-yaml/haskell-yaml.info b/haskell/haskell-yaml/haskell-yaml.info index f9cf5f8a32..46bda86466 100644 --- a/haskell/haskell-yaml/haskell-yaml.info +++ b/haskell/haskell-yaml/haskell-yaml.info @@ -1,10 +1,10 @@ PRGNAM="haskell-yaml" -VERSION="0.11.0.0" +VERSION="0.11.7.0" HOMEPAGE="https://hackage.haskell.org/package/yaml" -DOWNLOAD="https://hackage.haskell.org/packages/archive/yaml/0.11.0.0/yaml-0.11.0.0.tar.gz" -MD5SUM="339fd6c59c57409a6672896d66bf6598" +DOWNLOAD="https://hackage.haskell.org/packages/archive/yaml/0.11.7.0/yaml-0.11.7.0.tar.gz" +MD5SUM="5aef35973c3e2d936c972c7712adcace" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-aeson haskell-attoparsec haskell-conduit haskell-enclosed-exceptions haskell-libyaml haskell-resourcet haskell-scientific haskell-unordered-containers haskell-vector" +REQUIRES="haskell-aeson haskell-enclosed-exceptions haskell-libyaml" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-zeromq4-haskell/haskell-zeromq4-haskell.info b/haskell/haskell-zeromq4-haskell/haskell-zeromq4-haskell.info index 93da959392..febb48b7ad 100644 --- a/haskell/haskell-zeromq4-haskell/haskell-zeromq4-haskell.info +++ b/haskell/haskell-zeromq4-haskell/haskell-zeromq4-haskell.info @@ -5,6 +5,6 @@ DOWNLOAD="https://hackage.haskell.org/package/zeromq4-haskell-0.8.0/zeromq4-hask MD5SUM="52fa06c4b66659e4990d8d8faccb8bf3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="zeromq haskell-async haskell-exceptions haskell-monad-control haskell-semigroups" +REQUIRES="zeromq haskell-async haskell-monad-control haskell-semigroups" MAINTAINER="Jan-willem De Bleser" EMAIL="jw@thescrapyard.org" diff --git a/haskell/haskell-zlib/README b/haskell/haskell-zlib/README index 84c7908202..9be0b739c1 100644 --- a/haskell/haskell-zlib/README +++ b/haskell/haskell-zlib/README @@ -1,7 +1,8 @@ -This is a library for Haskell programs. It provides a pure interface for -compressing and decompressing streams of data represented as lazy ByteStrings. -It uses the zlib C library so it has high performance. It supports the "zlib", -"gzip" and "raw" compression formats. +This is a library for Haskell programs. It provides a pure interface +for compressing and decompressing streams of data represented +as lazy ByteStrings. It uses the zlib C library so it has high +performance. It supports the "zlib", "gzip" and "raw" compression +formats. After uninstalling, run the following command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-zlib/haskell-zlib.SlackBuild b/haskell/haskell-zlib/haskell-zlib.SlackBuild index ae8d18873f..74610bf116 100644 --- a/haskell/haskell-zlib/haskell-zlib.SlackBuild +++ b/haskell/haskell-zlib/haskell-zlib.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-zlib -VERSION=${VERSION:-0.6.2} +VERSION=${VERSION:-0.6.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/haskell-zlib/haskell-zlib.info b/haskell/haskell-zlib/haskell-zlib.info index 1d8b6d201a..3b1065f57c 100644 --- a/haskell/haskell-zlib/haskell-zlib.info +++ b/haskell/haskell-zlib/haskell-zlib.info @@ -1,8 +1,8 @@ PRGNAM="haskell-zlib" -VERSION="0.6.2" +VERSION="0.6.2.3" HOMEPAGE="https://hackage.haskell.org/package/zlib" -DOWNLOAD="https://hackage.haskell.org/packages/archive/zlib/0.6.2/zlib-0.6.2.tar.gz" -MD5SUM="ae34ddfa03cbedd9c94b54c12f116b08" +DOWNLOAD="https://hackage.haskell.org/packages/archive/zlib/0.6.2.3/zlib-0.6.2.3.tar.gz" +MD5SUM="c951a8e64fd9a34526f38ef8a425b760" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/hscolour/hscolour.SlackBuild b/haskell/hscolour/hscolour.SlackBuild index 60ccc69984..f75a105fec 100644 --- a/haskell/hscolour/hscolour.SlackBuild +++ b/haskell/hscolour/hscolour.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for hscolour -# Copyright 2015-2017 Christoph Willing, Brisbane Australia +# Copyright 2015-2023 Christoph Willing, Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=hscolour -VERSION=${VERSION:-1.24.4} +VERSION=${VERSION:-1.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/hscolour/hscolour.info b/haskell/hscolour/hscolour.info index d7d90568dc..4cc66e9e48 100644 --- a/haskell/hscolour/hscolour.info +++ b/haskell/hscolour/hscolour.info @@ -1,8 +1,8 @@ PRGNAM="hscolour" -VERSION="1.24.4" +VERSION="1.25" HOMEPAGE="https://hackage.haskell.org/package/hscolour/" -DOWNLOAD="https://hackage.haskell.org/package/hscolour-1.24.4/hscolour-1.24.4.tar.gz" -MD5SUM="3b071820df13cbee7e90199e8e598007" +DOWNLOAD="https://hackage.haskell.org/package/hscolour-1.25/hscolour-1.25.tar.gz" +MD5SUM="af4992bf98c71692e92c31363a29f71f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" diff --git a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild index 9b6a349056..ccbc6d2a24 100644 --- a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild +++ b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xmonad-contrib -VERSION=${VERSION:-0.15} +VERSION=${VERSION:-0.17.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/haskell/xmonad-contrib/xmonad-contrib.info b/haskell/xmonad-contrib/xmonad-contrib.info index b00e87fb6c..76068099ec 100644 --- a/haskell/xmonad-contrib/xmonad-contrib.info +++ b/haskell/xmonad-contrib/xmonad-contrib.info @@ -1,10 +1,10 @@ PRGNAM="xmonad-contrib" -VERSION="0.15" +VERSION="0.17.0" HOMEPAGE="https://www.xmonad.org/" -DOWNLOAD="https://hackage.haskell.org/packages/archive/xmonad-contrib/0.15/xmonad-contrib-0.15.tar.gz" -MD5SUM="be854e4ad4be47a706c297079b25292b" +DOWNLOAD="https://hackage.haskell.org/packages/archive/xmonad-contrib/0.17.0/xmonad-contrib-0.17.0.tar.gz" +MD5SUM="3487e3e4732fc70f3eb70b0df4129db3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-extensible-exceptions haskell-old-time haskell-random haskell-semigroups xmonad" +REQUIRES="haskell-old-time haskell-random haskell-semigroups xmonad" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" |