[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Wednesday, December 23, 2020 @ 23:14:11 Author: felixonmars Revision: 785686 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 785685, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 785685, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 23:14:11 UTC (rev 785686) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.2.0 +pkgrel=2 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('8f57c369a72c4da5ba546d6e62370567e835cc2f6da406fd00e8dbb48e803b2d') +sha512sums=('06c73b24b23caa41f3dce472bca384e3ee7ba02a3dd8bc4458bc758bc6aabdeca9be299f16419702e860f38ea213fd62d90e63fc4746dc2015c0e06b15aba6dd') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +runhaskell Setup build $MAKEFLAGS +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Friday, November 20, 2020 @ 00:24:16 Author: anthraxx Revision: 757858 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 757857, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 757857, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-20 00:24:16 UTC (rev 757858) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.2.0 +pkgrel=1 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('8f57c369a72c4da5ba546d6e62370567e835cc2f6da406fd00e8dbb48e803b2d') +sha512sums=('06c73b24b23caa41f3dce472bca384e3ee7ba02a3dd8bc4458bc758bc6aabdeca9be299f16419702e860f38ea213fd62d90e63fc4746dc2015c0e06b15aba6dd') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +runhaskell Setup build $MAKEFLAGS +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Sunday, August 30, 2020 @ 20:23:11 Author: felixonmars Revision: 693085 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 693084, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 693084, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-30 20:23:11 UTC (rev 693085) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=7 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +runhaskell Setup build $MAKEFLAGS +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Monday, August 17, 2020 @ 12:27:54 Author: felixonmars Revision: 682559 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 682558, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 682558, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-17 12:27:54 UTC (rev 682559) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=6 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +runhaskell Setup build $MAKEFLAGS +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Thursday, April 23, 2020 @ 22:44:36 Author: felixonmars Revision: 618366 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 618365, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 618365, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-23 22:44:36 UTC (rev 618366) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=5 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Thursday, February 27, 2020 @ 08:42:19 Author: felixonmars Revision: 583631 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 583630, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 583630, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-27 08:42:19 UTC (rev 583631) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=4 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Sunday, February 16, 2020 @ 19:52:31 Author: felixonmars Revision: 572811 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 572810, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 572810, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-16 19:52:31 UTC (rev 572811) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=3 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Wednesday, January 22, 2020 @ 07:09:30 Author: felixonmars Revision: 553384 archrelease: copy trunk to community-staging-x86_64 Added: haskell-timezone-olson/repos/community-staging-x86_64/ haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 553383, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from rev 553383, haskell-timezone-olson/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-22 07:09:30 UTC (rev 553384) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=2 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-timezone-olson/repos (2 files)
Date: Thursday, January 9, 2020 @ 23:05:10 Author: anthraxx Revision: 551515 archrelease: copy trunk to community-x86_64 Added: haskell-timezone-olson/repos/community-x86_64/ haskell-timezone-olson/repos/community-x86_64/PKGBUILD (from rev 551514, haskell-timezone-olson/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: haskell-timezone-olson/repos/community-x86_64/PKGBUILD (from rev 551514, haskell-timezone-olson/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-01-09 23:05:10 UTC (rev 551515) @@ -0,0 +1,54 @@ +# Maintainer: Levente Polyak + +_hkgname=timezone-olson +pkgname=haskell-${_hkgname} +pkgver=0.1.9 +pkgrel=1 +pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files' +url='http://projects.haskell.org/time-ng/' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base' 'haskell-binary' 'haskell-bytestring' + 'haskell-extensible-exceptions' 'haskell-time' 'haskell-timezone-series') +makedepends=('ghc') +source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha256sums=('32230509029bcf9e1bd95b5ad7ee69b8b0250cffc4bb8f2df88a651b3af74b15') +sha512sums=('1ad8f98ba3573f11154e18c5c0d2d7ee3b32f165d388318622195199da4765d1a0352b8a13fa38a6b2fb008de93f34d2a6aa35d2d7ada53e1ae8c5404d68b645') + +build() { + cd ${_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 \ + --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ + --ghc-option='-pie' +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 +} + +check() { + cd ${_hkgname}-${pkgver} + runhaskell Setup test +} + +package() { + cd ${_hkgname}-${pkgver} + install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + runhaskell Setup copy --destdir="$pkgdir" + + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +} + +# vim: ts=2 sw=2 et: