[arch-commits] Commit in haskell-hslogger/repos (4 files)
Date: Wednesday, May 25, 2016 @ 11:08:42 Author: fyan Revision: 176733 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-hslogger/repos/community-staging-i686/ haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 176732, haskell-hslogger/trunk/PKGBUILD) haskell-hslogger/repos/community-staging-x86_64/ haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 176732, haskell-hslogger/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 38 community-staging-x86_64/PKGBUILD | 38 2 files changed, 76 insertions(+) Copied: haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 176732, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-05-25 09:08:42 UTC (rev 176733) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.9 +pkgrel=6 +pkgdesc="Versatile logging framework" +url="http://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +md5sums=('db8fd8ac6f8085317d66821ee27acd20') + +build() { + cd ${srcdir}/hslogger-${pkgver} + + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + 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}/hslogger-${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/hslogger + runhaskell Setup copy --destdir=${pkgdir} +} Copied: haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 176732, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-05-25 09:08:42 UTC (rev 176733) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.9 +pkgrel=6 +pkgdesc="Versatile logging framework" +url="http://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +md5sums=('db8fd8ac6f8085317d66821ee27acd20') + +build() { + cd ${srcdir}/hslogger-${pkgver} + + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + 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}/hslogger-${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/hslogger + runhaskell Setup copy --destdir=${pkgdir} +}
[arch-commits] Commit in haskell-hslogger/repos (4 files)
Date: Friday, August 5, 2016 @ 16:08:21 Author: felixonmars Revision: 185331 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-hslogger/repos/community-staging-i686/ haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 185330, haskell-hslogger/trunk/PKGBUILD) haskell-hslogger/repos/community-staging-x86_64/ haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 185330, haskell-hslogger/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 38 community-staging-x86_64/PKGBUILD | 38 2 files changed, 76 insertions(+) Copied: haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 185330, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-08-05 16:08:21 UTC (rev 185331) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=2 +pkgdesc="Versatile logging framework" +url="http://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +md5sums=('fd014c58631c952d0c99fb109cdff9f8') + +build() { + cd ${srcdir}/hslogger-${pkgver} + + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + 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}/hslogger-${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/hslogger + runhaskell Setup copy --destdir=${pkgdir} +} Copied: haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 185330, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-08-05 16:08:21 UTC (rev 185331) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=2 +pkgdesc="Versatile logging framework" +url="http://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +md5sums=('fd014c58631c952d0c99fb109cdff9f8') + +build() { + cd ${srcdir}/hslogger-${pkgver} + + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + 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}/hslogger-${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/hslogger + runhaskell Setup copy --destdir=${pkgdir} +}
[arch-commits] Commit in haskell-hslogger/repos (4 files)
Date: Saturday, September 23, 2017 @ 05:58:01 Author: felixonmars Revision: 259875 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-hslogger/repos/community-i686/PKGBUILD (from rev 259874, haskell-hslogger/trunk/PKGBUILD) haskell-hslogger/repos/community-x86_64/PKGBUILD (from rev 259874, haskell-hslogger/trunk/PKGBUILD) Deleted: haskell-hslogger/repos/community-i686/PKGBUILD haskell-hslogger/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 76 community-i686/PKGBUILD | 41 --- community-x86_64/PKGBUILD | 41 --- 3 files changed, 76 insertions(+), 82 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-09-23 05:57:23 UTC (rev 259874) +++ community-i686/PKGBUILD 2017-09-23 05:58:01 UTC (rev 259875) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Arch Haskell Team - -pkgname=haskell-hslogger -pkgver=1.2.10 -pkgrel=5 -pkgdesc="Versatile logging framework" -url="https://hackage.haskell.org/package/hslogger"; -license=('LGPL') -arch=('i686' 'x86_64') -depends=('ghc-libs' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) -sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') - -build() { -cd "${srcdir}/hslogger-${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}/hslogger-${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-hslogger/repos/community-i686/PKGBUILD (from rev 259874, haskell-hslogger/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-23 05:58:01 UTC (rev 259875) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=6 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc-libs' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha512sums=('c2e3c6e7c8598aca2a18e507defa7536db7fdf15265b900401f8558b3259cd770531a3a302d6eb9ecca63a9629f0d5796e1ec94d8f21ecf153a1fc49f889183a') + +build() { +cd "${srcdir}/hslogger-${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}/hslogger-${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 05:57:23 UTC (rev 259874) +++ community-x86_64/PKGBUILD 2017-09-23 05:58:01 UTC (rev 259875) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Arch Haskell Team - -pkgname=haskell-hslogger -pkgver=1.2.10 -pkgrel=5 -pkgdesc="Versatile logging framework" -url="https://hackage.haskell.org/package/hslogge
[arch-commits] Commit in haskell-hslogger/repos (4 files)
Date: Tuesday, August 15, 2017 @ 08:25:47 Author: felixonmars Revision: 250712 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-hslogger/repos/community-staging-i686/ haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 250711, haskell-hslogger/trunk/PKGBUILD) haskell-hslogger/repos/community-staging-x86_64/ haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 250711, haskell-hslogger/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 41 community-staging-x86_64/PKGBUILD | 41 2 files changed, 82 insertions(+) Copied: haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 250711, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-15 08:25:47 UTC (rev 250712) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=5 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc-libs' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') + +build() { +cd "${srcdir}/hslogger-${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}/hslogger-${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-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 250711, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-15 08:25:47 UTC (rev 250712) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=5 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc-libs' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') + +build() { +cd "${srcdir}/hslogger-${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}/hslogger-${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-hslogger/repos (4 files)
Date: Friday, June 16, 2017 @ 07:24:56 Author: felixonmars Revision: 237518 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-hslogger/repos/community-staging-i686/ haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 237517, haskell-hslogger/trunk/PKGBUILD) haskell-hslogger/repos/community-staging-x86_64/ haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 237517, haskell-hslogger/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 43 community-staging-x86_64/PKGBUILD | 43 2 files changed, 86 insertions(+) Copied: haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 237517, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-16 07:24:56 UTC (rev 237518) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=4 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') + +build() { +cd "${srcdir}/hslogger-${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}/hslogger-${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/hslogger" +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-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 237517, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-16 07:24:56 UTC (rev 237518) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=4 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') + +build() { +cd "${srcdir}/hslogger-${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}/hslogger-${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/hslogger" +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-hslogger/repos (4 files)
Date: Thursday, June 1, 2017 @ 15:52:48 Author: felixonmars Revision: 232330 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-hslogger/repos/community-staging-i686/ haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 232329, haskell-hslogger/trunk/PKGBUILD) haskell-hslogger/repos/community-staging-x86_64/ haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 232329, haskell-hslogger/trunk/PKGBUILD) ---+ community-staging-i686/PKGBUILD | 38 community-staging-x86_64/PKGBUILD | 38 2 files changed, 76 insertions(+) Copied: haskell-hslogger/repos/community-staging-i686/PKGBUILD (from rev 232329, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-01 15:52:48 UTC (rev 232330) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=3 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') + +build() { + cd "$srcdir"/hslogger-${pkgver} + + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + 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}/hslogger-${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/hslogger + runhaskell Setup copy --destdir="$pkgdir" +} Copied: haskell-hslogger/repos/community-staging-x86_64/PKGBUILD (from rev 232329, haskell-hslogger/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-01 15:52:48 UTC (rev 232330) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Arch Haskell Team + +pkgname=haskell-hslogger +pkgver=1.2.10 +pkgrel=3 +pkgdesc="Versatile logging framework" +url="https://hackage.haskell.org/package/hslogger"; +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-old-locale') +source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz";) +sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b') + +build() { + cd "$srcdir"/hslogger-${pkgver} + + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + 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}/hslogger-${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/hslogger + runhaskell Setup copy --destdir="$pkgdir" +}