diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 10:56:45 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:12 +0700 |
commit | bf02ccda5b118d44c32b1b993da70626c6959139 (patch) | |
tree | b841f03e2340cf987ea8107a70fd288ef7f961f3 /haskell/haskell-clock | |
parent | c0f512daef58f4ac6bff61b9aaf2fa19219d719e (diff) | |
download | slackbuilds-bf02ccda5b118d44c32b1b993da70626c6959139.tar.gz |
haskell/haskell-clock: Add doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-clock')
-rw-r--r-- | haskell/haskell-clock/doinst.sh | 1 | ||||
-rw-r--r-- | haskell/haskell-clock/haskell-clock.SlackBuild | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/haskell/haskell-clock/doinst.sh b/haskell/haskell-clock/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-clock/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-clock/haskell-clock.SlackBuild b/haskell/haskell-clock/haskell-clock.SlackBuild index fee1db16c9..6582934311 100644 --- a/haskell/haskell-clock/haskell-clock.SlackBuild +++ b/haskell/haskell-clock/haskell-clock.SlackBuild @@ -97,13 +97,12 @@ 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 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:-tgz} |