mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/xmonad-contrib: Updated for version 0.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
c29c4ce85e
commit
468f623932
2 changed files with 15 additions and 14 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=xmonad-contrib
|
||||
VERSION=${VERSION:-0.9.2}
|
||||
VERSION=${VERSION:-0.10}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -73,23 +73,24 @@ find . \
|
|||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
runghc Setup.lhs configure \
|
||||
runghc Setup configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-shared
|
||||
--libsubdir=ghc-${GHC_VERSION}/$PRGNAM-$VERSION \
|
||||
--enable-shared \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
runghc Setup.lhs build
|
||||
runghc Setup.lhs haddock
|
||||
runghc Setup.lhs copy --destdir=$PKG
|
||||
runghc Setup.lhs 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: " $PRGNAM-$VERSION.conf | cut -d" " -f2 )
|
||||
mkdir -p $PKG/$PKGCONFD
|
||||
mv $PRGNAM-$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
|
||||
|
||||
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
@ -97,8 +98,8 @@ cp -a scripts $PKG/usr/doc/$PRGNAM-$VERSION/scripts
|
|||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
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}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="xmonad-contrib"
|
||||
VERSION="0.9.2"
|
||||
VERSION="0.10"
|
||||
HOMEPAGE="http://www.xmonad.org/"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/xmonad-contrib/0.9.2/xmonad-contrib-0.9.2.tar.gz"
|
||||
MD5SUM="616cbc632bbde5cd4cdb643ee47e74d2"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/xmonad-contrib/0.10/xmonad-contrib-0.10.tar.gz"
|
||||
MD5SUM="9a4353a94ec0ea3a9c4700757ef5ae81"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Mikko Värri"
|
||||
EMAIL="vmj@linuxbox.fi"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue