mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
haskell/haskell-data-default-instances-containers: Fix metadata.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
fd426f1b5b
commit
52895343db
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue