X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=archlinuxppc.git;a=blobdiff_plain;f=lhs2tex%2FPKGBUILD;fp=lhs2tex%2FPKGBUILD;h=0861430056d2d53cc82b95dae9d3f9646a2decf0;hp=0000000000000000000000000000000000000000;hb=4e3bf2eca8f2df35be3539ba75e1a83ecd64c256;hpb=cc2b36d9071080464f32533b9233e013affdf7f9 diff --git a/lhs2tex/PKGBUILD b/lhs2tex/PKGBUILD new file mode 100644 index 0000000..0861430 --- /dev/null +++ b/lhs2tex/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Arch Haskell Team +_hkgname=lhs2tex +pkgname=lhs2tex +pkgver=1.16 +pkgrel=1 +pkgdesc="Preprocessor for typesetting Haskell sources with LaTeX" +url="http://hackage.haskell.org/package/${_hkgname}" +license=('GPL') +arch=('i686' 'x86_64' 'ppc') +makedepends=('ghc' 'haskell-directory' 'haskell-extensible-exceptions' 'haskell-filepath' 'haskell-mtl' 'haskell-process' 'haskell-regex-compat') +depends=('gmp') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + ghc --make Setup.hs + ./Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O + ./Setup build +} +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + ./Setup copy --destdir=${pkgdir} +} +md5sums=('d9a328cf54341a6722715411a195c2cc')