fallenwizard commented on this pull request.
> +# Template file for 'xmonad'
+pkgname=xmonad
+version=0.13
+revision=1
+build_style=haskell-stack
+stackage="lts-10.5"
+makedepends="libX11-devel libXinerama-devel libXext-devel libXrandr-devel"
+short_desc="A dynamic tiling X11 window manager that is written and configured in Haskell"
+maintainer="Philip K. <philippija@gmail.com>"
+license="BSD-3"
+homepage="http://xmonad.org/"
+distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
+checksum="f9f81b63569f18c777a939741024ec3ae34e4ec84015e5cc50f6622034a303ca"
+
+do_install() {
+ vman man/$pkgname.1
add: **vlicense LICENSE** to do_install() for both of your packages
xmonad-contrib/template:
**libXrandr-devel** and **libXft-devel** are missing from makedepends=""
pkg-config is missing from hostmakedepends=""
use xlint (xtools package) to get rid of template issues.
Also you may want to squash your commits so the people with push privileges have an easier time.
>Also you may want to squash your commits so the people with push privileges have an easier time.
I will do that, no problem there, and I've implemented most of the fixes - but my problem is that for some reason the `.xbps` file is generated without any binary (there's just a LICENSE, xmonad.1 and the standard xbps files).
@gspe While that was quite a stupid mistake, I'm afraid it didn't quite fix it... xbps-src tells me that it fails to install `ghc-8.2.2_1` as a dep., and that `less-530_1` is broken (because?) of an unresolvable shlib `libpcre.so.1`. The whole transaction fails because of the last message.
Hi, I did some research and I've found that you can't use haskell-stack style to build apps like xmonad.
Stack tool lack of `--prefix=` option so it doesn't copy libraries and other things when you use `stack install` command.
See this bug report [Add stack build --prefix option](https://github.com/commercialhaskell/stack/issues/848)
I'm trying to make a template using `runhaskell` command maybe we can try to do this together if you want
While I would like to help, I only have minimal experiances with building haskall packages, and I was just hoping that `stack-install` would take care of it...