Package Details: pure-gen 0.25-2

Git Clone URL: (read-only, click to copy)
Package Base: pure-gen
Description: A C interface generator for Pure
Upstream URL:
Licenses: custom
Groups: pure-complete, pure-util
Submitter: asitdepends
Maintainer: pure-aur
Last Packager: pure-aur
Votes: 4
Popularity: 0.000000
First Submitted: 2010-04-03 20:23 (UTC)
Last Updated: 2022-08-07 22:08 (UTC)

Latest Comments

Rufflewind commented on 2021-06-01 00:12 (UTC)

I recently learned of the comment , which describes a simpler way of building static packages without relying on the ghc-pristine trick I maintain. Therefore, I'm wondering whether downstream uses of ghc-pristine could be migrated in favor of the simpler approach. Would something like this work for your package?

@@ -9,14 +9,17 @@ arch=("i686" "x86_64")
-makedepends=('ghc' 'ghc-static' 'ghc-pristine' 'cabal-install' 'alex' 'happy')
+makedepends=('ghc' 'ghc-static' 'cabal-install' 'alex' 'happy')
 groups=(pure-complete pure-util)

 build() {
    cd $srcdir/$pkgname-$pkgver
-   export PATH=/usr/share/ghc-pristine/bin:$PATH
+   global_package_db=$(ghc --print-global-package-db | sed 's/\(package\.conf\.d\)$/static-\1/')
+   HOME=cabal cabal user-config update
+   sed -i "s|-- \(ghc-pkg-options:\).*|\1 --global-package-db=${global_package_db}|" cabal/.cabal/config
+   sed -i "s|\\\$(MAKE) all GHCFLAGS=-static |\\\$(MAKE) all GHCFLAGS=\"-static -clear-package-db -package-db ${global_package_db} -user-package-db\" |" Makefile
    make PUREC_FLAGS=-mcpu=generic maintainer-build

aggraef commented on 2013-09-17 07:07 (UTC)

Could you please pull the latest PKGBUILD from Thanks.

aggraef commented on 2013-09-04 11:39 (UTC)

pure-gen 0.16 is out now. dump-ast should now compile cleanly out of the box, so the patch included in this build isn't needed any more.