[arch-commits] Commit in haskell-base-orphans/repos (4 files)
Date: Tuesday, May 24, 2016 @ 17:03:40 Author: fyan Revision: 176276 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-base-orphans/repos/community-staging-i686/ haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 176275, haskell-base-orphans/trunk/PKGBUILD) haskell-base-orphans/repos/community-staging-x86_64/ haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 176275, haskell-base-orphans/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 41 community-staging-x86_64/PKGBUILD | 41 2 files changed, 82 insertions(+) Copied: haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 176275, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-05-24 15:03:40 UTC (rev 176276) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.5.4 +pkgrel=2 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('04075283606b3633f4b0c72f849a6df1b0519421ad099d07d3e72de589056263') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 176275, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-05-24 15:03:40 UTC (rev 176276) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.5.4 +pkgrel=2 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1") +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha256sums=('04075283606b3633f4b0c72f849a6df1b0519421ad099d07d3e72de589056263') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-base-orphans/repos (4 files)
Date: Saturday, September 23, 2017 @ 14:48:24 Author: felixonmars Revision: 259949 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-base-orphans/repos/community-i686/PKGBUILD (from rev 259948, haskell-base-orphans/trunk/PKGBUILD) haskell-base-orphans/repos/community-x86_64/PKGBUILD (from rev 259948, haskell-base-orphans/trunk/PKGBUILD) Deleted: haskell-base-orphans/repos/community-i686/PKGBUILD haskell-base-orphans/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 78 community-i686/PKGBUILD | 42 --- community-x86_64/PKGBUILD | 42 --- 3 files changed, 78 insertions(+), 84 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-09-23 14:47:36 UTC (rev 259948) +++ community-i686/PKGBUILD 2017-09-23 14:48:24 UTC (rev 259949) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=base-orphans -pkgname=haskell-base-orphans -pkgver=0.6 -pkgrel=3 -pkgdesc="Backwards-compatible orphan instances for base" -url="https://github.com/haskell-compat/base-orphans#readme"; -license=("MIT") -arch=('i686' 'x86_64') -depends=('ghc-libs') -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') - -build() { -cd "${srcdir}/${_hkgname}-${pkgver}" - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ ---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" - -# Remove static libs -find "$pkgdir"/usr/lib -name "*.a" -delete -} Copied: haskell-base-orphans/repos/community-i686/PKGBUILD (from rev 259948, haskell-base-orphans/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-23 14:48:24 UTC (rev 259949) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=4 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +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" +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2017-09-23 14:47:36 UTC (rev 259948) +++ community-x86_64/PKGBUILD 2017-09-23 14:48:24 UTC (rev 259949) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=base-orphans -pkgname=haskell-base-orphan
[arch-commits] Commit in haskell-base-orphans/repos (4 files)
Date: Tuesday, August 15, 2017 @ 04:08:49 Author: felixonmars Revision: 250462 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-base-orphans/repos/community-staging-i686/ haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 250461, haskell-base-orphans/trunk/PKGBUILD) haskell-base-orphans/repos/community-staging-x86_64/ haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 250461, haskell-base-orphans/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 42 community-staging-x86_64/PKGBUILD | 42 2 files changed, 84 insertions(+) Copied: haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 250461, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-15 04:08:49 UTC (rev 250462) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=3 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--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" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 250461, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-15 04:08:49 UTC (rev 250462) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=3 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--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" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +}
[arch-commits] Commit in haskell-base-orphans/repos (4 files)
Date: Wednesday, June 14, 2017 @ 19:52:23 Author: felixonmars Revision: 236844 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-base-orphans/repos/community-staging-i686/ haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 236843, haskell-base-orphans/trunk/PKGBUILD) haskell-base-orphans/repos/community-staging-x86_64/ haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 236843, haskell-base-orphans/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 44 community-staging-x86_64/PKGBUILD | 44 2 files changed, 88 insertions(+) Copied: haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 236843, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-14 19:52:23 UTC (rev 236844) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=2 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=("ghc") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + +# Remove static libs +find "$pkgdir"/usr/lib -name "*.a" -delete +} Copied: haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 236843, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-14 19:52:23 UTC (rev 236844) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=2 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=("ghc") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${p
[arch-commits] Commit in haskell-base-orphans/repos (4 files)
Date: Tuesday, April 11, 2017 @ 17:32:54 Author: felixonmars Revision: 222309 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-base-orphans/repos/community-staging-i686/ haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 222308, haskell-base-orphans/trunk/PKGBUILD) haskell-base-orphans/repos/community-staging-x86_64/ haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 222308, haskell-base-orphans/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 41 community-staging-x86_64/PKGBUILD | 41 2 files changed, 82 insertions(+) Copied: haskell-base-orphans/repos/community-staging-i686/PKGBUILD (from rev 222308, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-11 17:32:54 UTC (rev 222309) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=1 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 222308, haskell-base-orphans/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-04-11 17:32:54 UTC (rev 222309) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=base-orphans +pkgname=haskell-base-orphans +pkgver=0.6 +pkgrel=1 +pkgdesc="Backwards-compatible orphan instances for base" +url="https://github.com/haskell-compat/base-orphans#readme"; +license=("MIT") +arch=('i686' 'x86_64') +depends=("ghc=8.0.1") +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock --hoogle --html +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" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}