[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Saturday, February 15, 2020 @ 17:02:53 Author: felixonmars Revision: 571788 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 571787, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 571787, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-15 17:02:53 UTC (rev 571788) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=15 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Thursday, February 27, 2020 @ 09:03:28 Author: felixonmars Revision: 583681 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 583680, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 583680, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-27 09:03:28 UTC (rev 583681) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=16 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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 +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Thursday, April 23, 2020 @ 23:05:41 Author: felixonmars Revision: 618427 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 618426, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 618426, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-23 23:05:41 UTC (rev 618427) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=17 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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 +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Wednesday, January 8, 2020 @ 23:36:23 Author: felixonmars Revision: 550874 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 550873, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 550873, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-08 23:36:23 UTC (rev 550874) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=14 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Friday, April 26, 2019 @ 07:03:40 Author: felixonmars Revision: 454119 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 454118, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 454118, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-26 07:03:40 UTC (rev 454119) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=13 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Sunday, March 10, 2019 @ 00:53:16 Author: felixonmars Revision: 438847 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 438846, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 438846, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-10 00:53:16 UTC (rev 438847) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=12 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Sunday, August 30, 2020 @ 20:38:53 Author: felixonmars Revision: 693119 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 693118, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 693118, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-30 20:38:53 UTC (rev 693119) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=19 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +runhaskell Setup build $MAKEFLAGS +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 $_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 +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Monday, August 17, 2020 @ 12:42:10 Author: felixonmars Revision: 682593 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 682592, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 682592, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-17 12:42:10 UTC (rev 682593) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=18 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +runhaskell Setup build $MAKEFLAGS +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 $_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 +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Sunday, November 26, 2017 @ 09:40:32 Author: felixonmars Revision: 268900 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 268899, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 44 1 file changed, 44 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 268899, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-26 09:40:32 UTC (rev 268900) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=6 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Wednesday, December 23, 2020 @ 22:02:55 Author: felixonmars Revision: 785444 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 785443, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 785443, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 22:02:55 UTC (rev 785444) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=20 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +runhaskell Setup build $MAKEFLAGS +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 $_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 +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Sunday, December 27, 2009 @ 08:35:58 Author: vesa Revision: 61861 Merged revisions 61860 via svnmerge from svn+ssh://v...@gerolde.archlinux.org/srv/svn-packages/haskell-utf8-string/trunk r61860 | vesa | 2009-12-27 15:35:21 +0200 (Sun, 27 Dec 2009) | 2 lines -p --enable-shared Modified: haskell-utf8-string/repos/testing-i686/ (properties) haskell-utf8-string/repos/testing-i686/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Property changes on: haskell-utf8-string/repos/testing-i686 ___ Modified: svnmerge-integrated - /haskell-utf8-string/trunk:1-61210 + /haskell-utf8-string/trunk:1-61860 Modified: testing-i686/PKGBUILD === --- testing-i686/PKGBUILD 2009-12-27 13:35:21 UTC (rev 61860) +++ testing-i686/PKGBUILD 2009-12-27 13:35:58 UTC (rev 61861) @@ -3,7 +3,7 @@ # Package generated by cabal2arch 0.4.1 pkgname=haskell-utf8-string pkgver=0.3.6 -pkgrel=1 +pkgrel=2 pkgdesc="Support for reading and writing UTF8 Strings" url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/utf8-string"; license=('custom:BSD3') @@ -15,7 +15,7 @@ build() { cd $srcdir/utf8-string-$pkgver -runhaskell Setup configure --prefix=/usr || return 1 +runhaskell Setup configure -p --enable-shared --prefix=/usr || return 1 runhaskell Setup build || return 1 runhaskell Setup register --gen-script || return 1 runhaskell Setup unregister --gen-script || return 1
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Sunday, December 27, 2009 @ 09:39:57 Author: vesa Revision: 61880 Merged revisions 61879 via svnmerge from svn+ssh://v...@gerolde.archlinux.org/srv/svn-packages/haskell-utf8-string/trunk r61879 | vesa | 2009-12-27 16:39:16 +0200 (Sun, 27 Dec 2009) | 2 lines --enable-split-objs Modified: haskell-utf8-string/repos/testing-i686/ (properties) haskell-utf8-string/repos/testing-i686/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Property changes on: haskell-utf8-string/repos/testing-i686 ___ Modified: svnmerge-integrated - /haskell-utf8-string/trunk:1-61860 + /haskell-utf8-string/trunk:1-61879 Modified: testing-i686/PKGBUILD === --- testing-i686/PKGBUILD 2009-12-27 14:39:16 UTC (rev 61879) +++ testing-i686/PKGBUILD 2009-12-27 14:39:57 UTC (rev 61880) @@ -15,7 +15,7 @@ build() { cd $srcdir/utf8-string-$pkgver -runhaskell Setup configure -p --enable-shared --prefix=/usr || return 1 +runhaskell Setup configure -p --enable-split-objs --enable-shared --prefix=/usr || return 1 runhaskell Setup build || return 1 runhaskell Setup register --gen-script || return 1 runhaskell Setup unregister --gen-script || return 1
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Wednesday, January 13, 2010 @ 02:07:31 Author: vesa Revision: 62857 Merged revisions 62856 via svnmerge from svn+ssh://v...@gerolde.archlinux.org/srv/svn-packages/haskell-utf8-string/trunk r62856 | vesa | 2010-01-13 09:06:59 +0200 (Wed, 13 Jan 2010) | 2 lines rebuild bump Modified: haskell-utf8-string/repos/testing-x86_64/ (properties) haskell-utf8-string/repos/testing-x86_64/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Property changes on: haskell-utf8-string/repos/testing-x86_64 ___ Modified: svnmerge-integrated - /haskell-utf8-string/trunk:1-62711 + /haskell-utf8-string/trunk:1-62856 Modified: testing-x86_64/PKGBUILD === --- testing-x86_64/PKGBUILD 2010-01-13 07:06:59 UTC (rev 62856) +++ testing-x86_64/PKGBUILD 2010-01-13 07:07:31 UTC (rev 62857) @@ -3,7 +3,7 @@ # Package generated by cabal2arch 0.4.1 pkgname=haskell-utf8-string pkgver=0.3.6 -pkgrel=2 +pkgrel=2.1 pkgdesc="Support for reading and writing UTF8 Strings" url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/utf8-string"; license=('custom:BSD3')
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Monday, December 10, 2018 @ 00:54:40 Author: felixonmars Revision: 413606 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 413605, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 413605, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-10 00:54:40 UTC (rev 413606) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=11 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Monday, October 15, 2018 @ 11:14:12 Author: felixonmars Revision: 394067 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 394066, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 394066, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-10-15 11:14:12 UTC (rev 394067) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=9 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Tuesday, November 6, 2018 @ 22:07:06 Author: felixonmars Revision: 402313 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 402312, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 402312, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-06 22:07:06 UTC (rev 402313) @@ -0,0 +1,43 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=10 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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 +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 $_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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Thursday, May 17, 2018 @ 07:28:42 Author: felixonmars Revision: 323385 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 323384, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 44 1 file changed, 44 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 323384, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-17 07:28:42 UTC (rev 323385) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=7 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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" +}
[arch-commits] Commit in haskell-utf8-string/repos (2 files)
Date: Friday, June 1, 2018 @ 03:44:20 Author: felixonmars Revision: 335376 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utf8-string/repos/community-staging-x86_64/ haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 335375, haskell-utf8-string/trunk/PKGBUILD) --+ PKGBUILD | 44 1 file changed, 44 insertions(+) Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 335375, haskell-utf8-string/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-01 03:44:20 UTC (rev 335376) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 + +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=1.0.1.1 +pkgrel=8 +pkgdesc="Support for reading and writing UTF8 Strings" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'sh') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965') + +prepare() { +sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_hkgname}-${pkgver}/${_hkgname}.cabal +} + +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" +}