[arch-commits] Commit in haskell-dense-linear-algebra/repos (2 files)
Date: Friday, September 24, 2021 @ 06:59:48 Author: felixonmars Revision: 1023401 archrelease: copy trunk to community-staging-x86_64 Added: haskell-dense-linear-algebra/repos/community-staging-x86_64/ haskell-dense-linear-algebra/repos/community-staging-x86_64/PKGBUILD (from rev 1023400, haskell-dense-linear-algebra/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-dense-linear-algebra/repos/community-staging-x86_64/PKGBUILD (from rev 1023400, haskell-dense-linear-algebra/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:59:48 UTC (rev 1023401) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=dense-linear-algebra +pkgname=haskell-dense-linear-algebra +pkgver=0.1.0.0 +pkgrel=150 +pkgdesc="Simple and incomplete pure haskell implementation of linear algebra" +url="https://github.com/bos/statistics"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-math-functions' 'haskell-primitive' 'haskell-vector' + 'haskell-vector-algorithms' 'haskell-vector-th-unbox' 'haskell-vector-binary-instances') +makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('bcc70b42c3ea59aa3a739e2b189b9a1018d3dc27e65f5016502a2068005f480c296960ba7758a810cb22bfde53b5a597a66a3e1dd7bb732e54fe5daa1be08aa0') + +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-dense-linear-algebra/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:59:35 Author: felixonmars Revision: 1023400 upgpkg: haskell-dense-linear-algebra 0.1.0.0-150: rebuild with vector 0.12.3.1 Modified: haskell-dense-linear-algebra/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:58:35 UTC (rev 1023399) +++ PKGBUILD2021-09-24 06:59:35 UTC (rev 1023400) @@ -3,7 +3,7 @@ _hkgname=dense-linear-algebra pkgname=haskell-dense-linear-algebra pkgver=0.1.0.0 -pkgrel=149 +pkgrel=150 pkgdesc="Simple and incomplete pure haskell implementation of linear algebra" url="https://github.com/bos/statistics"; license=('BSD') @@ -19,7 +19,7 @@ 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 +--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
[arch-commits] Commit in haskell-utility-ht/repos (2 files)
Date: Friday, September 24, 2021 @ 06:58:35 Author: felixonmars Revision: 1023399 archrelease: copy trunk to community-staging-x86_64 Added: haskell-utility-ht/repos/community-staging-x86_64/ haskell-utility-ht/repos/community-staging-x86_64/PKGBUILD (from rev 1023398, haskell-utility-ht/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-utility-ht/repos/community-staging-x86_64/PKGBUILD (from rev 1023398, haskell-utility-ht/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:58:35 UTC (rev 1023399) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=utility-ht +pkgname=haskell-utility-ht +pkgver=0.0.16 +pkgrel=33 +pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions" +url="http://www.haskell.org/haskellwiki/Utility-HT"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest-exitcode-stdio' 'haskell-doctest-lib') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('dc43586c4cd3816b8d9c1f2d952e82a2b633d86df1bdcb19bcaaf96977d3b9b4399cbf6e7c12a1f7f2a8cd0d461a5964af8e2748a016406b1364a9a327d67a79') + +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-utility-ht/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:58:22 Author: felixonmars Revision: 1023398 upgpkg: haskell-utility-ht 0.0.16-33: rebuild with vector 0.12.3.1 Modified: haskell-utility-ht/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:57:41 UTC (rev 1023397) +++ PKGBUILD2021-09-24 06:58:22 UTC (rev 1023398) @@ -4,7 +4,7 @@ _hkgname=utility-ht pkgname=haskell-utility-ht pkgver=0.0.16 -pkgrel=32 +pkgrel=33 pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions" url="http://www.haskell.org/haskellwiki/Utility-HT"; license=("BSD") @@ -19,7 +19,7 @@ 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 +--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
[arch-commits] Commit in nextcloud-client/repos/community-testing-x86_64 (2 files)
Date: Friday, September 24, 2021 @ 06:57:41 Author: arojas Revision: 1023397 archrelease: copy trunk to community-testing-x86_64 Added: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 1023396, nextcloud-client/trunk/PKGBUILD) Deleted: nextcloud-client/repos/community-testing-x86_64/PKGBUILD --+ PKGBUILD | 200 ++--- 1 file changed, 100 insertions(+), 100 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-24 06:56:58 UTC (rev 1023396) +++ PKGBUILD2021-09-24 06:57:41 UTC (rev 1023397) @@ -1,100 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Tyler Dence -# Contributor: Konstantin Shalygin - -pkgbase=nextcloud-client -# Put config files for libcloudproviders integration in a separate package as -# there is no simple way yet to disable it. -# See: https://gitlab.gnome.org/World/libcloudproviders/-/issues/17 -pkgname=(nextcloud-client nextcloud-client-cloudproviders) -epoch=1 -# Upstream does not provide signed tarballs (yet) -# https://github.com/nextcloud/desktop/issues/1510 -pkgver=3.3.4 -# `git rev-parse v$pkgver` -_tag=b2420031063f58720402b42d0f648a51ebf3 -pkgrel=1 -arch=(x86_64) -url='https://nextcloud.com/' -license=(GPL) -makedepends=(libcloudproviders openssl sqlite - qt5-quickcontrols2 qt5-svg qt5-tools qt5-webengine qt5-websockets qtkeychain-qt5 - extra-cmake-modules kio - cmocka doxygen git inkscape python-sphinx) -source=("$pkgbase::git+https://github.com/nextcloud/desktop.git?signed#tag=$_tag";) -validpgpkeys=( - A26B951528EA1BA1678C7AE5D406C75CEE1A36D6 # one of keys controlled by github.com/camilasan - 42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28 # controlled by github.com/misch7 - 17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2 # https://github.com/er-vin.gpg - 01D736173523DFC7A7B55258C2FBEF0E1C7E72D0 # https://github.com/allexzander - 267BF70F7905C2723B0243267D0F74F05C22F553 # https://github.com/mgallien - 3A877D9A896A057948059DEDAD2C27357B2CB11D # https://github.com/FlexW -) -sha256sums=('SKIP') - -prepare() { - # tmpdir for check() - mkdir tmpdir - - # Use system GNUInstallDirs.cmake so that we can benefit from - # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735 - # XXX: the following line can be removed after https://github.com/nextcloud/desktop/pull/3729 is backported - rm -v $pkgbase/cmake/modules/GNUInstallDirs.cmake -} - -build() { - cd $pkgbase - - # bundled breakpad in libcrashreporter-qt submodule is too old and does not build with glibc >= 2.26 - # Upstream fix: https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d - cmake -B build -S . \ --DCMAKE_BUILD_TYPE=None \ --DCMAKE_INSTALL_PREFIX=/usr \ --DWITH_CRASHREPORTER=OFF \ --DUNIT_TESTING=ON \ --DPLUGINDIR=lib/qt/plugins # Fix vfs plugin install dir https://github.com/nextcloud/desktop/issues/3781#issuecomment-918918320 - - # TODO: fix installation of PDF and HTML documents - # WIP at https://github.com/yan12125/desktop/tree/doc-install-path - make -C build all doc-man -} - -check() { - cd $pkgbase/build - - # Tests fail if $TMPDIR is too small; specify an alternative for machines - # with a small /tmp partition. - # Use UTC as TestCookies is sensitive to the timezone - # https://github.com/nextcloud/desktop/blob/v3.2.2/test/testcookies.cpp#L24 - TMPDIR="$srcdir/tmpdir" TZ=UTC ARGS="--rerun-failed --output-on-failure" make test -} - -package_nextcloud-client() { - pkgdesc='Nextcloud desktop client' - depends=(openssl sqlite qtkeychain-qt5 qt5-svg qt5-webengine qt5-websockets xdg-utils libcloudproviders - qt5-graphicaleffects qt5-quickcontrols2) - optdepends=( -'kio: integration with Dolphin' -'nemo-python: integration with Nemo' -'python-nautilus: integration with Nautilus' -'python-caja: integration with Caja' -'nextcloud-client-cloudproviders: cloudproviders support' - ) - backup=('etc/Nextcloud/sync-exclude.lst') - - cd $pkgbase/build - - make DESTDIR="$pkgdir" install - - rm -v "$pkgdir"/usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini - rm -v "$pkgdir"/usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service - cd "$pkgdir"/usr/share && rmdir -p cloud-providers dbus-1/services -} - -package_nextcloud-client-cloudproviders() { - pkgdesc='cloudproviders support for the Nextcloud desktop client' - depends=(nextcloud-client) - - cd $pkgbase/build - make -C shell_integration/libcloudproviders DESTDIR="$pkgdir" install -} Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 1023396, nextcloud-client/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-24 06:57:41 UTC (rev 1023397) @@ -0,0 +1,100 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor:
[arch-commits] Commit in haskell-arrows/repos (2 files)
Date: Friday, September 24, 2021 @ 06:56:58 Author: felixonmars Revision: 1023396 archrelease: copy trunk to community-staging-x86_64 Added: haskell-arrows/repos/community-staging-x86_64/ haskell-arrows/repos/community-staging-x86_64/PKGBUILD (from rev 1023395, haskell-arrows/trunk/PKGBUILD) --+ PKGBUILD | 40 1 file changed, 40 insertions(+) Copied: haskell-arrows/repos/community-staging-x86_64/PKGBUILD (from rev 1023395, haskell-arrows/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:56:58 UTC (rev 1023396) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan + +_hkgname=arrows +pkgname=haskell-arrows +pkgver=0.4.4.2 +pkgrel=33 +pkgdesc="Arrow classes and transformers" +url="http://www.haskell.org/arrows/"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-stream') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('f65ac93306629e70ae0d92914cc04d6ab499de3168036f0623aba3fffd22ab09') + +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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in nextcloud-client/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, September 24, 2021 @ 06:56:42 Author: arojas Revision: 1023394 archrelease: copy trunk to community-x86_64 Added: nextcloud-client/repos/community-x86_64/PKGBUILD (from rev 1023393, nextcloud-client/trunk/PKGBUILD) Deleted: nextcloud-client/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 200 ++--- 1 file changed, 100 insertions(+), 100 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-24 06:56:24 UTC (rev 1023393) +++ PKGBUILD2021-09-24 06:56:42 UTC (rev 1023394) @@ -1,100 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Tyler Dence -# Contributor: Konstantin Shalygin - -pkgbase=nextcloud-client -# Put config files for libcloudproviders integration in a separate package as -# there is no simple way yet to disable it. -# See: https://gitlab.gnome.org/World/libcloudproviders/-/issues/17 -pkgname=(nextcloud-client nextcloud-client-cloudproviders) -epoch=1 -# Upstream does not provide signed tarballs (yet) -# https://github.com/nextcloud/desktop/issues/1510 -pkgver=3.3.3 -# `git rev-parse v$pkgver` -_tag=b2420031063f58720402b42d0f648a51ebf3 -pkgrel=2 -arch=(x86_64) -url='https://nextcloud.com/' -license=(GPL) -makedepends=(libcloudproviders openssl sqlite - qt5-quickcontrols2 qt5-svg qt5-tools qt5-webengine qt5-websockets qtkeychain-qt5 - extra-cmake-modules kio - cmocka doxygen git inkscape python-sphinx) -source=("$pkgbase::git+https://github.com/nextcloud/desktop.git?signed#tag=$_tag";) -validpgpkeys=( - A26B951528EA1BA1678C7AE5D406C75CEE1A36D6 # one of keys controlled by github.com/camilasan - 42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28 # controlled by github.com/misch7 - 17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2 # https://github.com/er-vin.gpg - 01D736173523DFC7A7B55258C2FBEF0E1C7E72D0 # https://github.com/allexzander - 267BF70F7905C2723B0243267D0F74F05C22F553 # https://github.com/mgallien - 3A877D9A896A057948059DEDAD2C27357B2CB11D # https://github.com/FlexW -) -sha256sums=('SKIP') - -prepare() { - # tmpdir for check() - mkdir tmpdir - - # Use system GNUInstallDirs.cmake so that we can benefit from - # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735 - # XXX: the following line can be removed after https://github.com/nextcloud/desktop/pull/3729 is backported - rm -v $pkgbase/cmake/modules/GNUInstallDirs.cmake -} - -build() { - cd $pkgbase - - # bundled breakpad in libcrashreporter-qt submodule is too old and does not build with glibc >= 2.26 - # Upstream fix: https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d - cmake -B build -S . \ --DCMAKE_BUILD_TYPE=None \ --DCMAKE_INSTALL_PREFIX=/usr \ --DWITH_CRASHREPORTER=OFF \ --DUNIT_TESTING=ON \ --DPLUGINDIR=lib/qt/plugins # Fix vfs plugin install dir https://github.com/nextcloud/desktop/issues/3781#issuecomment-918918320 - - # TODO: fix installation of PDF and HTML documents - # WIP at https://github.com/yan12125/desktop/tree/doc-install-path - make -C build all doc-man -} - -check() { - cd $pkgbase/build - - # Tests fail if $TMPDIR is too small; specify an alternative for machines - # with a small /tmp partition. - # Use UTC as TestCookies is sensitive to the timezone - # https://github.com/nextcloud/desktop/blob/v3.2.2/test/testcookies.cpp#L24 - TMPDIR="$srcdir/tmpdir" TZ=UTC ARGS="--rerun-failed --output-on-failure" make test -} - -package_nextcloud-client() { - pkgdesc='Nextcloud desktop client' - depends=(openssl sqlite qtkeychain-qt5 qt5-svg qt5-webengine qt5-websockets xdg-utils libcloudproviders - qt5-graphicaleffects qt5-quickcontrols2) - optdepends=( -'kio: integration with Dolphin' -'nemo-python: integration with Nemo' -'python-nautilus: integration with Nautilus' -'python-caja: integration with Caja' -'nextcloud-client-cloudproviders: cloudproviders support' - ) - backup=('etc/Nextcloud/sync-exclude.lst') - - cd $pkgbase/build - - make DESTDIR="$pkgdir" install - - rm -v "$pkgdir"/usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini - rm -v "$pkgdir"/usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service - cd "$pkgdir"/usr/share && rmdir -p cloud-providers dbus-1/services -} - -package_nextcloud-client-cloudproviders() { - pkgdesc='cloudproviders support for the Nextcloud desktop client' - depends=(nextcloud-client) - - cd $pkgbase/build - make -C shell_integration/libcloudproviders DESTDIR="$pkgdir" install -} Copied: nextcloud-client/repos/community-x86_64/PKGBUILD (from rev 1023393, nextcloud-client/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-24 06:56:42 UTC (rev 1023394) @@ -0,0 +1,100 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Tyler Dence +# Contributor: Ko
[arch-commits] Commit in haskell-arrows/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:56:45 Author: felixonmars Revision: 1023395 upgpkg: haskell-arrows 0.4.4.2-33: rebuild with vector 0.12.3.1 Modified: haskell-arrows/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:56:42 UTC (rev 1023394) +++ PKGBUILD2021-09-24 06:56:45 UTC (rev 1023395) @@ -3,7 +3,7 @@ _hkgname=arrows pkgname=haskell-arrows pkgver=0.4.4.2 -pkgrel=32 +pkgrel=33 pkgdesc="Arrow classes and transformers" url="http://www.haskell.org/arrows/"; license=("BSD") @@ -18,7 +18,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in nextcloud-client/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:56:24 Author: arojas Revision: 1023393 Actually update Modified: nextcloud-client/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:55:56 UTC (rev 1023392) +++ PKGBUILD2021-09-24 06:56:24 UTC (rev 1023393) @@ -12,8 +12,8 @@ # https://github.com/nextcloud/desktop/issues/1510 pkgver=3.3.4 # `git rev-parse v$pkgver` -_tag=b2420031063f58720402b42d0f648a51ebf3 -pkgrel=1 +_tag=010647dec35b0ba5591d0e227d3549cbc765a53d +pkgrel=2 arch=(x86_64) url='https://nextcloud.com/' license=(GPL)
[arch-commits] Commit in haskell-attoparsec/repos (2 files)
Date: Friday, September 24, 2021 @ 06:55:56 Author: felixonmars Revision: 1023392 archrelease: copy trunk to community-staging-x86_64 Added: haskell-attoparsec/repos/community-staging-x86_64/ haskell-attoparsec/repos/community-staging-x86_64/PKGBUILD (from rev 1023391, haskell-attoparsec/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-attoparsec/repos/community-staging-x86_64/PKGBUILD (from rev 1023391, haskell-attoparsec/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:55:56 UTC (rev 1023392) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=attoparsec +pkgname=haskell-attoparsec +pkgver=0.14.1 +pkgrel=30 +pkgdesc="Fast combinator parsing for bytestrings and text" +url="https://github.com/bos/attoparsec"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-scientific') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-unicode' 'haskell-tasty' + 'haskell-tasty-quickcheck' 'haskell-vector') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('a43925cdfd4685c7ae34057536d713fc4edda9681a06cdf386bac618441499a2ed6c6088059e7c003381d3039ce32e413ed4f87a8ead0fd0f18c8aac3ce127ac') + +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 \ +-f-developer +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-attoparsec/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:55:44 Author: felixonmars Revision: 1023391 upgpkg: haskell-attoparsec 0.14.1-30: rebuild with vector 0.12.3.1 Modified: haskell-attoparsec/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:52:51 UTC (rev 1023390) +++ PKGBUILD2021-09-24 06:55:44 UTC (rev 1023391) @@ -4,7 +4,7 @@ _hkgname=attoparsec pkgname=haskell-attoparsec pkgver=0.14.1 -pkgrel=29 +pkgrel=30 pkgdesc="Fast combinator parsing for bytestrings and text" url="https://github.com/bos/attoparsec"; license=("BSD") @@ -20,7 +20,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-developer runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-universe-reverse-instances/repos (2 files)
Date: Friday, September 24, 2021 @ 06:52:51 Author: felixonmars Revision: 1023390 archrelease: copy trunk to community-staging-x86_64 Added: haskell-universe-reverse-instances/repos/community-staging-x86_64/ haskell-universe-reverse-instances/repos/community-staging-x86_64/PKGBUILD (from rev 1023389, haskell-universe-reverse-instances/trunk/PKGBUILD) --+ PKGBUILD | 40 1 file changed, 40 insertions(+) Copied: haskell-universe-reverse-instances/repos/community-staging-x86_64/PKGBUILD (from rev 1023389, haskell-universe-reverse-instances/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:52:51 UTC (rev 1023390) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan + +_hkgname=universe-reverse-instances +pkgname=haskell-universe-reverse-instances +pkgver=1.1.1 +pkgrel=55 +pkgdesc="Instances of standard classes that are made possible by enumerations" +url="https://github.com/dmwit/universe"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-universe-base') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('c7f3d10a7b9be605bdc7e51b236240dce781e7674ded90e40998e71ac1765bc8b2c55271063c0e05ed033ea454a264da7fb1ff828283df504fc86ca52db0fda7') + +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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-universe-reverse-instances/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:52:39 Author: felixonmars Revision: 1023389 upgpkg: haskell-universe-reverse-instances 1.1.1-55: rebuild with vector 0.12.3.1 Modified: haskell-universe-reverse-instances/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:51:58 UTC (rev 1023388) +++ PKGBUILD2021-09-24 06:52:39 UTC (rev 1023389) @@ -3,7 +3,7 @@ _hkgname=universe-reverse-instances pkgname=haskell-universe-reverse-instances pkgver=1.1.1 -pkgrel=54 +pkgrel=55 pkgdesc="Instances of standard classes that are made possible by enumerations" url="https://github.com/dmwit/universe"; license=("BSD") @@ -18,7 +18,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-fin/repos (2 files)
Date: Friday, September 24, 2021 @ 06:51:58 Author: felixonmars Revision: 1023388 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fin/repos/community-staging-x86_64/ haskell-fin/repos/community-staging-x86_64/PKGBUILD (from rev 1023387, haskell-fin/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-fin/repos/community-staging-x86_64/PKGBUILD (from rev 1023387, haskell-fin/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:51:58 UTC (rev 1023388) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=fin +pkgname=haskell-fin +pkgver=0.2 +pkgrel=27 +pkgdesc="Nat and Fin: peano naturals and finite numbers" +url="https://github.com/phadej/vec"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-quickcheck' 'haskell-dec' 'haskell-hashable' 'haskell-universe-base') +makedepends=('ghc' 'uusi' 'haskell-inspection-testing' 'haskell-tagged') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('1002a48eab01fdd0ad3cabcc8fda1caf7ef3d67ff78316ceb7e7f00a4c97964e7017160a17b6b6b2ae9e2b17d0e55313c0bb5474a611857b8c18299ebf814edf') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-fin/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:51:45 Author: felixonmars Revision: 1023387 upgpkg: haskell-fin 0.2-27: rebuild with vector 0.12.3.1 Modified: haskell-fin/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 06:50:46 UTC (rev 1023386) +++ PKGBUILD2021-09-24 06:51:45 UTC (rev 1023387) @@ -3,7 +3,7 @@ _hkgname=fin pkgname=haskell-fin pkgver=0.2 -pkgrel=26 +pkgrel=27 pkgdesc="Nat and Fin: peano naturals and finite numbers" url="https://github.com/phadej/vec"; license=("BSD") @@ -23,7 +23,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-unagi-chan/repos (2 files)
Date: Friday, September 24, 2021 @ 06:50:46 Author: felixonmars Revision: 1023386 archrelease: copy trunk to community-staging-x86_64 Added: haskell-unagi-chan/repos/community-staging-x86_64/ haskell-unagi-chan/repos/community-staging-x86_64/PKGBUILD (from rev 1023385, haskell-unagi-chan/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-unagi-chan/repos/community-staging-x86_64/PKGBUILD (from rev 1023385, haskell-unagi-chan/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 06:50:46 UTC (rev 1023386) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=unagi-chan +pkgname=haskell-unagi-chan +pkgver=0.4.1.3 +pkgrel=90 +pkgdesc="Fast concurrent queues with a Chan-like API, and more" +url="https://github.com/jberryman/unagi-chan"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-atomic-primops' 'haskell-primitive') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('b7eadbef75a789fa028a47a56fa6b923902e8032f6f49ab110ef7479d8f6a04a496272947e491270191099914d072c4100623de932d810f32300f785dbc3c8e4') + +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 +# https://github.com/jberryman/unagi-chan/issues/25 +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-unagi-chan/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 06:50:33 Author: felixonmars Revision: 1023385 upgpkg: haskell-unagi-chan 0.4.1.3-90: rebuild with vector 0.12.3.1 Modified: haskell-unagi-chan/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:46:29 UTC (rev 1023384) +++ PKGBUILD2021-09-24 06:50:33 UTC (rev 1023385) @@ -3,7 +3,7 @@ _hkgname=unagi-chan pkgname=haskell-unagi-chan pkgver=0.4.1.3 -pkgrel=89 +pkgrel=90 pkgdesc="Fast concurrent queues with a Chan-like API, and more" url="https://github.com/jberryman/unagi-chan"; license=('BSD') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haveged/repos (3 files)
Date: Friday, September 24, 2021 @ 06:46:25 Author: eworm Revision: 424610 archrelease: copy trunk to testing-x86_64 Added: haveged/repos/testing-x86_64/ haveged/repos/testing-x86_64/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch (from rev 424609, haveged/trunk/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch) haveged/repos/testing-x86_64/PKGBUILD (from rev 424609, haveged/trunk/PKGBUILD) -+ 0001-Updated-systemd-service-files-to-not-start-haveged-s.patch | 47 + PKGBUILD| 50 ++ 2 files changed, 97 insertions(+) Copied: haveged/repos/testing-x86_64/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch (from rev 424609, haveged/trunk/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch) === --- testing-x86_64/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch (rev 0) +++ testing-x86_64/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch 2021-09-24 06:46:25 UTC (rev 424610) @@ -0,0 +1,47 @@ +From cef1d425b5431847b8c9ab5b00c3e6b82a32b4f2 Mon Sep 17 00:00:00 2001 +From: Jirka Hladky +Date: Mon, 30 Aug 2021 01:37:59 +0200 +Subject: [PATCH 1/1] Updated systemd service files to not start haveged + service on kernel 5.6 and newer +--- + contrib/Fedora/haveged-switch-root.service | 1 + + contrib/Fedora/haveged.service | 1 + + contrib/SUSE/haveged-switch-root.service | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/contrib/Fedora/haveged-switch-root.service b/contrib/Fedora/haveged-switch-root.service +index 8cc38cf..a3eb086 100644 +--- a/contrib/Fedora/haveged-switch-root.service b/contrib/Fedora/haveged-switch-root.service +@@ -1,6 +1,7 @@ + [Unit] + Description=Tell haveged about new root + DefaultDependencies=no ++ConditionKernelVersion=<5.6 + ConditionPathExists=/etc/initrd-release + Before=initrd-switch-root.service + JoinsNamespaceOf=haveged.service +diff --git a/contrib/Fedora/haveged.service b/contrib/Fedora/haveged.service +index abb9cfc..2bbb9a3 100644 +--- a/contrib/Fedora/haveged.service b/contrib/Fedora/haveged.service +@@ -2,6 +2,7 @@ + Description=Entropy Daemon based on the HAVEGE algorithm + Documentation=man:haveged(8) http://www.issihosts.com/haveged/ + DefaultDependencies=no ++ConditionKernelVersion=<5.6 + After=systemd-tmpfiles-setup-dev.service + Before=sysinit.target shutdown.target systemd-journald.service + +diff --git a/contrib/SUSE/haveged-switch-root.service b/contrib/SUSE/haveged-switch-root.service +index 9757da4..24b8649 100644 +--- a/contrib/SUSE/haveged-switch-root.service b/contrib/SUSE/haveged-switch-root.service +@@ -1,6 +1,7 @@ + [Unit] + Description=Tell haveged about new root + DefaultDependencies=no ++ConditionKernelVersion=<5.6 + ConditionPathExists=/etc/initrd-release + Before=initrd-switch-root.service + JoinsNamespaceOf=haveged.service Copied: haveged/repos/testing-x86_64/PKGBUILD (from rev 424609, haveged/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-09-24 06:46:25 UTC (rev 424610) @@ -0,0 +1,50 @@ +# Maintainer: Christian Hesse +# Contributor: Bartłomiej Piotrowski +# Contributor: kfgz +# Contributor: pootzko + +pkgname=haveged +pkgver=1.9.14 +pkgrel=2 +pkgdesc='Entropy harvesting daemon using CPU timings' +arch=('x86_64') +url='https://github.com/jirka-h/haveged' +license=('GPL') +depends=('glibc') +validpgpkeys=('8F6B7293B03E5AC5762B65CE2E2F252B05CCA168') # Jirka Hladky +source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz"; +'0001-Updated-systemd-service-files-to-not-start-haveged-s.patch') + #"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"; +sha256sums=('938cb494bcad7e4f24e61eb50fab4aa0acbc3240c80f3ad5c6cf7e6e922618c3' +'cc2122a7c954bcd2fb856799abf01730d9c58a5e70065a4f66ae838a6b3beac5') + +prepare() { + cd $pkgname-$pkgver + + sed -i 's/@SBIN_DIR@/\/usr\/bin/' contrib/Fedora/haveged.service + + patch -Np1 < ../0001-Updated-systemd-service-files-to-not-start-haveged-s.patch +} + +build() { + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/bin + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install + + install -D -m0644 contrib/Fedora/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service +}
[arch-commits] Commit in haveged/trunk (2 files)
Date: Friday, September 24, 2021 @ 06:46:19 Author: eworm Revision: 424609 upgpkg: haveged 1.9.14-2: add condition on kernel version in service Added: haveged/trunk/0001-Updated-systemd-service-files-to-not-start-haveged-s.patch Modified: haveged/trunk/PKGBUILD -+ 0001-Updated-systemd-service-files-to-not-start-haveged-s.patch | 47 ++ PKGBUILD| 16 ++- 2 files changed, 57 insertions(+), 6 deletions(-) Added: 0001-Updated-systemd-service-files-to-not-start-haveged-s.patch === --- 0001-Updated-systemd-service-files-to-not-start-haveged-s.patch (rev 0) +++ 0001-Updated-systemd-service-files-to-not-start-haveged-s.patch 2021-09-24 06:46:19 UTC (rev 424609) @@ -0,0 +1,47 @@ +From cef1d425b5431847b8c9ab5b00c3e6b82a32b4f2 Mon Sep 17 00:00:00 2001 +From: Jirka Hladky +Date: Mon, 30 Aug 2021 01:37:59 +0200 +Subject: [PATCH 1/1] Updated systemd service files to not start haveged + service on kernel 5.6 and newer +--- + contrib/Fedora/haveged-switch-root.service | 1 + + contrib/Fedora/haveged.service | 1 + + contrib/SUSE/haveged-switch-root.service | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/contrib/Fedora/haveged-switch-root.service b/contrib/Fedora/haveged-switch-root.service +index 8cc38cf..a3eb086 100644 +--- a/contrib/Fedora/haveged-switch-root.service b/contrib/Fedora/haveged-switch-root.service +@@ -1,6 +1,7 @@ + [Unit] + Description=Tell haveged about new root + DefaultDependencies=no ++ConditionKernelVersion=<5.6 + ConditionPathExists=/etc/initrd-release + Before=initrd-switch-root.service + JoinsNamespaceOf=haveged.service +diff --git a/contrib/Fedora/haveged.service b/contrib/Fedora/haveged.service +index abb9cfc..2bbb9a3 100644 +--- a/contrib/Fedora/haveged.service b/contrib/Fedora/haveged.service +@@ -2,6 +2,7 @@ + Description=Entropy Daemon based on the HAVEGE algorithm + Documentation=man:haveged(8) http://www.issihosts.com/haveged/ + DefaultDependencies=no ++ConditionKernelVersion=<5.6 + After=systemd-tmpfiles-setup-dev.service + Before=sysinit.target shutdown.target systemd-journald.service + +diff --git a/contrib/SUSE/haveged-switch-root.service b/contrib/SUSE/haveged-switch-root.service +index 9757da4..24b8649 100644 +--- a/contrib/SUSE/haveged-switch-root.service b/contrib/SUSE/haveged-switch-root.service +@@ -1,6 +1,7 @@ + [Unit] + Description=Tell haveged about new root + DefaultDependencies=no ++ConditionKernelVersion=<5.6 + ConditionPathExists=/etc/initrd-release + Before=initrd-switch-root.service + JoinsNamespaceOf=haveged.service Modified: PKGBUILD === --- PKGBUILD2021-09-23 22:41:46 UTC (rev 424608) +++ PKGBUILD2021-09-24 06:46:19 UTC (rev 424609) @@ -5,7 +5,7 @@ pkgname=haveged pkgver=1.9.14 -pkgrel=1 +pkgrel=2 pkgdesc='Entropy harvesting daemon using CPU timings' arch=('x86_64') url='https://github.com/jirka-h/haveged' @@ -12,14 +12,18 @@ license=('GPL') depends=('glibc') validpgpkeys=('8F6B7293B03E5AC5762B65CE2E2F252B05CCA168') # Jirka Hladky -source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz";) +source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz"; +'0001-Updated-systemd-service-files-to-not-start-haveged-s.patch') #"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"; -sha256sums=('938cb494bcad7e4f24e61eb50fab4aa0acbc3240c80f3ad5c6cf7e6e922618c3') +sha256sums=('938cb494bcad7e4f24e61eb50fab4aa0acbc3240c80f3ad5c6cf7e6e922618c3' +'cc2122a7c954bcd2fb856799abf01730d9c58a5e70065a4f66ae838a6b3beac5') prepare() { cd $pkgname-$pkgver - sed -i init.d/service.fedora \ --e 's/@SBIN_DIR@/\/usr\/bin/' + + sed -i 's/@SBIN_DIR@/\/usr\/bin/' contrib/Fedora/haveged.service + + patch -Np1 < ../0001-Updated-systemd-service-files-to-not-start-haveged-s.patch } build() { @@ -42,5 +46,5 @@ make DESTDIR="$pkgdir" install - install -D -m0644 init.d/service.fedora "$pkgdir"/usr/lib/systemd/system/haveged.service + install -D -m0644 contrib/Fedora/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service }
[arch-commits] Commit in haskell-streaming-commons/repos (2 files)
Date: Friday, September 24, 2021 @ 05:46:29 Author: felixonmars Revision: 1023384 archrelease: copy trunk to community-staging-x86_64 Added: haskell-streaming-commons/repos/community-staging-x86_64/ haskell-streaming-commons/repos/community-staging-x86_64/PKGBUILD (from rev 1023383, haskell-streaming-commons/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-streaming-commons/repos/community-staging-x86_64/PKGBUILD (from rev 1023383, haskell-streaming-commons/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:46:29 UTC (rev 1023384) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=streaming-commons +pkgname=haskell-streaming-commons +pkgver=0.2.2.1 +pkgrel=101 +pkgdesc="Common lower-level functions needed by various streaming data libraries" +url="https://github.com/fpco/streaming-commons"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-network' 'haskell-random' 'haskell-zlib') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('6dc1141070f28ca278ea1ec45a2b1b4fca34c06459dfe975dd2787e08a3e875aa22efbbb4ac905d3161e30b9af20df2d5d89325abe9e2181d7e50239388752a1') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-f-use-bytestring-builder +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-streaming-commons/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:46:15 Author: felixonmars Revision: 1023383 upgpkg: haskell-streaming-commons 0.2.2.1-101: rebuild with vector 0.12.3.1 Modified: haskell-streaming-commons/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:45:20 UTC (rev 1023382) +++ PKGBUILD2021-09-24 05:46:15 UTC (rev 1023383) @@ -4,7 +4,7 @@ _hkgname=streaming-commons pkgname=haskell-streaming-commons pkgver=0.2.2.1 -pkgrel=100 +pkgrel=101 pkgdesc="Common lower-level functions needed by various streaming data libraries" url="https://github.com/fpco/streaming-commons"; license=("MIT") @@ -19,7 +19,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-use-bytestring-builder runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-zlib-bindings/repos (2 files)
Date: Friday, September 24, 2021 @ 05:45:20 Author: felixonmars Revision: 1023382 archrelease: copy trunk to community-staging-x86_64 Added: haskell-zlib-bindings/repos/community-staging-x86_64/ haskell-zlib-bindings/repos/community-staging-x86_64/PKGBUILD (from rev 1023381, haskell-zlib-bindings/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-zlib-bindings/repos/community-staging-x86_64/PKGBUILD (from rev 1023381, haskell-zlib-bindings/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:45:20 UTC (rev 1023382) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=zlib-bindings +pkgname=haskell-zlib-bindings +pkgver=0.1.1.5 +pkgrel=64 +pkgdesc="Low-level bindings to the zlib package." +url="https://github.com/snapframework/zlib-bindings"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-zlib") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('1ce7a21f462ce5fb1c6ae0ccd40b6f59eb95772b46fa8f5cb3b94f76d55189b7c020dfd97cb18afe21cd826d1a511d9d02909c4376b165c2f574ec881f7de299') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-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 +} + +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-zlib-bindings/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:45:07 Author: felixonmars Revision: 1023381 upgpkg: haskell-zlib-bindings 0.1.1.5-64: rebuild with vector 0.12.3.1 Modified: haskell-zlib-bindings/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:44:22 UTC (rev 1023380) +++ PKGBUILD2021-09-24 05:45:07 UTC (rev 1023381) @@ -4,7 +4,7 @@ _hkgname=zlib-bindings pkgname=haskell-zlib-bindings pkgver=0.1.1.5 -pkgrel=63 +pkgrel=64 pkgdesc="Low-level bindings to the zlib package." url="https://github.com/snapframework/zlib-bindings"; license=("BSD") @@ -19,7 +19,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-juicypixels/repos (2 files)
Date: Friday, September 24, 2021 @ 05:44:22 Author: felixonmars Revision: 1023380 archrelease: copy trunk to community-staging-x86_64 Added: haskell-juicypixels/repos/community-staging-x86_64/ haskell-juicypixels/repos/community-staging-x86_64/PKGBUILD (from rev 1023379, haskell-juicypixels/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-juicypixels/repos/community-staging-x86_64/PKGBUILD (from rev 1023379, haskell-juicypixels/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:44:22 UTC (rev 1023380) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=JuicyPixels +pkgname=haskell-juicypixels +pkgver=3.3.5 +pkgrel=109 +pkgdesc="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)" +url="https://github.com/Twinside/Juicy.Pixels"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-primitive" "haskell-vector" "haskell-zlib") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('40ce63d01fb4dea77caeb055cf2f9f16b32252c7c5ea501b93c9020e426da9ea019b6e618da373fa41bae93789b76561f2b091bfe9340ee9c75f4d8fe29f90ed') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-f-mmap +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-juicypixels/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:44:08 Author: felixonmars Revision: 1023379 upgpkg: haskell-juicypixels 3.3.5-109: rebuild with vector 0.12.3.1 Modified: haskell-juicypixels/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:39:54 UTC (rev 1023378) +++ PKGBUILD2021-09-24 05:44:08 UTC (rev 1023379) @@ -4,7 +4,7 @@ _hkgname=JuicyPixels pkgname=haskell-juicypixels pkgver=3.3.5 -pkgrel=108 +pkgrel=109 pkgdesc="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)" url="https://github.com/Twinside/Juicy.Pixels"; license=("BSD") @@ -19,7 +19,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-mmap runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-zip-archive/repos (2 files)
Date: Friday, September 24, 2021 @ 05:39:54 Author: felixonmars Revision: 1023378 archrelease: copy trunk to community-staging-x86_64 Added: haskell-zip-archive/repos/community-staging-x86_64/ haskell-zip-archive/repos/community-staging-x86_64/PKGBUILD (from rev 1023377, haskell-zip-archive/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-zip-archive/repos/community-staging-x86_64/PKGBUILD (from rev 1023377, haskell-zip-archive/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:39:54 UTC (rev 1023378) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=zip-archive +pkgname=haskell-zip-archive +pkgver=0.4.1 +pkgrel=139 +pkgdesc="Library for creating and modifying zip archives." +url="https://github.com/jgm/zip-archive"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-digest' 'haskell-old-time' 'haskell-temporary' + 'haskell-zlib') +makedepends=('ghc' 'haskell-hunit' 'unzip') +source=("$pkgname-$pkgver.tar.gz::https://github.com/jgm/zip-archive/archive/$pkgver.tar.gz";) +sha512sums=('a921f54928690844e3976c38de6c98f2936c39a79b9ec8f23b6b57e17eedae5129201337fe363f6a8bb593c4dad94cb54da4379456c0a92c4ecdd24965388714') + +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 \ +-f-executable -fsplitbase +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-zip-archive/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:39:39 Author: felixonmars Revision: 1023377 upgpkg: haskell-zip-archive 0.4.1-139: rebuild with vector 0.12.3.1 Modified: haskell-zip-archive/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:38:29 UTC (rev 1023376) +++ PKGBUILD2021-09-24 05:39:39 UTC (rev 1023377) @@ -4,7 +4,7 @@ _hkgname=zip-archive pkgname=haskell-zip-archive pkgver=0.4.1 -pkgrel=138 +pkgrel=139 pkgdesc="Library for creating and modifying zip archives." url="https://github.com/jgm/zip-archive"; license=("BSD") @@ -20,7 +20,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-executable -fsplitbase runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-hashtables/repos (2 files)
Date: Friday, September 24, 2021 @ 05:38:29 Author: felixonmars Revision: 1023376 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hashtables/repos/community-staging-x86_64/ haskell-hashtables/repos/community-staging-x86_64/PKGBUILD (from rev 1023375, haskell-hashtables/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-hashtables/repos/community-staging-x86_64/PKGBUILD (from rev 1023375, haskell-hashtables/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:38:29 UTC (rev 1023376) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=hashtables +pkgname=haskell-hashtables +pkgver=1.2.4.1 +pkgrel=85 +pkgdesc="Mutable hash tables in the ST monad" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'sh' 'haskell-hashable' 'haskell-primitive' 'haskell-vector') +makedepends=('ghc' 'haskell-mwc-random' 'haskell-quickcheck' 'haskell-hunit' + 'haskell-test-framework' 'haskell-test-framework-quickcheck2' + 'haskell-test-framework-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('e88fb8f9c8a51be31e5d07ca1fef3d1a05a347942878f84a500d8c224b1118a2be97f9a947f17834a8331f296f302eafeef34d1f151360361675ecf5204b38f6') + +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-hashtables/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:38:10 Author: felixonmars Revision: 1023375 upgpkg: haskell-hashtables 1.2.4.1-85: rebuild with vector 0.12.3.1 Modified: haskell-hashtables/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:36:32 UTC (rev 1023374) +++ PKGBUILD2021-09-24 05:38:10 UTC (rev 1023375) @@ -4,7 +4,7 @@ _hkgname=hashtables pkgname=haskell-hashtables pkgver=1.2.4.1 -pkgrel=84 +pkgrel=85 pkgdesc="Mutable hash tables in the ST monad" url="https://hackage.haskell.org/package/${_hkgname}"; license=('BSD') @@ -21,7 +21,7 @@ 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 +--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
[arch-commits] Commit in haskell-ghc-typelits-knownnat/repos (2 files)
Date: Friday, September 24, 2021 @ 05:36:32 Author: felixonmars Revision: 1023374 archrelease: copy trunk to community-staging-x86_64 Added: haskell-ghc-typelits-knownnat/repos/community-staging-x86_64/ haskell-ghc-typelits-knownnat/repos/community-staging-x86_64/PKGBUILD (from rev 1023373, haskell-ghc-typelits-knownnat/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-ghc-typelits-knownnat/repos/community-staging-x86_64/PKGBUILD (from rev 1023373, haskell-ghc-typelits-knownnat/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:36:32 UTC (rev 1023374) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=ghc-typelits-knownnat +pkgname=haskell-ghc-typelits-knownnat +pkgver=0.7.6 +pkgrel=12 +pkgdesc="Derive KnownNat constraints from other KnownNat constraints" +url="https://github.com/clash-lang/ghc-typelits-knownnat"; +license=('custom:BSD2') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-tcplugins-extra' 'haskell-ghc-typelits-natnormalise') +makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('fb28d20022afa4667506bf293148e018d2d8db32a812090baf0828bce62e8a032f432622d825610f5f34544a5319e144c3999789c1b4ea14f26fb5edc61bd208') + +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-ghc-typelits-knownnat/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:36:14 Author: felixonmars Revision: 1023373 upgpkg: haskell-ghc-typelits-knownnat 0.7.6-12: rebuild with vector 0.12.3.1 Modified: haskell-ghc-typelits-knownnat/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:35:11 UTC (rev 1023372) +++ PKGBUILD2021-09-24 05:36:14 UTC (rev 1023373) @@ -3,7 +3,7 @@ _hkgname=ghc-typelits-knownnat pkgname=haskell-ghc-typelits-knownnat pkgver=0.7.6 -pkgrel=11 +pkgrel=12 pkgdesc="Derive KnownNat constraints from other KnownNat constraints" url="https://github.com/clash-lang/ghc-typelits-knownnat"; license=('custom:BSD2') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-equivalence/repos (2 files)
Date: Friday, September 24, 2021 @ 05:35:11 Author: felixonmars Revision: 1023372 archrelease: copy trunk to community-staging-x86_64 Added: haskell-equivalence/repos/community-staging-x86_64/ haskell-equivalence/repos/community-staging-x86_64/PKGBUILD (from rev 1023371, haskell-equivalence/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: haskell-equivalence/repos/community-staging-x86_64/PKGBUILD (from rev 1023371, haskell-equivalence/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:35:11 UTC (rev 1023372) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=equivalence +pkgname=haskell-equivalence +pkgver=0.3.5 +pkgrel=126 +pkgdesc="Maintaining an equivalence relation implemented as union-find using STT." +url="https://bitbucket.org/paba/equivalence/"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-stmonadtrans" "haskell-transformers-compat") +makedepends=('ghc' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('f8a073c9ddc49a8c1d60a280b84f97947a23ed6a021b92d4028100ed308cf1dfcd0b26889a6cbbde0e77f00b777b2d1af0fa2410422641e0a03395692a9ebefc') + +prepare() { +cd $_hkgname-$pkgver +sed -i -e 's/, fail//' -e '/fail/d' $_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-equivalence/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:34:55 Author: felixonmars Revision: 1023371 upgpkg: haskell-equivalence 0.3.5-126: rebuild with vector 0.12.3.1 Modified: haskell-equivalence/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:33:40 UTC (rev 1023370) +++ PKGBUILD2021-09-24 05:34:55 UTC (rev 1023371) @@ -4,7 +4,7 @@ _hkgname=equivalence pkgname=haskell-equivalence pkgver=0.3.5 -pkgrel=125 +pkgrel=126 pkgdesc="Maintaining an equivalence relation implemented as union-find using STT." url="https://bitbucket.org/paba/equivalence/"; license=("BSD") @@ -24,7 +24,7 @@ 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 +--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
[arch-commits] Commit in haskell-flexible-defaults/repos (2 files)
Date: Friday, September 24, 2021 @ 05:33:40 Author: felixonmars Revision: 1023370 archrelease: copy trunk to community-staging-x86_64 Added: haskell-flexible-defaults/repos/community-staging-x86_64/ haskell-flexible-defaults/repos/community-staging-x86_64/PKGBUILD (from rev 1023369, haskell-flexible-defaults/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-flexible-defaults/repos/community-staging-x86_64/PKGBUILD (from rev 1023369, haskell-flexible-defaults/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:33:40 UTC (rev 1023370) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan + +_hkgname=flexible-defaults +pkgname=haskell-flexible-defaults +pkgver=0.0.3 +pkgrel=55 +pkgdesc="Generate default function implementations for complex type classes." +url="https://github.com/peti/flexible-defaults"; +license=("custom:PublicDomain") +arch=('x86_64') +depends=('ghc-libs' 'haskell-th-extras') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('6586f6fce40e64f95e6d3de6d0730f9fe6668825d0dfd81336842fa8c62a630b') + +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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" +}
[arch-commits] Commit in haskell-flexible-defaults/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:33:26 Author: felixonmars Revision: 1023369 upgpkg: haskell-flexible-defaults 0.0.3-55: rebuild with vector 0.12.3.1 Modified: haskell-flexible-defaults/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:32:35 UTC (rev 1023368) +++ PKGBUILD2021-09-24 05:33:26 UTC (rev 1023369) @@ -3,7 +3,7 @@ _hkgname=flexible-defaults pkgname=haskell-flexible-defaults pkgver=0.0.3 -pkgrel=54 +pkgrel=55 pkgdesc="Generate default function implementations for complex type classes." url="https://github.com/peti/flexible-defaults"; license=("custom:PublicDomain") @@ -18,7 +18,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-mueval/repos (2 files)
Date: Friday, September 24, 2021 @ 05:32:35 Author: felixonmars Revision: 1023368 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mueval/repos/community-staging-x86_64/ haskell-mueval/repos/community-staging-x86_64/PKGBUILD (from rev 1023367, haskell-mueval/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: haskell-mueval/repos/community-staging-x86_64/PKGBUILD (from rev 1023367, haskell-mueval/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:32:35 UTC (rev 1023368) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan + +_hkgname=mueval +pkgname=haskell-mueval +pkgver=0.9.3 +pkgrel=86 +pkgdesc="Safely evaluate pure Haskell expressions" +url="https://github.com/gwern/mueval"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-quickcheck' 'haskell-extensible-exceptions' 'haskell-hint' + 'haskell-show' 'haskell-simple-reflect') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('f72a8bbaffecaeb55b67d78011e182073be8ba9f4a90824903e4c78cfe6e1ef7') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/ -static//' $_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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-mueval/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:32:16 Author: felixonmars Revision: 1023367 upgpkg: haskell-mueval 0.9.3-86: rebuild with vector 0.12.3.1 Modified: haskell-mueval/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:31:03 UTC (rev 1023366) +++ PKGBUILD2021-09-24 05:32:16 UTC (rev 1023367) @@ -3,7 +3,7 @@ _hkgname=mueval pkgname=haskell-mueval pkgver=0.9.3 -pkgrel=85 +pkgrel=86 pkgdesc="Safely evaluate pure Haskell expressions" url="https://github.com/gwern/mueval"; license=("BSD") @@ -24,7 +24,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-th-reify-many/repos (2 files)
Date: Friday, September 24, 2021 @ 05:31:03 Author: felixonmars Revision: 1023366 archrelease: copy trunk to community-staging-x86_64 Added: haskell-th-reify-many/repos/community-staging-x86_64/ haskell-th-reify-many/repos/community-staging-x86_64/PKGBUILD (from rev 1023365, haskell-th-reify-many/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-th-reify-many/repos/community-staging-x86_64/PKGBUILD (from rev 1023365, haskell-th-reify-many/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:31:03 UTC (rev 1023366) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=th-reify-many +pkgname=haskell-th-reify-many +pkgver=0.1.10 +pkgrel=6 +pkgdesc="Recurseively reify template haskell datatype info" +url="https://github.com/mgsloan/th-reify-many"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-safe' 'haskell-th-expand-syns') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('9c5b64e791a0649d7e05a471cfc1b6e84e50c90a3711ffd7304c2bd8af9623ba3c026e68fb36bc0497f9f67e18ad2d76902d96fa98220399e8feaac2b09d51be') + +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-th-reify-many/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:30:49 Author: felixonmars Revision: 1023365 upgpkg: haskell-th-reify-many 0.1.10-6: rebuild with vector 0.12.3.1 Modified: haskell-th-reify-many/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:30:01 UTC (rev 1023364) +++ PKGBUILD2021-09-24 05:30:49 UTC (rev 1023365) @@ -3,7 +3,7 @@ _hkgname=th-reify-many pkgname=haskell-th-reify-many pkgver=0.1.10 -pkgrel=5 +pkgrel=6 pkgdesc="Recurseively reify template haskell datatype info" url="https://github.com/mgsloan/th-reify-many"; license=('BSD') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-unordered-containers/repos (2 files)
Date: Friday, September 24, 2021 @ 05:30:01 Author: felixonmars Revision: 1023364 archrelease: copy trunk to community-staging-x86_64 Added: haskell-unordered-containers/repos/community-staging-x86_64/ haskell-unordered-containers/repos/community-staging-x86_64/PKGBUILD (from rev 1023363, haskell-unordered-containers/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-unordered-containers/repos/community-staging-x86_64/PKGBUILD (from rev 1023363, haskell-unordered-containers/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:30:01 UTC (rev 1023364) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: Daniel Micay +# Contributor: Martin Harvan +# Contributor: Arch Haskell Team + +_hkgname=unordered-containers +pkgname=haskell-unordered-containers +pkgver=0.2.14.0 +pkgrel=20 +pkgdesc="Efficient hashing-based container types" +url="https://github.com/haskell-unordered-containers/unordered-containers"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hashable') +makedepends=('ghc' 'haskell-chasingbottoms' 'haskell-hunit' 'haskell-quickcheck' + 'haskell-random' 'haskell-test-framework' 'haskell-test-framework-hunit' + 'haskell-test-framework-quickcheck2') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('e6ce8d37478db96dedfed2a06b8b7e25dbda275e4ca8523827e8bd8ca2816b3a96f26ea22f2d291bb89b87cf675c706f6b15759dc4e17a63ad94ad63704bc2bf') + +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 \ +-f-debug +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-unordered-containers/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:29:46 Author: felixonmars Revision: 1023363 upgpkg: haskell-unordered-containers 0.2.14.0-20: rebuild with vector 0.12.3.1 Modified: haskell-unordered-containers/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:26:38 UTC (rev 1023362) +++ PKGBUILD2021-09-24 05:29:46 UTC (rev 1023363) @@ -7,7 +7,7 @@ _hkgname=unordered-containers pkgname=haskell-unordered-containers pkgver=0.2.14.0 -pkgrel=19 +pkgrel=20 pkgdesc="Efficient hashing-based container types" url="https://github.com/haskell-unordered-containers/unordered-containers"; license=("BSD") @@ -24,7 +24,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-debug runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-knob/repos (3 files)
Date: Friday, September 24, 2021 @ 05:26:38 Author: felixonmars Revision: 1023362 archrelease: copy trunk to community-staging-x86_64 Added: haskell-knob/repos/community-staging-x86_64/ haskell-knob/repos/community-staging-x86_64/PKGBUILD (from rev 1023361, haskell-knob/trunk/PKGBUILD) haskell-knob/repos/community-staging-x86_64/base4.15.patch (from rev 1023361, haskell-knob/trunk/base4.15.patch) + PKGBUILD | 49 + base4.15.patch | 496 +++ 2 files changed, 545 insertions(+) Copied: haskell-knob/repos/community-staging-x86_64/PKGBUILD (from rev 1023361, haskell-knob/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:26:38 UTC (rev 1023362) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=knob +pkgname=haskell-knob +pkgver=0.1.1 +pkgrel=33 +pkgdesc="Memory-backed handles" +url="https://github.com/felixonmars/knob"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-chell') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"; +base4.15.patch) +sha512sums=('b13e9a88de99fa941521135c7f61be4ad5b838806e7424ac4b38607d59635ec2ddd6808560f1568f6d974c531185d43b5e1510886e07bcb567b859a12659277b' + '80b0f41c2e874fc004908afae26bea0fdd83094460e22a26ec4617f6adcfbe3671da16e2c59ef32b90c75414ddcd3ac3b667667e151be7b7f5c0fefd07851ba4') + +prepare() { +patch -d $_hkgname-$pkgver -p1 < base4.15.patch +} + +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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt" +} Copied: haskell-knob/repos/community-staging-x86_64/base4.15.patch (from rev 1023361, haskell-knob/trunk/base4.15.patch) === --- community-staging-x86_64/base4.15.patch (rev 0) +++ community-staging-x86_64/base4.15.patch 2021-09-24 05:26:38 UTC (rev 1023362) @@ -0,0 +1,496 @@ +From ded495e7815d398c33a2a901d146f73bde60b7a9 Mon Sep 17 00:00:00 2001 +From: Felix Yan +Date: Fri, 18 Jun 2021 05:14:00 +0800 +Subject: [PATCH] Port tests to chell-0.3+ and make it a test-suite of knob + +--- + knob.cabal | 21 - + tests/KnobTests.hs | 70 +++--- + tests/knob-tests.cabal | 22 - + 3 files changed, 52 insertions(+), 61 deletions(-) + delete mode 100644 tests/knob-tests.cabal + +diff --git a/knob.cabal b/knob.cabal +index 85d4e10..246b185 100644 +--- a/knob.cabal b/knob.cabal +@@ -5,7 +5,7 @@ license-file: license.txt + author: John Millikin + maintainer: John Millikin + build-type: Simple +-cabal-version: >= 1.6 ++cabal-version: >= 1.8 + category: System + stability: experimental + homepage: https://john-millikin.com/software/knob/ +@@ -46,6 +46,10 @@ source-repository this + location: https://john-millikin.com/branches/knob/0.1/ + tag: knob_0.1.1 + ++flag coverage ++ default: False ++ manual: True ++ + library + hs-source-dirs: lib + ghc-options: -Wall -O2 +@@ -57,3 +61,18 @@ library + + exposed-modules: + Data.Knob ++ ++test-suite knob_tests ++ type: exitcode-stdio-1.0 ++ main-is: tests/KnobTests.hs ++ ghc-options: -Wall ++ ++ if flag(coverage) ++ghc-options: -fhpc ++ ++ build-depends: ++ base >= 4.2 && < 5.0 ++, bytestring >= 0.9 && < 0.11 ++, chell >= 0.2 && < 0.6 ++, transformers >= 0.2 && < 0.6 ++, knob +diff --git a/tests/KnobTests.hs b/tests/KnobTests.hs +index f5a06d4..b8e4d61 100644 +--- a/tests/KnobTests.hs b/tests/KnobTests.hs +@@ -21,45 +21,42 @@ import Test.Chell + import Data.Knob + + main :: IO () +-main = Test.Chell.defaultMain tests ++main = Test.Chell.defaultMain [tests] + +-tests :: [
[arch-commits] Commit in haskell-knob/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:26:18 Author: felixonmars Revision: 1023361 upgpkg: haskell-knob 0.1.1-33: rebuild with vector 0.12.3.1 Modified: haskell-knob/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:25:23 UTC (rev 1023360) +++ PKGBUILD2021-09-24 05:26:18 UTC (rev 1023361) @@ -4,7 +4,7 @@ _hkgname=knob pkgname=haskell-knob pkgver=0.1.1 -pkgrel=32 +pkgrel=33 pkgdesc="Memory-backed handles" url="https://github.com/felixonmars/knob"; license=("MIT") @@ -25,7 +25,7 @@ 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 +--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
[arch-commits] Commit in haskell-chell-quickcheck/repos (2 files)
Date: Friday, September 24, 2021 @ 05:25:23 Author: felixonmars Revision: 1023360 archrelease: copy trunk to community-staging-x86_64 Added: haskell-chell-quickcheck/repos/community-staging-x86_64/ haskell-chell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 1023359, haskell-chell-quickcheck/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-chell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 1023359, haskell-chell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:25:23 UTC (rev 1023360) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=chell-quickcheck +pkgname=haskell-chell-quickcheck +pkgver=0.2.5.2 +pkgrel=139 +pkgdesc="QuickCheck support for the Chell testing library" +url="https://github.com/typeclasses/chell"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-chell' 'haskell-quickcheck' 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('d17b8aeb19adc08debdfccaeceabb480fcbf82ba47c5e805f326f26be8c3266b741c52ab1ab13042b13aaa865ae355812ff067f3a46ff8186cef232143fa8efa') + +prepare() { +cd $_hkgname-$pkgver +sed -i 's/< *2.13/<3/' $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --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 +} + +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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt" +}
[arch-commits] Commit in haskell-chell-quickcheck/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:25:09 Author: felixonmars Revision: 1023359 upgpkg: haskell-chell-quickcheck 0.2.5.2-139: rebuild with vector 0.12.3.1 Modified: haskell-chell-quickcheck/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:24:18 UTC (rev 1023358) +++ PKGBUILD2021-09-24 05:25:09 UTC (rev 1023359) @@ -3,7 +3,7 @@ _hkgname=chell-quickcheck pkgname=haskell-chell-quickcheck pkgver=0.2.5.2 -pkgrel=138 +pkgrel=139 pkgdesc="QuickCheck support for the Chell testing library" url="https://github.com/typeclasses/chell"; license=('MIT') @@ -23,7 +23,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in cabal-fmt/repos (3 files)
Date: Friday, September 24, 2021 @ 05:24:18 Author: felixonmars Revision: 1023358 archrelease: copy trunk to community-staging-x86_64 Added: cabal-fmt/repos/community-staging-x86_64/ cabal-fmt/repos/community-staging-x86_64/PKGBUILD (from rev 1023357, cabal-fmt/trunk/PKGBUILD) cabal-fmt/repos/community-staging-x86_64/cabal-fmt-cabal-3.4.patch (from rev 1023357, cabal-fmt/trunk/cabal-fmt-cabal-3.4.patch) ---+ PKGBUILD | 53 + cabal-fmt-cabal-3.4.patch | 234 2 files changed, 287 insertions(+) Copied: cabal-fmt/repos/community-staging-x86_64/PKGBUILD (from rev 1023357, cabal-fmt/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:24:18 UTC (rev 1023358) @@ -0,0 +1,53 @@ +# Maintainer: Felix Yan + +pkgname=cabal-fmt +pkgver=0.1.5.1 +pkgrel=10 +pkgdesc="Format .cabal files" +url="https://github.com/phadej/cabal-fmt.git"; +license=("GPL" "BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-optparse-applicative') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-golden') +source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"; +cabal-fmt-cabal-3.4.patch) +sha256sums=('a7fc6f0ff8b36ddd329b01237c0e9a6eda835be9439e434470d69a4511611f7d' +'fb74dd7cfc650ed09f763bd11e929a9bd192447df9b55f2b13fd5c3f2a5fa102') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../cabal-fmt-cabal-3.4.patch + gen-setup + uusi -u base $pkgname.cabal +} + +build() { + cd $pkgname-$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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 $pkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $pkgname-$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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +} Copied: cabal-fmt/repos/community-staging-x86_64/cabal-fmt-cabal-3.4.patch (from rev 1023357, cabal-fmt/trunk/cabal-fmt-cabal-3.4.patch) === --- community-staging-x86_64/cabal-fmt-cabal-3.4.patch (rev 0) +++ community-staging-x86_64/cabal-fmt-cabal-3.4.patch 2021-09-24 05:24:18 UTC (rev 1023358) @@ -0,0 +1,234 @@ +From 842630f70adb5397245109f77dba07662836e964 Mon Sep 17 00:00:00 2001 +From: Oleg Grenrus +Date: Mon, 15 Feb 2021 00:52:40 +0200 +Subject: [PATCH 1/2] Move to Cabal-3.4 + +--- + cabal-fmt.cabal | 2 +- + fixtures/simple-example.format | 2 +- + src/CabalFmt.hs | 17 +++-- + src/CabalFmt/Fields.hs | 8 +++- + src/CabalFmt/Fields/BuildDepends.hs | 4 ++-- + src/CabalFmt/Fields/Extensions.hs | 12 ++-- + src/CabalFmt/Fields/Modules.hs | 12 ++-- + src/CabalFmt/Fields/SourceFiles.hs | 10 +- + src/CabalFmt/Fields/TestedWith.hs | 2 +- + 9 files changed, 36 insertions(+), 33 deletions(-) + +diff --git a/cabal-fmt.cabal b/cabal-fmt.cabal +index 3f73769..5f0ef0e 100644 +--- a/cabal-fmt.cabal b/cabal-fmt.cabal +@@ -30,7 +30,7 @@ library cabal-fmt-internal + build-depends: + , base^>=4.11.1.0 || ^>=4.12.0.0 || ^>=4.13.0.0 || ^>=4.14.0.0 + , bytestring ^>=0.10.8.2 +-, Cabal ^>=3.2.0.0 ++, Cabal ^>=3.4.0.0 + , containers ^>=0.5.11.0 || ^>=0.6.0.1 + , directory ^>=1.3.1.5 + , filepath^>=1.4.2 +diff --git a/fixtures/simple-example.format b/fixtures/simple-example.format +index 37d96b0..d821c88 100644 +--- a/fixtures/simple-example.format b/fixtures/simple-example.format +@@ -66,7 +66,7 @@ library + , pretty + + -- only upper bound +- build-depends: foo ==0.* ++ build-depends: foo <1 + build-depends: foo <2 + build-depends: + abc <1 +diff --git a/src/CabalFmt.hs b/src/CabalFmt.hs +index 7742bc6..f95f175 100644 +--- a/src/CabalFmt.hs b/src/CabalFmt.hs +@@ -27,7 +27,6 @@ import qualified Distribution.Types.Condition as C + import qualified Distr
[arch-commits] Commit in cabal-fmt/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:23:54 Author: felixonmars Revision: 1023357 upgpkg: cabal-fmt 0.1.5.1-10: rebuild with vector 0.12.3.1 Modified: cabal-fmt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:22:41 UTC (rev 1023356) +++ PKGBUILD2021-09-24 05:23:54 UTC (rev 1023357) @@ -2,7 +2,7 @@ pkgname=cabal-fmt pkgver=0.1.5.1 -pkgrel=9 +pkgrel=10 pkgdesc="Format .cabal files" url="https://github.com/phadej/cabal-fmt.git"; license=("GPL" "BSD") @@ -26,7 +26,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-src-exts/repos (2 files)
Date: Friday, September 24, 2021 @ 05:22:41 Author: felixonmars Revision: 1023356 archrelease: copy trunk to community-staging-x86_64 Added: haskell-src-exts/repos/community-staging-x86_64/ haskell-src-exts/repos/community-staging-x86_64/PKGBUILD (from rev 1023355, haskell-src-exts/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-src-exts/repos/community-staging-x86_64/PKGBUILD (from rev 1023355, haskell-src-exts/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:22:41 UTC (rev 1023356) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=haskell-src-exts +pkgname=haskell-src-exts +pkgver=1.23.1 +pkgrel=107 +pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" +url="https://github.com/haskell-suite/haskell-src-exts"; +license=("custom:BSD") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'happy' 'haskell-pretty-show' 'haskell-smallcheck' 'haskell-tasty' + 'haskell-tasty-golden' 'haskell-tasty-smallcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('c9e6e4d93c2b4ee84d57707aed526291b5c4e297f06a3921257feb0c1df3bb095addd4b1d9bb187650490364647385ab6322e4fc54f9a7648da439a34329d734') + +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 +# https://github.com/haskell-suite/haskell-src-exts/issues/448 +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-src-exts/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:22:26 Author: felixonmars Revision: 1023355 upgpkg: haskell-src-exts 1.23.1-107: rebuild with vector 0.12.3.1 Modified: haskell-src-exts/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:15:15 UTC (rev 1023354) +++ PKGBUILD2021-09-24 05:22:26 UTC (rev 1023355) @@ -4,7 +4,7 @@ _hkgname=haskell-src-exts pkgname=haskell-src-exts pkgver=1.23.1 -pkgrel=106 +pkgrel=107 pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" url="https://github.com/haskell-suite/haskell-src-exts"; license=("custom:BSD") @@ -20,7 +20,7 @@ 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 +--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
[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, September 24, 2021 @ 05:15:15 Author: daurnimator Revision: 1023354 archrelease: copy trunk to community-x86_64 Added: chezmoi/repos/community-x86_64/PKGBUILD (from rev 1023353, chezmoi/trunk/PKGBUILD) Deleted: chezmoi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 113 ++--- 1 file changed, 57 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-24 05:15:01 UTC (rev 1023353) +++ PKGBUILD2021-09-24 05:15:15 UTC (rev 1023354) @@ -1,56 +0,0 @@ -# Maintainer: Daurnimator -# Contributor: Tom Payne -# Contributor: - -pkgname=chezmoi -pkgver=2.4.0 -pkgrel=1 -pkgdesc="Manage your dotfiles across multiple machines" -arch=('x86_64') -url='https://www.chezmoi.io/' -license=('MIT') -makedepends=('go' 'git') -depends=('glibc') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz";) -sha512sums=('0fb74262321bf02a37062364b150218b04fa57a9e400b93b1a878fac48628bd07da6a9f70d3b6036143c9deb84de575556a1db42311a45dcea0903c434fa8145') - -build() { - cd "$pkgname-$pkgver" - - export CGO_LDFLAGS="${LDFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - go build \ --trimpath \ --buildmode=pie \ --mod=readonly \ --modcacherw \ --tags noupgrade \ --ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \ - -X main.version=$pkgver \ - -X main.date=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \ - -extldflags ${LDFLAGS}" \ -. -} - -check() { - cd "$pkgname-$pkgver" - - go test -v ./... -} - -package() { - cd "$pkgname-$pkgver" - - install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" - - mkdir -p "$pkgdir/usr/share/doc/$pkgname" - install -Dm644 docs/*.md "$pkgdir/usr/share/doc/$pkgname/" - - install -Dm644 completions/chezmoi-completion.bash "$pkgdir/usr/share/bash-completion/completions/chezmoi" - install -Dm644 completions/chezmoi.fish "$pkgdir/usr/share/fish/vendor_completions.d/chezmoi.fish" - install -Dm644 completions/chezmoi.zsh "$pkgdir/usr/share/zsh/site-functions/_chezmoi" - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: chezmoi/repos/community-x86_64/PKGBUILD (from rev 1023353, chezmoi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-24 05:15:15 UTC (rev 1023354) @@ -0,0 +1,57 @@ +# Maintainer: Daurnimator +# Contributor: Tom Payne +# Contributor: + +pkgname=chezmoi +pkgver=2.5.0 +pkgrel=1 +pkgdesc="Manage your dotfiles across multiple machines" +arch=('x86_64') +url='https://www.chezmoi.io/' +license=('MIT') +makedepends=('go' 'git') +depends=('glibc') +checkdepends=('zip') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz";) +sha512sums=('6512bf078c1c783f06d713b70df1d72c30d03d6e62da9fe8be464a32e15e942a8eb5e56e583de65089667643df0d1d7c4721d1728a28689aee1fa28198f204ee') + +build() { + cd "$pkgname-$pkgver" + + export CGO_LDFLAGS="${LDFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + go build \ +-trimpath \ +-buildmode=pie \ +-mod=readonly \ +-modcacherw \ +-tags noupgrade \ +-ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \ + -X main.version=$pkgver \ + -X main.date=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \ + -extldflags ${LDFLAGS}" \ +. +} + +check() { + cd "$pkgname-$pkgver" + + go test -v ./... +} + +package() { + cd "$pkgname-$pkgver" + + install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" + + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 docs/*.md "$pkgdir/usr/share/doc/$pkgname/" + + install -Dm644 completions/chezmoi-completion.bash "$pkgdir/usr/share/bash-completion/completions/chezmoi" + install -Dm644 completions/chezmoi.fish "$pkgdir/usr/share/fish/vendor_completions.d/chezmoi.fish" + install -Dm644 completions/chezmoi.zsh "$pkgdir/usr/share/zsh/site-functions/_chezmoi" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in chezmoi/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:15:01 Author: daurnimator Revision: 1023353 upgpkg: chezmoi 2.5.0-1 Modified: chezmoi/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:12:48 UTC (rev 1023352) +++ PKGBUILD2021-09-24 05:15:01 UTC (rev 1023353) @@ -3,7 +3,7 @@ # Contributor: pkgname=chezmoi -pkgver=2.4.0 +pkgver=2.5.0 pkgrel=1 pkgdesc="Manage your dotfiles across multiple machines" arch=('x86_64') @@ -11,8 +11,9 @@ license=('MIT') makedepends=('go' 'git') depends=('glibc') +checkdepends=('zip') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz";) -sha512sums=('0fb74262321bf02a37062364b150218b04fa57a9e400b93b1a878fac48628bd07da6a9f70d3b6036143c9deb84de575556a1db42311a45dcea0903c434fa8145') +sha512sums=('6512bf078c1c783f06d713b70df1d72c30d03d6e62da9fe8be464a32e15e942a8eb5e56e583de65089667643df0d1d7c4721d1728a28689aee1fa28198f204ee') build() { cd "$pkgname-$pkgver"
[arch-commits] Commit in haskell-doclayout/repos (2 files)
Date: Friday, September 24, 2021 @ 05:12:48 Author: felixonmars Revision: 1023352 archrelease: copy trunk to community-staging-x86_64 Added: haskell-doclayout/repos/community-staging-x86_64/ haskell-doclayout/repos/community-staging-x86_64/PKGBUILD (from rev 1023351, haskell-doclayout/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-doclayout/repos/community-staging-x86_64/PKGBUILD (from rev 1023351, haskell-doclayout/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:12:48 UTC (rev 1023352) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=doclayout +pkgname=haskell-doclayout +pkgver=0.3.0.2 +pkgrel=32 +pkgdesc="A prettyprinting library for laying out text documents" +url="https://github.com/jgm/doclayout"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-safe') +makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('5f777b66c5bb589021ce6f74e4cb4520a5078621cbcc62bc4eb8b73d54771f18523dfe40935f83553a5a4244219a86b6af22e7e3f33d251b3c567f91bb9596c0') + +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-doclayout/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:12:33 Author: felixonmars Revision: 1023351 upgpkg: haskell-doclayout 0.3.0.2-32: rebuild with vector 0.12.3.1 Modified: haskell-doclayout/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:11:25 UTC (rev 1023350) +++ PKGBUILD2021-09-24 05:12:33 UTC (rev 1023351) @@ -3,7 +3,7 @@ _hkgname=doclayout pkgname=haskell-doclayout pkgver=0.3.0.2 -pkgrel=31 +pkgrel=32 pkgdesc="A prettyprinting library for laying out text documents" url="https://github.com/jgm/doclayout"; license=('BSD') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-special-values/repos (2 files)
Date: Friday, September 24, 2021 @ 05:11:25 Author: felixonmars Revision: 1023350 archrelease: copy trunk to community-staging-x86_64 Added: haskell-special-values/repos/community-staging-x86_64/ haskell-special-values/repos/community-staging-x86_64/PKGBUILD (from rev 1023349, haskell-special-values/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-special-values/repos/community-staging-x86_64/PKGBUILD (from rev 1023349, haskell-special-values/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:11:25 UTC (rev 1023350) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=special-values +pkgname=haskell-special-values +pkgver=0.1.0.0 +pkgrel=109 +pkgdesc="Typeclass providing special values" +url="https://github.com/minad/special-values"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ieee754' 'haskell-scientific') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('e45d4f04b3c50261077d084f9525677739543cad624870c4a28c5c6630a355d7c5def400031191d6f69e617856ffeb0ecc562a7d04df3bed827a7c93f0cf63cc') + +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-special-values/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:11:09 Author: felixonmars Revision: 1023349 upgpkg: haskell-special-values 0.1.0.0-109: rebuild with vector 0.12.3.1 Modified: haskell-special-values/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:10:27 UTC (rev 1023348) +++ PKGBUILD2021-09-24 05:11:09 UTC (rev 1023349) @@ -3,7 +3,7 @@ _hkgname=special-values pkgname=haskell-special-values pkgver=0.1.0.0 -pkgrel=108 +pkgrel=109 pkgdesc="Typeclass providing special values" url="https://github.com/minad/special-values"; license=('MIT') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-megaparsec/repos (2 files)
Date: Friday, September 24, 2021 @ 05:10:27 Author: felixonmars Revision: 1023348 archrelease: copy trunk to community-staging-x86_64 Added: haskell-megaparsec/repos/community-staging-x86_64/ haskell-megaparsec/repos/community-staging-x86_64/PKGBUILD (from rev 1023347, haskell-megaparsec/trunk/PKGBUILD) --+ PKGBUILD | 40 1 file changed, 40 insertions(+) Copied: haskell-megaparsec/repos/community-staging-x86_64/PKGBUILD (from rev 1023347, haskell-megaparsec/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:10:27 UTC (rev 1023348) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=megaparsec +pkgname=haskell-megaparsec +pkgver=9.1.0 +pkgrel=12 +pkgdesc="Monadic parser combinators" +url="https://github.com/mrkkrp/megaparsec"; +license=("custom:BSD2") +arch=('x86_64') +depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-parser-combinators' + 'haskell-scientific') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('0a6cddc9c322f5bb6cd730bc766246e5b2ad03c62494853b1af78d7ea11422117ccdae46e7a2e42f02386a93d877b80a88df39b311f24ea4412b66db01fb') + +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 \ +-f-dev +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-megaparsec/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:10:14 Author: felixonmars Revision: 1023347 upgpkg: haskell-megaparsec 9.1.0-12: rebuild with vector 0.12.3.1 Modified: haskell-megaparsec/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:08:36 UTC (rev 1023346) +++ PKGBUILD2021-09-24 05:10:14 UTC (rev 1023347) @@ -4,7 +4,7 @@ _hkgname=megaparsec pkgname=haskell-megaparsec pkgver=9.1.0 -pkgrel=11 +pkgrel=12 pkgdesc="Monadic parser combinators" url="https://github.com/mrkkrp/megaparsec"; license=("custom:BSD2") @@ -20,7 +20,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-dev runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-pipes/repos (2 files)
Date: Friday, September 24, 2021 @ 05:08:36 Author: felixonmars Revision: 1023346 archrelease: copy trunk to community-staging-x86_64 Added: haskell-pipes/repos/community-staging-x86_64/ haskell-pipes/repos/community-staging-x86_64/PKGBUILD (from rev 1023345, haskell-pipes/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-pipes/repos/community-staging-x86_64/PKGBUILD (from rev 1023345, haskell-pipes/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:08:36 UTC (rev 1023346) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=pipes +pkgname=haskell-pipes +pkgver=4.3.16 +pkgrel=25 +pkgdesc="Compositional pipelines" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-mmorph' 'haskell-void') +makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-test-framework' + 'haskell-test-framework-quickcheck2') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('6776a2d64ad164bd2d7dcbac7e935342b1507a87d8651ec2b22349192fc49cdd12ea18811d74093c88474a3b631322bc1010183476e5cb5c35dd35366b996b1e') + +prepare() { +cd $_hkgname-$pkgver +uusi -u mmorph $_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-pipes/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:08:22 Author: felixonmars Revision: 1023345 upgpkg: haskell-pipes 4.3.16-25: rebuild with vector 0.12.3.1 Modified: haskell-pipes/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:07:11 UTC (rev 1023344) +++ PKGBUILD2021-09-24 05:08:22 UTC (rev 1023345) @@ -4,7 +4,7 @@ _hkgname=pipes pkgname=haskell-pipes pkgver=4.3.16 -pkgrel=24 +pkgrel=25 pkgdesc="Compositional pipelines" url="https://hackage.haskell.org/package/${_hkgname}"; license=("BSD") @@ -25,7 +25,7 @@ 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 +--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
[arch-commits] Commit in haskell-safe-exceptions/repos (2 files)
Date: Friday, September 24, 2021 @ 05:07:11 Author: felixonmars Revision: 1023344 archrelease: copy trunk to community-staging-x86_64 Added: haskell-safe-exceptions/repos/community-staging-x86_64/ haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from rev 1023343, haskell-safe-exceptions/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from rev 1023343, haskell-safe-exceptions/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:07:11 UTC (rev 1023344) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=safe-exceptions +pkgname=haskell-safe-exceptions +pkgver=0.1.7.2 +pkgrel=12 +pkgdesc="Safe, consistent, and easy exception handling" +url="https://github.com/fpco/safe-exceptions"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-hspec' 'haskell-void') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('592cd1b611262a24dc1673ec283059223b47e70a33df22c05ff7222096027afa6358336e6c8e30256a6e40b71d59d59a90021ccd998a8ee6e193aa62d152c5ab') + +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-safe-exceptions/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:06:56 Author: felixonmars Revision: 1023343 upgpkg: haskell-safe-exceptions 0.1.7.2-12: rebuild with vector 0.12.3.1 Modified: haskell-safe-exceptions/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:06:01 UTC (rev 1023342) +++ PKGBUILD2021-09-24 05:06:56 UTC (rev 1023343) @@ -3,7 +3,7 @@ _hkgname=safe-exceptions pkgname=haskell-safe-exceptions pkgver=0.1.7.2 -pkgrel=11 +pkgrel=12 pkgdesc="Safe, consistent, and easy exception handling" url="https://github.com/fpco/safe-exceptions"; license=('MIT') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-deriving-compat/repos (2 files)
Date: Friday, September 24, 2021 @ 05:06:01 Author: felixonmars Revision: 1023342 archrelease: copy trunk to community-staging-x86_64 Added: haskell-deriving-compat/repos/community-staging-x86_64/ haskell-deriving-compat/repos/community-staging-x86_64/PKGBUILD (from rev 1023341, haskell-deriving-compat/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-deriving-compat/repos/community-staging-x86_64/PKGBUILD (from rev 1023341, haskell-deriving-compat/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:06:01 UTC (rev 1023342) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=deriving-compat +pkgname=haskell-deriving-compat +pkgver=0.5.10 +pkgrel=81 +pkgdesc="Backports of GHC deriving extensions" +url="https://github.com/haskell-compat/deriving-compat"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-th-abstraction' 'haskell-transformers-compat') +makedepends=('ghc' 'haskell-base-compat' 'haskell-base-orphans' 'haskell-hspec' 'haskell-quickcheck' + 'haskell-tagged' 'haskell-void') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('414bfa949036597bb5ef47f3872766fa5eee6fc08beb2287faf6379710e41befeadd78e1cc1454cd0002fe43d7e73c18d9c691d715ad0bd93c855f009f9666af') + +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-deriving-compat/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:05:45 Author: felixonmars Revision: 1023341 upgpkg: haskell-deriving-compat 0.5.10-81: rebuild with vector 0.12.3.1 Modified: haskell-deriving-compat/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:03:54 UTC (rev 1023340) +++ PKGBUILD2021-09-24 05:05:45 UTC (rev 1023341) @@ -3,7 +3,7 @@ _hkgname=deriving-compat pkgname=haskell-deriving-compat pkgver=0.5.10 -pkgrel=80 +pkgrel=81 pkgdesc="Backports of GHC deriving extensions" url="https://github.com/haskell-compat/deriving-compat"; license=('BSD') @@ -19,7 +19,7 @@ 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 +--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
[arch-commits] Commit in haskell-text-latin1/repos (2 files)
Date: Friday, September 24, 2021 @ 05:03:54 Author: felixonmars Revision: 1023340 archrelease: copy trunk to community-staging-x86_64 Added: haskell-text-latin1/repos/community-staging-x86_64/ haskell-text-latin1/repos/community-staging-x86_64/PKGBUILD (from rev 1023339, haskell-text-latin1/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-text-latin1/repos/community-staging-x86_64/PKGBUILD (from rev 1023339, haskell-text-latin1/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:03:54 UTC (rev 1023340) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=text-latin1 +pkgname=haskell-text-latin1 +pkgver=0.3.1 +pkgrel=119 +pkgdesc="Latin-1 (including ASCII) utility functions" +url="https://github.com/mvv/text-latin1"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-data-checked' 'haskell-hashable') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('f1a86470fd35e2641025a9d475766e35603e9b2d62d6180fe23bc0d7e4338c1560c228363712a320aed61ad1bf277fa22cd41e37e79608c4c261ff0ed88cae3b') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/semigroups/d' $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --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 +} + +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-text-latin1/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:03:39 Author: felixonmars Revision: 1023339 upgpkg: haskell-text-latin1 0.3.1-119: rebuild with vector 0.12.3.1 Modified: haskell-text-latin1/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:02:50 UTC (rev 1023338) +++ PKGBUILD2021-09-24 05:03:39 UTC (rev 1023339) @@ -3,7 +3,7 @@ _hkgname=text-latin1 pkgname=haskell-text-latin1 pkgver=0.3.1 -pkgrel=118 +pkgrel=119 pkgdesc="Latin-1 (including ASCII) utility functions" url="https://github.com/mvv/text-latin1"; license=('BSD') @@ -23,7 +23,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-http-media/repos (2 files)
Date: Friday, September 24, 2021 @ 05:02:50 Author: felixonmars Revision: 1023338 archrelease: copy trunk to community-staging-x86_64 Added: haskell-http-media/repos/community-staging-x86_64/ haskell-http-media/repos/community-staging-x86_64/PKGBUILD (from rev 1023337, haskell-http-media/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-http-media/repos/community-staging-x86_64/PKGBUILD (from rev 1023337, haskell-http-media/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:02:50 UTC (rev 1023338) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=http-media +pkgname=haskell-http-media +pkgver=0.8.0.0 +pkgrel=111 +pkgdesc="Processing HTTP Content-Type and Accept headers" +url="https://github.com/zmthy/http-media"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' "haskell-case-insensitive" "haskell-utf8-string") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('549fa1892c81224e79bad4268993e0cfa324d9d0c9daa0d800ac7cc4eee307405155989672c49adb0e124ca29c2d83cc565ba3c935fd3be4ab4ef0594b012bb5') + +prepare() { +cd $_hkgname-$pkgver +sed -i 's/< *4.13/<5/' $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --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 +} + +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-http-media/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:02:24 Author: felixonmars Revision: 1023337 upgpkg: haskell-http-media 0.8.0.0-111: rebuild with vector 0.12.3.1 Modified: haskell-http-media/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 05:01:18 UTC (rev 1023336) +++ PKGBUILD2021-09-24 05:02:24 UTC (rev 1023337) @@ -4,7 +4,7 @@ _hkgname=http-media pkgname=haskell-http-media pkgver=0.8.0.0 -pkgrel=110 +pkgrel=111 pkgdesc="Processing HTTP Content-Type and Accept headers" url="https://github.com/zmthy/http-media"; license=("MIT") @@ -24,7 +24,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-vty/repos (2 files)
Date: Friday, September 24, 2021 @ 05:01:18 Author: felixonmars Revision: 1023336 archrelease: copy trunk to community-staging-x86_64 Added: haskell-vty/repos/community-staging-x86_64/ haskell-vty/repos/community-staging-x86_64/PKGBUILD (from rev 1023335, haskell-vty/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-vty/repos/community-staging-x86_64/PKGBUILD (from rev 1023335, haskell-vty/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 05:01:18 UTC (rev 1023336) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=vty +pkgname=haskell-vty +pkgver=5.33 +pkgrel=41 +pkgdesc="A simple terminal UI library" +url="https://github.com/jtdaugherty/vty"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-blaze-builder' 'haskell-microlens' + 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-hashable' 'haskell-parallel' + 'haskell-utf8-string' 'haskell-vector') +makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-smallcheck' + 'haskell-quickcheck-assertions' 'haskell-test-framework' + 'haskell-test-framework-smallcheck' 'haskell-test-framework-hunit' 'haskell-random' + 'haskell-string-qq') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('2d22af15d19a359c4d8b52d15c1a67feb137a058bda0f3cff90630b7705b6ead43ab5c4753fe59bcf9a3d1c3a4a4b755d41d55dba164e014f4271e86267f01aa') + +prepare() { +uusi -u random $_hkgname-$pkgver/$_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --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-vty/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 05:00:49 Author: felixonmars Revision: 1023335 upgpkg: haskell-vty 5.33-41: rebuild with vector 0.12.3.1 Modified: haskell-vty/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:53:03 UTC (rev 1023334) +++ PKGBUILD2021-09-24 05:00:49 UTC (rev 1023335) @@ -4,7 +4,7 @@ _hkgname=vty pkgname=haskell-vty pkgver=5.33 -pkgrel=40 +pkgrel=41 pkgdesc="A simple terminal UI library" url="https://github.com/jtdaugherty/vty"; license=("BSD") @@ -28,7 +28,7 @@ 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 +--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
[arch-commits] Commit in haskell-monad-control/repos (2 files)
Date: Friday, September 24, 2021 @ 04:53:03 Author: felixonmars Revision: 1023334 archrelease: copy trunk to community-staging-x86_64 Added: haskell-monad-control/repos/community-staging-x86_64/ haskell-monad-control/repos/community-staging-x86_64/PKGBUILD (from rev 102, haskell-monad-control/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-monad-control/repos/community-staging-x86_64/PKGBUILD (from rev 102, haskell-monad-control/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:53:03 UTC (rev 1023334) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=monad-control +pkgname=haskell-monad-control +pkgver=1.0.3.1 +pkgrel=9 +pkgdesc="Lift control operations, like exception catching, through monad transformers" +url="https://github.com/basvandijk/monad-control"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-transformers-base' 'haskell-transformers-compat') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('b82ac2d3b2ab1892f79bab1341c9ff17ea89b988438cfd40c246f5ffe4560cb2b77e4a1ed1aa9dc2bb64644b9d6da76eda7b40acf8cc34bb03e77b18127e93a1') + +prepare() { +cd $_hkgname-$pkgver +gen-setup +} + +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 +} + +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-monad-control/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:52:50 Author: felixonmars Revision: 102 upgpkg: haskell-monad-control 1.0.3.1-9: rebuild with vector 0.12.3.1 Modified: haskell-monad-control/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:52:06 UTC (rev 1023332) +++ PKGBUILD2021-09-24 04:52:50 UTC (rev 102) @@ -4,7 +4,7 @@ _hkgname=monad-control pkgname=haskell-monad-control pkgver=1.0.3.1 -pkgrel=8 +pkgrel=9 pkgdesc="Lift control operations, like exception catching, through monad transformers" url="https://github.com/basvandijk/monad-control"; license=("BSD") @@ -24,7 +24,7 @@ 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 +--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
[arch-commits] Commit in haskell-th-env/repos (3 files)
Date: Friday, September 24, 2021 @ 04:52:06 Author: felixonmars Revision: 1023332 archrelease: copy trunk to community-staging-x86_64 Added: haskell-th-env/repos/community-staging-x86_64/ haskell-th-env/repos/community-staging-x86_64/PKGBUILD (from rev 1023331, haskell-th-env/trunk/PKGBUILD) haskell-th-env/repos/community-staging-x86_64/ghc9.patch (from rev 1023331, haskell-th-env/trunk/ghc9.patch) + PKGBUILD | 52 ghc9.patch | 25 + 2 files changed, 77 insertions(+) Copied: haskell-th-env/repos/community-staging-x86_64/PKGBUILD (from rev 1023331, haskell-th-env/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:52:06 UTC (rev 1023332) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=th-env +pkgname=haskell-th-env +pkgver=0.1.0.2 +pkgrel=53 +pkgdesc="Template Haskell splice that expands to an environment variable" +url="https://github.com/dzhus/th-env#readme"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-th-compat') +makedepends=('ghc' 'haskell-markdown-unlit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz"; +ghc9.patch) +sha256sums=('c0d29be2104dd0964f534637841b8ceb665d594b02318062aa4a245ccb353a8f' +'67f0ed6d9e5e84e81f679fbb394aeb7ac04b1a4a8de9ddb3ad37455bd74a6cf0') + +prepare() { + patch -d $_hkgname-$pkgver -p1 < ghc9.patch + sed -i '/template-haskell/a \, th-compat' $_hkgname-$pkgver/$_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +} Copied: haskell-th-env/repos/community-staging-x86_64/ghc9.patch (from rev 1023331, haskell-th-env/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-24 04:52:06 UTC (rev 1023332) @@ -0,0 +1,25 @@ +diff --git a/src/Language/Haskell/TH/Env.hs b/src/Language/Haskell/TH/Env.hs +index 38859e2..62c88fe 100644 +--- a/src/Language/Haskell/TH/Env.hs b/src/Language/Haskell/TH/Env.hs +@@ -8,6 +8,7 @@ where + + import Data.String + import Language.Haskell.TH ++import Language.Haskell.TH.Syntax.Compat + import System.Environment + + -- | Produce a typed expression with the current value of an +@@ -15,8 +16,8 @@ import System.Environment + envQ :: IsString a + => String + -- ^ Environment variable name. +- -> TExpQ (Maybe a) +-envQ name = ++ -> SpliceQ (Maybe a) ++envQ name = liftSplice $ + runIO (lookupEnv name) >>= \case +-Just v -> [|| Just (fromString v) ||] +-Nothing -> [|| Nothing ||] ++Just v -> fromCode $ toCode [|| Just (fromString v) ||] ++Nothing -> fromCode $ toCode [|| Nothing ||]
[arch-commits] Commit in haskell-th-env/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:51:48 Author: felixonmars Revision: 1023331 upgpkg: haskell-th-env 0.1.0.2-53: rebuild with vector 0.12.3.1 Modified: haskell-th-env/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:50:58 UTC (rev 1023330) +++ PKGBUILD2021-09-24 04:51:48 UTC (rev 1023331) @@ -3,7 +3,7 @@ _hkgname=th-env pkgname=haskell-th-env pkgver=0.1.0.2 -pkgrel=52 +pkgrel=53 pkgdesc="Template Haskell splice that expands to an environment variable" url="https://github.com/dzhus/th-env#readme"; license=("BSD") @@ -25,7 +25,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-shellmet/repos (2 files)
Date: Friday, September 24, 2021 @ 04:50:58 Author: felixonmars Revision: 1023330 archrelease: copy trunk to community-staging-x86_64 Added: haskell-shellmet/repos/community-staging-x86_64/ haskell-shellmet/repos/community-staging-x86_64/PKGBUILD (from rev 1023329, haskell-shellmet/trunk/PKGBUILD) --+ PKGBUILD | 53 + 1 file changed, 53 insertions(+) Copied: haskell-shellmet/repos/community-staging-x86_64/PKGBUILD (from rev 1023329, haskell-shellmet/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:50:58 UTC (rev 1023330) @@ -0,0 +1,53 @@ +# Maintainer: Felix Yan +# Contributor: berberman + +_hkgname=shellmet +pkgname=haskell-shellmet +pkgver=0.0.4.0 +pkgrel=30 +pkgdesc="Shellmet provides easy and convenient way to call shell commands from Haskell programs." +url="https://github.com/kowainik/shellmet"; +license=('MPL2') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-glob' 'haskell-markdown-unlit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('965b04613555e4ab0a71a33b40c6940b07a724012de92667371555b9a6375a559b7e5239fa90219c53c2de3e27d9afb47a45243597807483b6ea00ca095e28f1') + +prepare(){ + cd $_hkgname-$pkgver + gen-setup +} + +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 \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + + mv "$pkgdir"/usr/bin/{,shellmet-}readme +}
[arch-commits] Commit in haskell-shellmet/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:50:42 Author: felixonmars Revision: 1023329 upgpkg: haskell-shellmet 0.0.4.0-30: rebuild with vector 0.12.3.1 Modified: haskell-shellmet/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:49:52 UTC (rev 1023328) +++ PKGBUILD2021-09-24 04:50:42 UTC (rev 1023329) @@ -4,7 +4,7 @@ _hkgname=shellmet pkgname=haskell-shellmet pkgver=0.0.4.0 -pkgrel=29 +pkgrel=30 pkgdesc="Shellmet provides easy and convenient way to call shell commands from Haskell programs." url="https://github.com/kowainik/shellmet"; license=('MPL2') @@ -24,7 +24,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'
[arch-commits] Commit in haskell-network-uri/repos (2 files)
Date: Friday, September 24, 2021 @ 04:49:52 Author: felixonmars Revision: 1023328 archrelease: copy trunk to community-staging-x86_64 Added: haskell-network-uri/repos/community-staging-x86_64/ haskell-network-uri/repos/community-staging-x86_64/PKGBUILD (from rev 1023327, haskell-network-uri/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-network-uri/repos/community-staging-x86_64/PKGBUILD (from rev 1023327, haskell-network-uri/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:49:52 UTC (rev 1023328) @@ -0,0 +1,49 @@ +# Maintainer: Jelle van der Waa + +_hkgname=network-uri +pkgname=haskell-network-uri +pkgver=2.6.4.1 +pkgrel=42 +pkgdesc="A library for client-side HTTP" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-th-compat') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit' + 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('8e5b01fd11197ac36de9b804d37256662f904f2b94a997a2e262439bb1706d1c460db368e935bf3971fd1581162abbc07439a0bae391e1e616264bd00fe7104e') + +build() { +cd $_hkgname-$pkgver + +if (( CHECKFUNC )); then +_opts=('--enable-tests') +else +_opts=('--disable-tests') +fi + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ +--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-network-uri/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:49:38 Author: felixonmars Revision: 1023327 upgpkg: haskell-network-uri 2.6.4.1-42: rebuild with vector 0.12.3.1 Modified: haskell-network-uri/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:48:10 UTC (rev 1023326) +++ PKGBUILD2021-09-24 04:49:38 UTC (rev 1023327) @@ -3,7 +3,7 @@ _hkgname=network-uri pkgname=haskell-network-uri pkgver=2.6.4.1 -pkgrel=41 +pkgrel=42 pkgdesc="A library for client-side HTTP" url="https://hackage.haskell.org/package/${_hkgname}"; license=('BSD') @@ -25,7 +25,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-genvalidity/repos (2 files)
Date: Friday, September 24, 2021 @ 04:48:10 Author: felixonmars Revision: 1023326 archrelease: copy trunk to community-staging-x86_64 Added: haskell-genvalidity/repos/community-staging-x86_64/ haskell-genvalidity/repos/community-staging-x86_64/PKGBUILD (from rev 1023325, haskell-genvalidity/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-genvalidity/repos/community-staging-x86_64/PKGBUILD (from rev 1023325, haskell-genvalidity/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:48:10 UTC (rev 1023326) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=genvalidity +pkgname=haskell-genvalidity +pkgver=0.11.0.2 +pkgrel=13 +pkgdesc="Testing utilities for the validity library" +url="https://github.com/NorfairKing/genvalidity"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-quickcheck' 'haskell-random' 'haskell-validity') +makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-core') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('d668e24747c05f9137875a0471365691fd118de97433b6001ae227b847269a008785e9cec4e5c3ed0dd9fccb8998ac25c91a538ece4c64649184115859ec1b14') + +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-genvalidity/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:47:55 Author: felixonmars Revision: 1023325 upgpkg: haskell-genvalidity 0.11.0.2-13: rebuild with vector 0.12.3.1 Modified: haskell-genvalidity/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:45:39 UTC (rev 1023324) +++ PKGBUILD2021-09-24 04:47:55 UTC (rev 1023325) @@ -3,7 +3,7 @@ _hkgname=genvalidity pkgname=haskell-genvalidity pkgver=0.11.0.2 -pkgrel=12 +pkgrel=13 pkgdesc="Testing utilities for the validity library" url="https://github.com/NorfairKing/genvalidity"; license=('MIT') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-say/repos (2 files)
Date: Friday, September 24, 2021 @ 04:45:39 Author: felixonmars Revision: 1023324 archrelease: copy trunk to community-staging-x86_64 Added: haskell-say/repos/community-staging-x86_64/ haskell-say/repos/community-staging-x86_64/PKGBUILD (from rev 1023323, haskell-say/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-say/repos/community-staging-x86_64/PKGBUILD (from rev 1023323, haskell-say/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:45:39 UTC (rev 1023324) @@ -0,0 +1,43 @@ +# Maintainer: Jelle van der Waa + +_hkgname=say +pkgname=haskell-say +pkgver=0.1.0.1 +pkgrel=123 +pkgdesc='Send textual messages to a Handle in a thread-friendly way' +arch=(x86_64) +url="https://hackage.haskell.org/package/$_hkgname"; +license=(MIT) +depends=(ghc-libs) +checkdepends=(haskell-hspec haskell-unliftio) +makedepends=(ghc) +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('3de9f6b473a3b4403624c3f6aeac3703a5e8b6cfae82578f7a49a81defa9fa64295cd315664d02fbab70646694d34415d638b5b52424d167d44e93b34a917604') + +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 +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-say/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:45:23 Author: felixonmars Revision: 1023323 upgpkg: haskell-say 0.1.0.1-123: rebuild with vector 0.12.3.1 Modified: haskell-say/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:44:17 UTC (rev 1023322) +++ PKGBUILD2021-09-24 04:45:23 UTC (rev 1023323) @@ -3,7 +3,7 @@ _hkgname=say pkgname=haskell-say pkgver=0.1.0.1 -pkgrel=122 +pkgrel=123 pkgdesc='Send textual messages to a Handle in a thread-friendly way' arch=(x86_64) url="https://hackage.haskell.org/package/$_hkgname"; @@ -18,7 +18,7 @@ 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 + --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
[arch-commits] Commit in haskell-unicode-transforms/repos (2 files)
Date: Friday, September 24, 2021 @ 04:44:17 Author: felixonmars Revision: 1023322 archrelease: copy trunk to community-staging-x86_64 Added: haskell-unicode-transforms/repos/community-staging-x86_64/ haskell-unicode-transforms/repos/community-staging-x86_64/PKGBUILD (from rev 1023321, haskell-unicode-transforms/trunk/PKGBUILD) --+ PKGBUILD | 44 1 file changed, 44 insertions(+) Copied: haskell-unicode-transforms/repos/community-staging-x86_64/PKGBUILD (from rev 1023321, haskell-unicode-transforms/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:44:17 UTC (rev 1023322) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan + +_hkgname=unicode-transforms +pkgname=haskell-unicode-transforms +pkgver=0.3.8 +pkgrel=11 +pkgdesc="Unicode transforms (normalization NFC/NFD/NFKC/NFKD)" +url="https://github.com/composewell/unicode-transforms/"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-unicode-data') +makedepends=('ghc' 'haskell-getopt-generics' 'haskell-hspec' 'haskell-quickcheck' 'haskell-split' + 'haskell-text-icu') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('65a3c5da022d1fca6a2d9e52110c5d56127d4225bd8beee45af5d821b77d98dadadf742e5f1309f0b8e256bd121d89b2c753d8552a2ecda9f373df4ac3e538f5') + +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 \ +-f-dev -fhas-icu -f-has-llvm +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-unicode-transforms/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:43:57 Author: felixonmars Revision: 1023321 upgpkg: haskell-unicode-transforms 0.3.8-11: rebuild with vector 0.12.3.1 Modified: haskell-unicode-transforms/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:41:39 UTC (rev 1023320) +++ PKGBUILD2021-09-24 04:43:57 UTC (rev 1023321) @@ -3,7 +3,7 @@ _hkgname=unicode-transforms pkgname=haskell-unicode-transforms pkgver=0.3.8 -pkgrel=10 +pkgrel=11 pkgdesc="Unicode transforms (normalization NFC/NFD/NFKC/NFKD)" url="https://github.com/composewell/unicode-transforms/"; license=('BSD') @@ -19,7 +19,7 @@ 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 \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-dev -fhas-icu -f-has-llvm runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-distributive/repos (2 files)
Date: Friday, September 24, 2021 @ 04:41:39 Author: felixonmars Revision: 1023320 archrelease: copy trunk to community-staging-x86_64 Added: haskell-distributive/repos/community-staging-x86_64/ haskell-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 1023319, haskell-distributive/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 1023319, haskell-distributive/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:41:39 UTC (rev 1023320) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=distributive +pkgname=haskell-distributive +pkgver=0.6.2.1 +pkgrel=109 +pkgdesc="Distributive functors -- Dual to Traversable" +url="https://github.com/ekmett/distributive/"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-base-orphans' 'haskell-tagged') +makedepends=('ghc') +checkdepends=('haskell-generic-deriving' 'haskell-hspec' 'haskell-hspec-discover') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('387c7b6e0b2f917fd68d52ffbc79b9db21e488629309bfaf0dc77450bfd37c0f7f8a29458532616b5395552f84f3727b462cb2876e5aca79101e2c752b26e0a7') + +build() { +cd $_hkgname-$pkgver + +if (( CHECKFUNC )); then +_opts=('--enable-tests') +else +_opts=('--disable-tests') +fi + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-ftagged -f-semigroups +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-distributive/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:41:21 Author: felixonmars Revision: 1023319 upgpkg: haskell-distributive 0.6.2.1-109: rebuild with vector 0.12.3.1 Modified: haskell-distributive/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:40:28 UTC (rev 1023318) +++ PKGBUILD2021-09-24 04:41:21 UTC (rev 1023319) @@ -4,7 +4,7 @@ _hkgname=distributive pkgname=haskell-distributive pkgver=0.6.2.1 -pkgrel=108 +pkgrel=109 pkgdesc="Distributive functors -- Dual to Traversable" url="https://github.com/ekmett/distributive/"; license=("BSD") @@ -26,7 +26,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -ftagged -f-semigroups runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
[arch-commits] Commit in haskell-tasty-ant-xml/repos (2 files)
Date: Friday, September 24, 2021 @ 04:40:28 Author: felixonmars Revision: 1023318 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-ant-xml/repos/community-staging-x86_64/ haskell-tasty-ant-xml/repos/community-staging-x86_64/PKGBUILD (from rev 1023317, haskell-tasty-ant-xml/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-tasty-ant-xml/repos/community-staging-x86_64/PKGBUILD (from rev 1023317, haskell-tasty-ant-xml/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:40:28 UTC (rev 1023318) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=tasty-ant-xml +pkgname=haskell-tasty-ant-xml +pkgver=1.1.8 +pkgrel=38 +pkgdesc="Render tasty output to XML for Jenkins" +url="https://github.com/ocharles/tasty-ant-xml"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-generic-deriving' 'haskell-tagged' 'haskell-tasty' 'haskell-xml') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('8cbe0648c42e2e8e324ef474ee7da1dde4fbfc3942a988a6835cb9ffca5fbaa8ac501e305389b4125543e48c1ade9caf5559c91c69874bba7fefc9f9be9cc3f9') + +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-tasty-ant-xml/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:40:12 Author: felixonmars Revision: 1023317 upgpkg: haskell-tasty-ant-xml 1.1.8-38: rebuild with vector 0.12.3.1 Modified: haskell-tasty-ant-xml/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:39:21 UTC (rev 1023316) +++ PKGBUILD2021-09-24 04:40:12 UTC (rev 1023317) @@ -3,7 +3,7 @@ _hkgname=tasty-ant-xml pkgname=haskell-tasty-ant-xml pkgver=1.1.8 -pkgrel=37 +pkgrel=38 pkgdesc="Render tasty output to XML for Jenkins" url="https://github.com/ocharles/tasty-ant-xml"; license=('BSD') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-infer-license/repos (2 files)
Date: Friday, September 24, 2021 @ 04:39:21 Author: felixonmars Revision: 1023316 archrelease: copy trunk to community-staging-x86_64 Added: haskell-infer-license/repos/community-staging-x86_64/ haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 1023315, haskell-infer-license/trunk/PKGBUILD) --+ PKGBUILD | 41 + 1 file changed, 41 insertions(+) Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 1023315, haskell-infer-license/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:39:21 UTC (rev 1023316) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan + +_hkgname=infer-license +pkgname=haskell-infer-license +pkgver=0.2.0 +pkgrel=155 +pkgdesc="Infer software license from a given license file" +url="https://github.com/sol/infer-license"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-text-metrics') +makedepends=('ghc' 'haskell-hspec') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45') + +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-infer-license/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:39:05 Author: felixonmars Revision: 1023315 upgpkg: haskell-infer-license 0.2.0-155: rebuild with vector 0.12.3.1 Modified: haskell-infer-license/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:38:14 UTC (rev 1023314) +++ PKGBUILD2021-09-24 04:39:05 UTC (rev 1023315) @@ -3,7 +3,7 @@ _hkgname=infer-license pkgname=haskell-infer-license pkgver=0.2.0 -pkgrel=154 +pkgrel=155 pkgdesc="Infer software license from a given license file" url="https://github.com/sol/infer-license"; license=('MIT') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-torrent/repos (2 files)
Date: Friday, September 24, 2021 @ 04:38:14 Author: felixonmars Revision: 1023314 archrelease: copy trunk to community-staging-x86_64 Added: haskell-torrent/repos/community-staging-x86_64/ haskell-torrent/repos/community-staging-x86_64/PKGBUILD (from rev 1023313, haskell-torrent/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-torrent/repos/community-staging-x86_64/PKGBUILD (from rev 1023313, haskell-torrent/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:38:14 UTC (rev 1023314) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=torrent +pkgname=haskell-torrent +pkgver=1.1.1 +pkgrel=130 +pkgdesc="BitTorrent file parser and generater" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-bencode" "haskell-syb") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('db4c18ca8df4fd32c45d6fc01333a5ef083136dfd5833f13300161ca393b6f3ebb2a8ca2b2f7e2bbf7019eb9484e0b3b067677a63fd41311e3dc7a17111f5a6c') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-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 +} + +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-torrent/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:38:00 Author: felixonmars Revision: 1023313 upgpkg: haskell-torrent 1.1.1-130: rebuild with vector 0.12.3.1 Modified: haskell-torrent/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:37:10 UTC (rev 1023312) +++ PKGBUILD2021-09-24 04:38:00 UTC (rev 1023313) @@ -4,7 +4,7 @@ _hkgname=torrent pkgname=haskell-torrent pkgver=1.1.1 -pkgrel=129 +pkgrel=130 pkgdesc="BitTorrent file parser and generater" url="https://hackage.haskell.org/package/${_hkgname}"; license=("BSD") @@ -19,7 +19,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-reinterpret-cast/repos (2 files)
Date: Friday, September 24, 2021 @ 04:37:10 Author: felixonmars Revision: 1023312 archrelease: copy trunk to community-staging-x86_64 Added: haskell-reinterpret-cast/repos/community-staging-x86_64/ haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD (from rev 1023311, haskell-reinterpret-cast/trunk/PKGBUILD) --+ PKGBUILD | 40 1 file changed, 40 insertions(+) Copied: haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD (from rev 1023311, haskell-reinterpret-cast/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:37:10 UTC (rev 1023312) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan + +_hkgname=reinterpret-cast +pkgname=haskell-reinterpret-cast +pkgver=0.1.0 +pkgrel=153 +pkgdesc="Memory reinterpretation casts for Float/Double and Word32/Word64" +url="https://github.com/nh2/reinterpret-cast"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-data-binary-ieee754' 'haskell-hspec' 'haskell-loop') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('217bff79abd149a8d644547b7a691b68400fa543dfd824160e1d41e90b489ab1d3e274b76cbe88d16572a41afd63705d15e973640493b119894d337df3b6ccba') + +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" +}
[arch-commits] Commit in haskell-reinterpret-cast/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:36:55 Author: felixonmars Revision: 1023311 upgpkg: haskell-reinterpret-cast 0.1.0-153: rebuild with vector 0.12.3.1 Modified: haskell-reinterpret-cast/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:35:30 UTC (rev 1023310) +++ PKGBUILD2021-09-24 04:36:55 UTC (rev 1023311) @@ -3,7 +3,7 @@ _hkgname=reinterpret-cast pkgname=haskell-reinterpret-cast pkgver=0.1.0 -pkgrel=152 +pkgrel=153 pkgdesc="Memory reinterpretation casts for Float/Double and Word32/Word64" url="https://github.com/nh2/reinterpret-cast"; license=('MIT') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-memotrie/repos (2 files)
Date: Friday, September 24, 2021 @ 04:35:30 Author: felixonmars Revision: 1023310 archrelease: copy trunk to community-staging-x86_64 Added: haskell-memotrie/repos/community-staging-x86_64/ haskell-memotrie/repos/community-staging-x86_64/PKGBUILD (from rev 1023309, haskell-memotrie/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: haskell-memotrie/repos/community-staging-x86_64/PKGBUILD (from rev 1023309, haskell-memotrie/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:35:30 UTC (rev 1023310) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +_hkgname=MemoTrie +pkgname=haskell-memotrie +pkgver=0.6.10 +pkgrel=123 +pkgdesc="Trie-based memo functions" +url="https://github.com/conal/MemoTrie"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-newtype-generics') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('73be7e356ad2aeef49abf43975d2e24ee8b883e12453f316366b52998637ac26d98feef34388c2a46f683027dc7132444b17a25a12d3e86748088fadf081b186') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-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 +} + +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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING" +}
[arch-commits] Commit in haskell-memotrie/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:35:16 Author: felixonmars Revision: 1023309 upgpkg: haskell-memotrie 0.6.10-123: rebuild with vector 0.12.3.1 Modified: haskell-memotrie/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:34:26 UTC (rev 1023308) +++ PKGBUILD2021-09-24 04:35:16 UTC (rev 1023309) @@ -3,7 +3,7 @@ _hkgname=MemoTrie pkgname=haskell-memotrie pkgver=0.6.10 -pkgrel=122 +pkgrel=123 pkgdesc="Trie-based memo functions" url="https://github.com/conal/MemoTrie"; license=('BSD') @@ -18,7 +18,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-language-javascript/repos (2 files)
Date: Friday, September 24, 2021 @ 04:34:26 Author: felixonmars Revision: 1023308 archrelease: copy trunk to community-staging-x86_64 Added: haskell-language-javascript/repos/community-staging-x86_64/ haskell-language-javascript/repos/community-staging-x86_64/PKGBUILD (from rev 1023307, haskell-language-javascript/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-language-javascript/repos/community-staging-x86_64/PKGBUILD (from rev 1023307, haskell-language-javascript/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:34:26 UTC (rev 1023308) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=language-javascript +pkgname=haskell-language-javascript +pkgver=0.7.1.0 +pkgrel=63 +pkgdesc="Parser for JavaScript" +url="https://github.com/erikd/language-javascript"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-blaze-builder" "haskell-utf8-string") +makedepends=('alex' 'happy' 'ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('35f935f121cb8aad1a28be50ba8d571ee60bd2c6721eaf9bc7f897cbc4a33b17213e89d84bf9525ddbf555030efd5fbe6b11157c113900354430a7193223516f') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-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 +} + +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-language-javascript/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:34:11 Author: felixonmars Revision: 1023307 upgpkg: haskell-language-javascript 0.7.1.0-63: rebuild with vector 0.12.3.1 Modified: haskell-language-javascript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:30:54 UTC (rev 1023306) +++ PKGBUILD2021-09-24 04:34:11 UTC (rev 1023307) @@ -4,7 +4,7 @@ _hkgname=language-javascript pkgname=haskell-language-javascript pkgver=0.7.1.0 -pkgrel=62 +pkgrel=63 pkgdesc="Parser for JavaScript" url="https://github.com/erikd/language-javascript"; license=("BSD") @@ -19,7 +19,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +--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
[arch-commits] Commit in haskell-listlike/repos (2 files)
Date: Friday, September 24, 2021 @ 04:30:54 Author: felixonmars Revision: 1023306 archrelease: copy trunk to community-staging-x86_64 Added: haskell-listlike/repos/community-staging-x86_64/ haskell-listlike/repos/community-staging-x86_64/PKGBUILD (from rev 1023305, haskell-listlike/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-listlike/repos/community-staging-x86_64/PKGBUILD (from rev 1023305, haskell-listlike/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:30:54 UTC (rev 1023306) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=ListLike +pkgname=haskell-listlike +pkgver=4.7.6 +pkgrel=4 +pkgdesc="Generic support for list-like structures" +url="https://github.com/ddssff/listlike"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-dlist' 'haskell-fmlist' 'haskell-utf8-string' 'haskell-vector') +makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-random') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('40f3c9628c6ca2a1b3b158adb5a30b368d806890229fcd1e42a9162dba5fec50483a4bc82eca942aeaf07bb6054d8f0355f2af0c5aadf8eabc1a327c918369f8') + +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 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT" +}
[arch-commits] Commit in haskell-listlike/trunk (PKGBUILD)
Date: Friday, September 24, 2021 @ 04:30:37 Author: felixonmars Revision: 1023305 upgpkg: haskell-listlike 4.7.6-4: rebuild with vector 0.12.3.1 Modified: haskell-listlike/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-09-24 04:27:27 UTC (rev 1023304) +++ PKGBUILD2021-09-24 04:30:37 UTC (rev 1023305) @@ -3,7 +3,7 @@ _hkgname=ListLike pkgname=haskell-listlike pkgver=4.7.6 -pkgrel=3 +pkgrel=4 pkgdesc="Generic support for list-like structures" url="https://github.com/ddssff/listlike"; license=('BSD') @@ -18,7 +18,7 @@ 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 +--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
[arch-commits] Commit in haskell-url/repos (2 files)
Date: Friday, September 24, 2021 @ 04:27:27 Author: felixonmars Revision: 1023304 archrelease: copy trunk to community-staging-x86_64 Added: haskell-url/repos/community-staging-x86_64/ haskell-url/repos/community-staging-x86_64/PKGBUILD (from rev 1023303, haskell-url/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-url/repos/community-staging-x86_64/PKGBUILD (from rev 1023303, haskell-url/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-24 04:27:27 UTC (rev 1023304) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=url +pkgname=haskell-url +pkgver=2.1.3 +pkgrel=72 +pkgdesc="A library for working with URLs" +url="https://www.haskell.org/haskellwiki/Url"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-utf8-string') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('53ee2aabc877c91d06c7e029ff807057f88bb4ce712ad02d47655d43869ad83af9032eea85d0ecddf3cad19839827bb723c9bf0a17b580ee7018f4b08c691cd8') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-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 +} + +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 +}