Date: Tuesday, December 5, 2017 @ 17:46:35
  Author: felixonmars
Revision: 272257

addpkg: haskell-neat-interpolation 0.3.2.1-1

Added:
  haskell-neat-interpolation/
  haskell-neat-interpolation/repos/
  haskell-neat-interpolation/trunk/
  haskell-neat-interpolation/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Added: haskell-neat-interpolation/trunk/PKGBUILD
===================================================================
--- haskell-neat-interpolation/trunk/PKGBUILD                           (rev 0)
+++ haskell-neat-interpolation/trunk/PKGBUILD   2017-12-05 17:46:35 UTC (rev 
272257)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+_hkgname=neat-interpolation
+pkgname=haskell-neat-interpolation
+pkgver=0.3.2.1
+pkgrel=1
+pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
+url="https://github.com/nikita-volkov/neat-interpolation";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-parsec' 'haskell-text')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('aaefc95b85e8546bd20848b3d4da39437b48e5e3c54829f9ae06f8f4021752812a643a638bcc10213db168d3217bd8913b2feec81d90199a14eea8c35fe62245')
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    runhaskell Setup build
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+    install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


Property changes on: haskell-neat-interpolation/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to