mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
haskell/haskell-pandoc-types: Updated for version 1.9.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
d026a48b70
commit
50957a8b4a
3 changed files with 33 additions and 14 deletions
|
@ -3,10 +3,28 @@
|
|||
# Slackware build script for pandoc-types
|
||||
|
||||
# Written by Peter Wang (novalazy@gmail.com)
|
||||
# Public domain.
|
||||
# Copyright 2012 Mikko Värri, Finland
|
||||
# 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.
|
||||
|
||||
PRGNAM=haskell-pandoc-types
|
||||
VERSION=${VERSION:-1.8.2}
|
||||
VERSION=${VERSION:-1.9.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -58,24 +76,25 @@ find . \
|
|||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
runghc Setup.hs configure \
|
||||
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.hs build
|
||||
runghc Setup.hs haddock
|
||||
runghc Setup.hs copy --destdir=$PKG
|
||||
runghc Setup.hs register --gen-pkg-config
|
||||
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 | cut -d" " -f2 )
|
||||
mkdir -p $PKG/$PKGCONFD
|
||||
mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="haskell-pandoc-types"
|
||||
VERSION="1.8.2"
|
||||
VERSION="1.9.1"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/pandoc-types"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/pandoc-types/1.8.2/pandoc-types-1.8.2.tar.gz"
|
||||
MD5SUM="9ebdff6d337cb0bbe6da04b14dd1bf59"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/pandoc-types/1.9.1/pandoc-types-1.9.1.tar.gz"
|
||||
MD5SUM="cd62b1a10aad85237c22999c40efe35c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Peter Wang"
|
||||
EMAIL="novalazy@gmail.com"
|
||||
MAINTAINER="Mikko Värri"
|
||||
EMAIL="vmj@linuxbox.fi"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
haskell-pandoc-types: haskell-pandoc-types (type definitions for Pandoc)
|
||||
haskell-pandoc-types:
|
||||
haskell-pandoc-types: This package contains definitions for the Pandoc data structure,
|
||||
|
|
Loading…
Reference in a new issue