[arch-commits] Commit in haskell-bz2/repos (2 files)
Date: Tuesday, September 6, 2022 @ 19:27:00 Author: felixonmars Revision: 1294675 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1294674, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1294674, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-06 19:27:00 UTC (rev 1294675) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=174 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, August 30, 2022 @ 00:13:19 Author: felixonmars Revision: 1287143 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1287142, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1287142, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-30 00:13:19 UTC (rev 1287143) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=173 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, August 26, 2022 @ 16:45:27 Author: felixonmars Revision: 1283208 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1283207, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1283207, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 16:45:27 UTC (rev 1283208) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=172 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, August 25, 2022 @ 06:54:18 Author: felixonmars Revision: 1278135 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1278134, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1278134, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 06:54:18 UTC (rev 1278135) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=171 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, August 21, 2022 @ 17:33:17 Author: felixonmars Revision: 1273107 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1273106, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1273106, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-21 17:33:17 UTC (rev 1273107) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=170 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, August 19, 2022 @ 07:55:00 Author: felixonmars Revision: 1269570 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1269569, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1269569, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-19 07:55:00 UTC (rev 1269570) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=169 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, August 8, 2022 @ 19:06:09 Author: felixonmars Revision: 1262039 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1262038, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1262038, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-08 19:06:09 UTC (rev 1262039) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=168 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, July 25, 2022 @ 10:21:46 Author: felixonmars Revision: 1257367 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1257366, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1257366, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-25 10:21:46 UTC (rev 1257367) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=167 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, July 12, 2022 @ 20:19:16 Author: felixonmars Revision: 1251301 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1251300, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1251300, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-12 20:19:16 UTC (rev 1251301) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=166 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, July 5, 2022 @ 20:32:08 Author: felixonmars Revision: 1245561 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1245560, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1245560, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-05 20:32:08 UTC (rev 1245561) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=165 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, June 29, 2022 @ 23:52:23 Author: felixonmars Revision: 1241755 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1241754, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1241754, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-29 23:52:23 UTC (rev 1241755) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=164 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, June 12, 2022 @ 04:44:51 Author: felixonmars Revision: 1235757 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1235756, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1235756, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-12 04:44:51 UTC (rev 1235757) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=163 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, June 11, 2022 @ 13:03:54 Author: felixonmars Revision: 1233481 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1233480, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1233480, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-11 13:03:54 UTC (rev 1233481) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=162 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, June 10, 2022 @ 22:28:16 Author: felixonmars Revision: 1231769 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1231768, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1231768, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-10 22:28:16 UTC (rev 1231769) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=161 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, June 6, 2022 @ 10:22:26 Author: felixonmars Revision: 1225697 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1225696, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1225696, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-06 10:22:26 UTC (rev 1225697) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=160 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, June 5, 2022 @ 18:55:57 Author: felixonmars Revision: 1223920 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1223919, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1223919, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-05 18:55:57 UTC (rev 1223920) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=159 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, June 4, 2022 @ 15:41:21 Author: felixonmars Revision: 1221702 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1221701, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1221701, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-04 15:41:21 UTC (rev 1221702) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=158 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, June 3, 2022 @ 09:51:22 Author: felixonmars Revision: 1219970 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1219969, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1219969, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-03 09:51:22 UTC (rev 1219970) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=157 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, May 30, 2022 @ 10:49:40 Author: felixonmars Revision: 1215834 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1215833, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1215833, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-30 10:49:40 UTC (rev 1215834) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=156 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, May 28, 2022 @ 16:21:51 Author: felixonmars Revision: 1212169 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1212168, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1212168, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-28 16:21:51 UTC (rev 1212169) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=155 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, May 14, 2022 @ 13:48:58 Author: felixonmars Revision: 1204637 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1204636, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1204636, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 13:48:58 UTC (rev 1204637) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=154 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, May 13, 2022 @ 08:58:09 Author: felixonmars Revision: 1201209 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1201208, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1201208, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-13 08:58:09 UTC (rev 1201209) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=153 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, May 4, 2022 @ 12:44:37 Author: felixonmars Revision: 1193755 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1193754, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1193754, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-04 12:44:37 UTC (rev 1193755) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=152 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, April 23, 2022 @ 22:10:47 Author: felixonmars Revision: 1188859 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1188858, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1188858, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-23 22:10:47 UTC (rev 1188859) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=151 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, April 10, 2022 @ 10:53:17 Author: felixonmars Revision: 1184227 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1184226, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1184226, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-10 10:53:17 UTC (rev 1184227) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=150 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, April 1, 2022 @ 05:46:56 Author: felixonmars Revision: 1179162 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1179161, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1179161, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-01 05:46:56 UTC (rev 1179162) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=149 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, March 24, 2022 @ 02:14:31 Author: felixonmars Revision: 1173349 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1173348, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1173348, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 02:14:31 UTC (rev 1173349) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=148 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, March 21, 2022 @ 19:26:40 Author: felixonmars Revision: 1168092 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1168091, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1168091, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-21 19:26:40 UTC (rev 1168092) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=147 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, March 20, 2022 @ 18:41:50 Author: felixonmars Revision: 1164820 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1164819, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1164819, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-20 18:41:50 UTC (rev 1164820) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=146 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, March 19, 2022 @ 15:50:22 Author: felixonmars Revision: 1161539 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1161538, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1161538, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-19 15:50:22 UTC (rev 1161539) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=145 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, March 18, 2022 @ 17:38:23 Author: felixonmars Revision: 1158770 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1158769, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1158769, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-18 17:38:23 UTC (rev 1158770) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=144 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, March 14, 2022 @ 13:10:58 Author: felixonmars Revision: 1152698 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1152697, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1152697, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-14 13:10:58 UTC (rev 1152698) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=143 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, March 11, 2022 @ 16:18:48 Author: felixonmars Revision: 1148370 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1148369, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1148369, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-11 16:18:48 UTC (rev 1148370) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=142 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, March 7, 2022 @ 23:07:10 Author: felixonmars Revision: 1145302 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1145301, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1145301, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-07 23:07:10 UTC (rev 1145302) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=141 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, March 4, 2022 @ 02:25:05 Author: felixonmars Revision: 1141502 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1141501, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1141501, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-04 02:25:05 UTC (rev 1141502) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=140 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, February 20, 2022 @ 21:29:13 Author: felixonmars Revision: 1135430 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1135429, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1135429, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-20 21:29:13 UTC (rev 1135430) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=139 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, February 7, 2022 @ 22:20:35 Author: felixonmars Revision: 1128792 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1128791, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1128791, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-07 22:20:35 UTC (rev 1128792) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=138 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, February 2, 2022 @ 23:33:23 Author: felixonmars Revision: 1123586 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1123585, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1123585, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-02 23:33:23 UTC (rev 1123586) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=137 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, January 28, 2022 @ 18:39:24 Author: felixonmars Revision: 1118394 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1118393, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1118393, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-28 18:39:24 UTC (rev 1118394) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=136 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, January 26, 2022 @ 13:36:46 Author: felixonmars Revision: 1115705 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1115704, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1115704, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-26 13:36:46 UTC (rev 1115705) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=135 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, January 18, 2022 @ 14:09:46 Author: felixonmars Revision: 1108930 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1108929, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1108929, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-18 14:09:46 UTC (rev 1108930) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=134 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, January 15, 2022 @ 17:26:14 Author: felixonmars Revision: 1104503 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1104502, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1104502, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-15 17:26:14 UTC (rev 1104503) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=133 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, January 14, 2022 @ 22:19:22 Author: felixonmars Revision: 1103542 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1103541, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1103541, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-14 22:19:22 UTC (rev 1103542) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=132 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, January 11, 2022 @ 21:11:04 Author: felixonmars Revision: 1101065 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1101064, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1101064, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-11 21:11:04 UTC (rev 1101065) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=131 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, January 8, 2022 @ 01:03:50 Author: felixonmars Revision: 1096782 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1096781, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1096781, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-08 01:03:50 UTC (rev 1096782) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=130 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, January 6, 2022 @ 03:01:38 Author: felixonmars Revision: 1094218 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1094217, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1094217, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-06 03:01:38 UTC (rev 1094218) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=129 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, December 31, 2021 @ 08:40:12 Author: felixonmars Revision: 1089856 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1089855, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1089855, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-31 08:40:12 UTC (rev 1089856) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=128 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, December 28, 2021 @ 03:23:11 Author: felixonmars Revision: 1084950 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1084949, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1084949, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-28 03:23:11 UTC (rev 1084950) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=127 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, December 20, 2021 @ 23:48:04 Author: felixonmars Revision: 1081144 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1081143, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1081143, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-20 23:48:04 UTC (rev 1081144) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=126 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, December 18, 2021 @ 19:29:49 Author: felixonmars Revision: 1077604 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1077603, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1077603, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-18 19:29:49 UTC (rev 1077604) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=125 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, December 16, 2021 @ 07:19:22 Author: felixonmars Revision: 1073943 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1073942, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1073942, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-16 07:19:22 UTC (rev 1073943) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=124 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, November 29, 2021 @ 02:01:23 Author: felixonmars Revision: 1056157 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1056156, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1056156, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-29 02:01:23 UTC (rev 1056157) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=123 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, November 18, 2021 @ 12:07:44 Author: felixonmars Revision: 1052133 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1052132, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1052132, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-18 12:07:44 UTC (rev 1052133) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=122 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, November 17, 2021 @ 07:52:39 Author: felixonmars Revision: 1049697 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1049696, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1049696, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-17 07:52:39 UTC (rev 1049697) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=121 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Saturday, November 13, 2021 @ 17:50:16 Author: felixonmars Revision: 1045776 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1045775, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1045775, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-13 17:50:16 UTC (rev 1045776) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=120 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, November 12, 2021 @ 04:52:17 Author: felixonmars Revision: 1043216 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1043215, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1043215, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-12 04:52:17 UTC (rev 1043216) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=119 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, November 10, 2021 @ 22:20:58 Author: felixonmars Revision: 1040528 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1040527, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1040527, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-10 22:20:58 UTC (rev 1040528) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=118 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, October 26, 2021 @ 21:51:47 Author: felixonmars Revision: 1034567 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1034566, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1034566, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-26 21:51:47 UTC (rev 1034567) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=117 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, September 24, 2021 @ 13:06:09 Author: felixonmars Revision: 1023764 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1023763, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1023763, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 13:06:09 UTC (rev 1023764) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=116 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm +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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, September 21, 2021 @ 21:06:04 Author: felixonmars Revision: 1021027 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1021026, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1021026, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-21 21:06:04 UTC (rev 1021027) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=115 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, September 20, 2021 @ 02:34:33 Author: felixonmars Revision: 1018169 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1018168, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1018168, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-20 02:34:33 UTC (rev 1018169) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=114 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, August 29, 2021 @ 03:32:39 Author: felixonmars Revision: 1008611 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1008610, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1008610, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-29 03:32:39 UTC (rev 1008611) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=113 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, August 26, 2021 @ 09:21:25 Author: felixonmars Revision: 1005766 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1005765, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1005765, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-26 09:21:25 UTC (rev 1005766) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=112 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, August 17, 2021 @ 17:20:41 Author: felixonmars Revision: 1002213 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1002212, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 1002212, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-17 17:20:41 UTC (rev 1002213) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=111 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, August 15, 2021 @ 23:04:02 Author: felixonmars Revision: 999567 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 999566, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 999566, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-15 23:04:02 UTC (rev 999567) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=110 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Sunday, August 8, 2021 @ 20:54:45 Author: felixonmars Revision: 995854 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 995853, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 995853, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-08 20:54:45 UTC (rev 995854) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=109 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, July 27, 2021 @ 07:11:06 Author: felixonmars Revision: 986566 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 986565, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 986565, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-27 07:11:06 UTC (rev 986566) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=108 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, July 21, 2021 @ 17:47:15 Author: felixonmars Revision: 982502 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 982500, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 982500, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-21 17:47:15 UTC (rev 982502) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=107 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, July 20, 2021 @ 10:03:16 Author: felixonmars Revision: 979602 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 979601, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 979601, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-20 10:03:16 UTC (rev 979602) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=106 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, July 6, 2021 @ 15:35:40 Author: felixonmars Revision: 973429 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 973428, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 973428, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-06 15:35:40 UTC (rev 973429) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=105 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, July 2, 2021 @ 01:31:00 Author: felixonmars Revision: 970064 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 970063, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 970063, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-02 01:31:00 UTC (rev 970064) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=104 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, June 25, 2021 @ 06:05:16 Author: felixonmars Revision: 967386 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 967385, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 967385, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-25 06:05:16 UTC (rev 967386) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=103 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, June 10, 2021 @ 04:26:36 Author: felixonmars Revision: 961132 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 961131, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 961131, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-10 04:26:36 UTC (rev 961132) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=102 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, June 8, 2021 @ 06:35:38 Author: felixonmars Revision: 958660 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 958659, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 958659, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-08 06:35:38 UTC (rev 958660) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=101 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, June 3, 2021 @ 03:55:46 Author: felixonmars Revision: 954426 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 954425, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 954425, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-03 03:55:46 UTC (rev 954426) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=100 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Monday, May 31, 2021 @ 03:16:04 Author: felixonmars Revision: 951569 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 951568, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 951568, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-31 03:16:04 UTC (rev 951569) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=99 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, May 27, 2021 @ 02:12:58 Author: felixonmars Revision: 947765 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 947764, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 947764, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-27 02:12:58 UTC (rev 947765) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=98 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, May 21, 2021 @ 23:08:56 Author: felixonmars Revision: 941132 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 941131, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 941131, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-21 23:08:56 UTC (rev 941132) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=97 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Thursday, May 20, 2021 @ 05:03:28 Author: felixonmars Revision: 937766 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 937765, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 937765, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-20 05:03:28 UTC (rev 937766) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=96 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, May 14, 2021 @ 22:49:01 Author: felixonmars Revision: 934435 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 934434, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 934434, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-14 22:49:01 UTC (rev 934435) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=95 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Wednesday, May 12, 2021 @ 00:41:36 Author: felixonmars Revision: 931108 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 931107, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 931107, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-12 00:41:36 UTC (rev 931108) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=94 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Friday, April 23, 2021 @ 10:31:22 Author: felixonmars Revision: 922230 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 99, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 99, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-04-23 10:31:22 UTC (rev 922230) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=93 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +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-bz2/repos (2 files)
Date: Tuesday, April 13, 2021 @ 09:50:46 Author: felixonmars Revision: 916898 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 916897, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 916897, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-04-13 09:50:46 UTC (rev 916898) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=92 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Thursday, April 8, 2021 @ 07:36:10 Author: felixonmars Revision: 913652 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 913651, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 913651, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-04-08 07:36:10 UTC (rev 913652) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=91 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Monday, March 29, 2021 @ 08:45:18 Author: felixonmars Revision: 908812 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 908811, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 908811, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-29 08:45:18 UTC (rev 908812) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=90 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Sunday, March 28, 2021 @ 08:23:45 Author: felixonmars Revision: 906524 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 906523, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 906523, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-28 08:23:45 UTC (rev 906524) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=89 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Thursday, March 25, 2021 @ 08:46:53 Author: felixonmars Revision: 902720 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 902719, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 902719, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-25 08:46:53 UTC (rev 902720) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=88 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Tuesday, March 23, 2021 @ 03:59:58 Author: felixonmars Revision: 899829 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 899828, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 899828, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-23 03:59:58 UTC (rev 899829) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=87 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Sunday, March 21, 2021 @ 12:11:28 Author: felixonmars Revision: 897473 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 897472, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 897472, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-21 12:11:28 UTC (rev 897473) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=86 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Wednesday, March 17, 2021 @ 07:08:16 Author: felixonmars Revision: 893055 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 893054, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 893054, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-17 07:08:16 UTC (rev 893055) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=85 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Friday, March 12, 2021 @ 08:37:24 Author: felixonmars Revision: 888461 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 888460, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 888460, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-12 08:37:24 UTC (rev 888461) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=84 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Sunday, March 7, 2021 @ 08:07:17 Author: felixonmars Revision: 885787 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 885786, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 885786, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-07 08:07:17 UTC (rev 885787) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=83 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Friday, March 5, 2021 @ 22:58:56 Author: felixonmars Revision: 882678 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 882677, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 882677, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-05 22:58:56 UTC (rev 882678) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=82 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Thursday, March 4, 2021 @ 16:20:06 Author: felixonmars Revision: 880386 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 880385, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 880385, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-04 16:20:06 UTC (rev 880386) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=81 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Tuesday, March 2, 2021 @ 18:13:30 Author: felixonmars Revision: 877723 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 877722, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 877722, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-03-02 18:13:30 UTC (rev 877723) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=80 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Thursday, February 25, 2021 @ 06:29:39 Author: felixonmars Revision: 873035 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 873034, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 873034, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-02-25 06:29:39 UTC (rev 873035) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=79 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Tuesday, February 23, 2021 @ 09:31:23 Author: felixonmars Revision: 869457 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 869456, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 869456, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-02-23 09:31:23 UTC (rev 869457) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=78 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Thursday, February 18, 2021 @ 09:58:50 Author: felixonmars Revision: 863908 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 863907, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 863907, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-02-18 09:58:50 UTC (rev 863908) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=77 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Monday, February 15, 2021 @ 13:20:10 Author: felixonmars Revision: 861180 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 861179, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 861179, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-02-15 13:20:10 UTC (rev 861180) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=76 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-bz2/repos (2 files)
Date: Saturday, February 13, 2021 @ 05:21:08 Author: felixonmars Revision: 857953 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bz2/repos/community-staging-x86_64/ haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 857952, haskell-bz2/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-bz2/repos/community-staging-x86_64/PKGBUILD (from rev 857952, haskell-bz2/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-02-13 05:21:08 UTC (rev 857953) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=bz2 +pkgname=haskell-bz2 +pkgver=1.0.1.0 +pkgrel=75 +pkgdesc="Bindings to libbz2" +url="https://hub.darcs.net/vmchale/bz2"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'bzip2') +makedepends=('ghc' 'c2hs' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3e2b8550c878645fe49446abd31ae12ba1fce252c2e1d626b2be42d083f835338ce9def9af43884f12d30292f2e560b98a9783e772f7b1a87cbbf2e860a08b9f') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + +# Use system libbz2 +sed -i -e '/cbits/d' -e '/c-sources/d' -e '/hs-source-dirs/i \ extra-libraries: bz2' $_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 --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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 +}