diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 10:59:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:36 +0700 |
commit | d94f0ddfe1b88b3613a632296a93e1b23526ac00 (patch) | |
tree | 117bb21ab1df9f16c93c50de37c53c008b70d0b8 /haskell/haskell-old-time | |
parent | 629515024590a8cbb70a0919ed62cf462c2ecf41 (diff) |
haskell/haskell-old-time: Updated for version 1.1.0.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-old-time')
-rw-r--r-- | haskell/haskell-old-time/haskell-old-time.SlackBuild | 13 | ||||
-rw-r--r-- | haskell/haskell-old-time/haskell-old-time.info | 4 |
2 files changed, 9 insertions, 8 deletions
diff --git a/haskell/haskell-old-time/haskell-old-time.SlackBuild b/haskell/haskell-old-time/haskell-old-time.SlackBuild index 14ac6694b944c..766e6f436576c 100644 --- a/haskell/haskell-old-time/haskell-old-time.SlackBuild +++ b/haskell/haskell-old-time/haskell-old-time.SlackBuild @@ -33,7 +33,7 @@ GHC_VERSION=$(ghc --numeric-version) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -73,6 +73,9 @@ 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 base +sed -i -E 's/(base *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $SRCNAM.cabal + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ @@ -97,9 +100,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-old-time/haskell-old-time.info b/haskell/haskell-old-time/haskell-old-time.info index b63fd0d7e4be5..27fa45eb3e3ce 100644 --- a/haskell/haskell-old-time/haskell-old-time.info +++ b/haskell/haskell-old-time/haskell-old-time.info @@ -1,7 +1,7 @@ PRGNAM="haskell-old-time" VERSION="1.1.0.3" -HOMEPAGE="http://hackage.haskell.org/package/old-time" -DOWNLOAD="http://hackage.haskell.org/package/old-time-1.1.0.3/old-time-1.1.0.3.tar.gz" +HOMEPAGE="https://hackage.haskell.org/package/old-time" +DOWNLOAD="https://hackage.haskell.org/package/old-time-1.1.0.3/old-time-1.1.0.3.tar.gz" MD5SUM="1868eaf39e616176d898bcd5510e1f09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |