diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Sep 14 06:32:04 UTC 2017 +# Fri Sep 15 04:37:15 UTC 2017 pkgbase = ghc-pristine pkgdesc = Symlinks to GHC with only boot libs, useful for building static binaries pkgver = 8.0.2 @@ -17,6 +17,10 @@ depends=(ghc) # To use this package, you just need to configure cabal # --with-compiler=/usr/share/ghc-pristine/bin/ghc +pkgver() { + ghc --version | sed -n 's/^.*version \([0-9.]*\)/\1/p' +} + package() { prefix=/usr/share/ghc-pristine mkdir -p "$pkgdir$prefix/bin/" "$pkgdir$prefix/lib/package.conf.d/" |