[arch-commits] Commit in csound-plugins (repo)

2021-06-20 Thread Brett Cornwall via arch-commits
Date: Monday, June 21, 2021 @ 04:24:37
  Author: ainola
Revision: 966370

rm accidental repo/ dir

Deleted:
  csound-plugins/repo/


[arch-commits] Commit in csound/repos/community-testing-x86_64 (4 files)

2021-06-20 Thread Brett Cornwall via arch-commits
Date: Monday, June 21, 2021 @ 04:21:48
  Author: ainola
Revision: 966369

archrelease: copy trunk to community-testing-x86_64

Added:
  csound/repos/community-testing-x86_64/PKGBUILD
(from rev 966368, csound/trunk/PKGBUILD)
  csound/repos/community-testing-x86_64/csound.sh
(from rev 966368, csound/trunk/csound.sh)
Deleted:
  csound/repos/community-testing-x86_64/PKGBUILD
  csound/repos/community-testing-x86_64/csound.sh

---+
 PKGBUILD  |  226 +---
 csound.sh |6 -
 2 files changed, 113 insertions(+), 119 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-21 04:17:49 UTC (rev 966368)
+++ PKGBUILD2021-06-21 04:21:48 UTC (rev 966369)
@@ -1,116 +0,0 @@
-# Maintainer: David Runge 
-# Contributor: Brett Cornwall 
-# Contributor: speps
-# Contributor: Bernardo Barros
-
-pkgbase=csound
-pkgname=('csound' 'csound-doc')
-pkgver=6.16.0
-pkgrel=1
-pkgdesc="A programming language for sound rendering and signal processing."
-arch=('x86_64')
-url="https://csound.com;
-license=('LGPL2.1')
-# libpd needs to be packaged: https://github.com/libpd/libpd/releases
-# gmm > 5.1 breaks linear-algebra opcode: 
https://github.com/csound/csound/issues/920
-makedepends=('alsa-lib' 'cmake' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
-'fluidsynth' 'hdf5' 'jack' 'java-environment' 'ladspa' 'libmusicxml'
-'libsamplerate' 'libsndfile' 'libwebsockets' 'abletonlink' 'llvm' 'lua'
-'openssl' 'portaudio' 'portmidi' 'portsmf' 'stk' 'swig' 'wiiuse' 
'strip-nondeterminism')
-checkdepends=('cunit')
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz;
-"${pkgbase}.sh"
-
"https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_html.zip;
-
"https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_pdf.zip;)
-sha512sums=('218d26604ebc7761b77a19c2aebbf337085fe16ecb0fbefcbca2b4fdc721830e9bbf170a280d1b44534ac5f23e46ec88c01fd2bbbcf882cbca010ceb098d59eb'
-
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
-
'e550a832e365ab186533045d110259699039d08a85ec2f53d4fe36aa31004725b1dc6732f71d9895fa19b3df5f4ec720af1b4f80856a14b0ffbd844c4ab2dbe3'
-
'18347ce7080ca7997e98f8addffcc492c7ec5d8e037e71a33bb46fdbc5b58ec26ee42f370689fc228d4150bd9dedc31c7824ec4c19f3243d512977f4380f9490')
-b2sums=('708bf1e28078798863b8e347624eadb0ac215cfad3718bd651d6b4a54cafd844f516d5f06fad4cef3ece9f48398e46a6ac803e9385b1a2cc159f333613305a91'
-
'8a556685d0f9ee55c4de521b3d76fc729936e98e991e8ea860d64b29a1b09d142ab0a51548b2dddadb41ecb796e84ba1f8ed114494b4c67d7d6d8ab3475b2ede'
-
'3bf6e2202a42dfa826d39ef41282e1942f26cc3f6a3358e0de3a006f102b686342b4e1824a1c3a48ac37ffed31d9353e6946d948751dcc059819da649d63d9cb'
-
'7bb35f806568a80abbd84a4f4988217bea09f3174881d802f6d61505f044c8a26b59036dcb61ead5315e756a4512eb1fb56b2824f27f09899a8fe1664a386754')
-
-prepare() {
-  # fix file permissions in html manual
-  find html/ -type f -exec chmod -c 644 {} \;
-}
-
-build() {
-  local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' 
-f2| cut -d '.' -f1)
-  cd "${pkgbase}-${pkgver}"
-  # without CMAKE_BUILD_TYPE=Release, csound is build as beta: 
https://bugs.archlinux.org/task/63348
-  # it's not allowed to redistribute the scansyn opcodes: 
https://github.com/csound/csound/issues/1148
-  # the python plugin is not python3 compatible: 
https://github.com/csound/csound/issues/631
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_BUILD_TYPE='None' \
--DBUILD_SCANSYN_OPCODES=OFF \
-
-DJAVA_AWT_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib/libawt.so" 
\
--DJAVA_JVM_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib" \
--DLUA_LIBRARY=/usr/lib/liblua.so \
--DBUILD_STATIC_LIBRARY=ON \
--DBUILD_ABLETON_LINK_OPCODES=ON \
--DABLETON_LINK_HOME=/usr/include/ableton \
--W no-dev \
--B build \
--S .
-  make VERBOSE=1 -C build
-}
-
-check() {
-  cd "${pkgbase}-${pkgver}"
-  make test -C build
-}
-
-package_csound() {
-  groups=('pro-audio')
-  depends=('gcc-libs' 'glibc' 'libcurl.so' 'libsamplerate.so' 'libsndfile.so')
-  optdepends=('alsa-lib: for librtalsa plugin'
-  'csound-doc: for the canonical Csound Reference Manual'
-  'csound-plugins: for extra opcodes not shipped with Csound'
-  'csoundqt: for frontend/ editor with integrated help'
-  'fltk: for libvirtual and libwidgets plugins'
-  'hdf5: for hdf5ops plugin'
-  'java-runtime: java integration'
-  'faust: for libfaustcsound plugin'
-  'fluidsynth: for libfluidOpcodes plugin'
-  'jack: for libjacko, librtjack 

[arch-commits] Commit in csound/trunk (PKGBUILD)

2021-06-20 Thread Brett Cornwall via arch-commits
Date: Monday, June 21, 2021 @ 04:17:49
  Author: ainola
Revision: 966368

rm deps that were moved to csound-plugins

Modified:
  csound/trunk/PKGBUILD

--+
 PKGBUILD |   14 --
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 04:14:19 UTC (rev 966367)
+++ PKGBUILD2021-06-21 04:17:49 UTC (rev 966368)
@@ -1,5 +1,5 @@
 # Maintainer: David Runge 
-# Contributor: Brett Cornwall 
+# Maintainer: Brett Cornwall 
 # Contributor: speps
 # Contributor: Bernardo Barros
 
@@ -6,7 +6,7 @@
 pkgbase=csound
 pkgname=('csound' 'csound-doc')
 pkgver=6.16.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A programming language for sound rendering and signal processing."
 arch=('x86_64')
 url="https://csound.com;
@@ -13,9 +13,9 @@
 license=('LGPL2.1')
 # libpd needs to be packaged: https://github.com/libpd/libpd/releases
 # gmm > 5.1 breaks linear-algebra opcode: 
https://github.com/csound/csound/issues/920
-makedepends=('alsa-lib' 'cmake' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
+makedepends=('alsa-lib' 'cmake' 'doxygen' 'dssi'
 'fluidsynth' 'hdf5' 'jack' 'java-environment' 'ladspa' 'libmusicxml'
-'libsamplerate' 'libsndfile' 'libwebsockets' 'abletonlink' 'llvm' 'lua'
+'libsamplerate' 'libsndfile' 'libwebsockets' 'llvm' 'lua'
 'openssl' 'portaudio' 'portmidi' 'portsmf' 'stk' 'swig' 'wiiuse' 
'strip-nondeterminism')
 checkdepends=('cunit')
 
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz;
@@ -39,7 +39,6 @@
 build() {
   local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' 
-f2| cut -d '.' -f1)
   cd "${pkgbase}-${pkgver}"
-  # without CMAKE_BUILD_TYPE=Release, csound is build as beta: 
https://bugs.archlinux.org/task/63348
   # it's not allowed to redistribute the scansyn opcodes: 
https://github.com/csound/csound/issues/1148
   # the python plugin is not python3 compatible: 
https://github.com/csound/csound/issues/631
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
@@ -49,8 +48,6 @@
 -DJAVA_JVM_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib" \
 -DLUA_LIBRARY=/usr/lib/liblua.so \
 -DBUILD_STATIC_LIBRARY=ON \
--DBUILD_ABLETON_LINK_OPCODES=ON \
--DABLETON_LINK_HOME=/usr/include/ableton \
 -W no-dev \
 -B build \
 -S .
@@ -69,15 +66,12 @@
   'csound-doc: for the canonical Csound Reference Manual'
   'csound-plugins: for extra opcodes not shipped with Csound'
   'csoundqt: for frontend/ editor with integrated help'
-  'fltk: for libvirtual and libwidgets plugins'
   'hdf5: for hdf5ops plugin'
   'java-runtime: java integration'
-  'faust: for libfaustcsound plugin'
   'fluidsynth: for libfluidOpcodes plugin'
   'jack: for libjacko, librtjack and libjackTransport plugins'
   'liblo: for libosc plugin'
   'ncurses: for libfaustcsound plugin'
-  'libpng: for libimage plugin'
   'portmidi: for libpmidi plugin'
   'portaudio: for librtpa plugin'
   'libpulse: for librtpulse plugin'


[arch-commits] Commit in csound-plugins (3 files)

2021-06-20 Thread Brett Cornwall via arch-commits
Date: Monday, June 21, 2021 @ 04:14:19
  Author: ainola
Revision: 966367

archrelease: copy trunk to community-testing-x86_64

Added:
  csound-plugins/repos/
  csound-plugins/repos/community-testing-x86_64/
  csound-plugins/repos/community-testing-x86_64/PKGBUILD
(from rev 966366, csound-plugins/trunk/PKGBUILD)

--+
 PKGBUILD |   48 
 1 file changed, 48 insertions(+)

Copied: csound-plugins/repos/community-testing-x86_64/PKGBUILD (from rev 
966366, csound-plugins/trunk/PKGBUILD)
===
--- repos/community-testing-x86_64/PKGBUILD (rev 0)
+++ repos/community-testing-x86_64/PKGBUILD 2021-06-21 04:14:19 UTC (rev 
966367)
@@ -0,0 +1,48 @@
+# Maintainer: Brett Cornwall 
+
+pkgname=csound-plugins
+pkgver=r32.e2c9cf5
+pkgrel=1
+pkgdesc="Extra opcodes for Csound"
+arch=(x86_64)
+url="https://github.com/csound/plugins;
+license=('GPL')
+groups=('pro-audio')
+depends=(
+   'csound'
+   'python'
+)
+makedepends=(
+   'cmake'
+   'faust'
+   'fltk'
+   'git'
+   'libpng'
+)
+optdepends=(
+   'faust: for libfaustcsound plugin'
+   'fltk: for libvirtual and libwidgets plugins'
+   'libpng: for libimage plugin'
+)
+source=('git+https://github.com/csound/plugins.git#tag=e2c9cf5deded1e57ffbfe5d12e27489ba2b9b9c3')
+sha256sums=('SKIP')
+
+pkgver() {
+   cd plugins
+   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short 
HEAD)"
+}
+
+build() {
+   mkdir build
+   # libchua is already built by csound for now.
+   cmake -B build -S plugins \
+   -DCMAKE_BUILD_TYPE='None' \
+   -DCMAKE_INSTALL_PREFIX='/usr' \
+   -DBUILD_CHUA_OPCODES='OFF' \
+   -Wno-dev
+   make -C build
+}
+
+package() {
+   make -C build DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in (4 files)

2021-06-20 Thread Brett Cornwall via arch-commits
Date: Monday, June 21, 2021 @ 04:12:44
  Author: ainola
Revision: 966366

Add csound-plugins, featuring extra opcodes

Added:
  csound-plugins/
  csound-plugins/repo/
  csound-plugins/trunk/
  csound-plugins/trunk/PKGBUILD

--+
 PKGBUILD |   48 
 1 file changed, 48 insertions(+)

Added: csound-plugins/trunk/PKGBUILD
===
--- csound-plugins/trunk/PKGBUILD   (rev 0)
+++ csound-plugins/trunk/PKGBUILD   2021-06-21 04:12:44 UTC (rev 966366)
@@ -0,0 +1,48 @@
+# Maintainer: Brett Cornwall 
+
+pkgname=csound-plugins
+pkgver=r32.e2c9cf5
+pkgrel=1
+pkgdesc="Extra opcodes for Csound"
+arch=(x86_64)
+url="https://github.com/csound/plugins;
+license=('GPL')
+groups=('pro-audio')
+depends=(
+   'csound'
+   'python'
+)
+makedepends=(
+   'cmake'
+   'faust'
+   'fltk'
+   'git'
+   'libpng'
+)
+optdepends=(
+   'faust: for libfaustcsound plugin'
+   'fltk: for libvirtual and libwidgets plugins'
+   'libpng: for libimage plugin'
+)
+source=('git+https://github.com/csound/plugins.git#tag=e2c9cf5deded1e57ffbfe5d12e27489ba2b9b9c3')
+sha256sums=('SKIP')
+
+pkgver() {
+   cd plugins
+   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short 
HEAD)"
+}
+
+build() {
+   mkdir build
+   # libchua is already built by csound for now.
+   cmake -B build -S plugins \
+   -DCMAKE_BUILD_TYPE='None' \
+   -DCMAKE_INSTALL_PREFIX='/usr' \
+   -DBUILD_CHUA_OPCODES='OFF' \
+   -Wno-dev
+   make -C build
+}
+
+package() {
+   make -C build DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in haskell-prettyprinter-convert-ansi-wl-pprint/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:56:49
  Author: felixonmars
Revision: 966365

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-prettyprinter-convert-ansi-wl-pprint/repos/community-staging-x86_64/
  
haskell-prettyprinter-convert-ansi-wl-pprint/repos/community-staging-x86_64/PKGBUILD
(from rev 966364, 
haskell-prettyprinter-convert-ansi-wl-pprint/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: 
haskell-prettyprinter-convert-ansi-wl-pprint/repos/community-staging-x86_64/PKGBUILD
 (from rev 966364, haskell-prettyprinter-convert-ansi-wl-pprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:56:49 UTC (rev 966365)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=prettyprinter-convert-ansi-wl-pprint
+pkgname=haskell-prettyprinter-convert-ansi-wl-pprint
+pkgver=1.1.1
+pkgrel=109
+pkgdesc="Converter from ansi-wl-pprint documents to prettyprinter-based ones."
+url="https://github.com/quchen/prettyprinter;
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-ansi-wl-pprint' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal')
+makedepends=('ghc' 'haskell-doctest')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('12582ba31dc7401047a8e98c8059aee687c9b420825f6887567dbab1181602e97ad973f883592e3f035840e7abec61daa3718dba90a3cf8cac4f543674a31142')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


[arch-commits] Commit in haskell-prettyprinter-convert-ansi-wl-pprint/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:56:36
  Author: felixonmars
Revision: 966364

upgpkg: haskell-prettyprinter-convert-ansi-wl-pprint 1.1.1-109: rebuild with 
ghc 9.0.1, ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-prettyprinter-convert-ansi-wl-pprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:55:52 UTC (rev 966363)
+++ PKGBUILD2021-06-21 03:56:36 UTC (rev 966364)
@@ -3,7 +3,7 @@
 _hkgname=prettyprinter-convert-ansi-wl-pprint
 pkgname=haskell-prettyprinter-convert-ansi-wl-pprint
 pkgver=1.1.1
-pkgrel=108
+pkgrel=109
 pkgdesc="Converter from ansi-wl-pprint documents to prettyprinter-based ones."
 url="https://github.com/quchen/prettyprinter;
 license=('custom:BSD2')


[arch-commits] Commit in haskell-prettyprinter-ansi-terminal/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:55:52
  Author: felixonmars
Revision: 966363

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-prettyprinter-ansi-terminal/repos/community-staging-x86_64/
  haskell-prettyprinter-ansi-terminal/repos/community-staging-x86_64/PKGBUILD
(from rev 966362, haskell-prettyprinter-ansi-terminal/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: 
haskell-prettyprinter-ansi-terminal/repos/community-staging-x86_64/PKGBUILD 
(from rev 966362, haskell-prettyprinter-ansi-terminal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:55:52 UTC (rev 966363)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=prettyprinter-ansi-terminal
+pkgname=haskell-prettyprinter-ansi-terminal
+pkgver=1.1.2
+pkgrel=106
+pkgdesc="ANSI terminal backend for the prettyprinter package."
+url="https://github.com/quchen/prettyprinter-ansi-terminal;
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-prettyprinter')
+makedepends=('ghc' 'haskell-doctest')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6f3f077f3f171b6a2c1ca811d267f5311328cd3538ace0c174dd87960fd2617a6543e4bfe239f231ef68c6cce87ce563d0f2068631c084a1faa56a3e051f3fae')
+
+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 \
+-f-buildReadme
+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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


[arch-commits] Commit in haskell-prettyprinter-ansi-terminal/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:55:39
  Author: felixonmars
Revision: 966362

upgpkg: haskell-prettyprinter-ansi-terminal 1.1.2-106: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-prettyprinter-ansi-terminal/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:54:51 UTC (rev 966361)
+++ PKGBUILD2021-06-21 03:55:39 UTC (rev 966362)
@@ -3,7 +3,7 @@
 _hkgname=prettyprinter-ansi-terminal
 pkgname=haskell-prettyprinter-ansi-terminal
 pkgver=1.1.2
-pkgrel=105
+pkgrel=106
 pkgdesc="ANSI terminal backend for the prettyprinter package."
 url="https://github.com/quchen/prettyprinter-ansi-terminal;
 license=('custom:BSD2')


[arch-commits] Commit in haskell-prettyprinter/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:54:51
  Author: felixonmars
Revision: 966361

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-prettyprinter/repos/community-staging-x86_64/
  haskell-prettyprinter/repos/community-staging-x86_64/PKGBUILD
(from rev 966360, haskell-prettyprinter/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-prettyprinter/repos/community-staging-x86_64/PKGBUILD (from rev 
966360, haskell-prettyprinter/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:54:51 UTC (rev 966361)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=prettyprinter
+pkgname=haskell-prettyprinter
+pkgver=1.7.0
+pkgrel=97
+pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
+url="https://github.com/hspec/prettyprinter;
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-doctest' 'haskell-pgp-wordlist' 
'haskell-quickcheck-instances'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4f1b756b3284a0319bb73229e8445f6d92c3d3d12a879f651df5624389bd6c449b2d9bc440dbf70d8752a6ba574d0539f91950d4bafbe7f9d3fd79d0d30ec95d')
+
+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 \
+-f-buildReadme
+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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


[arch-commits] Commit in haskell-prettyprinter/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:54:37
  Author: felixonmars
Revision: 966360

upgpkg: haskell-prettyprinter 1.7.0-97: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-prettyprinter/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:53:03 UTC (rev 966359)
+++ PKGBUILD2021-06-21 03:54:37 UTC (rev 966360)
@@ -3,7 +3,7 @@
 _hkgname=prettyprinter
 pkgname=haskell-prettyprinter
 pkgver=1.7.0
-pkgrel=96
+pkgrel=97
 pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
 url="https://github.com/hspec/prettyprinter;
 license=('custom:BSD2')


[arch-commits] Commit in haskell-pgp-wordlist/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:53:03
  Author: felixonmars
Revision: 966359

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-pgp-wordlist/repos/community-staging-x86_64/
  haskell-pgp-wordlist/repos/community-staging-x86_64/PKGBUILD
(from rev 966358, haskell-pgp-wordlist/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-pgp-wordlist/repos/community-staging-x86_64/PKGBUILD (from rev 
966358, haskell-pgp-wordlist/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:53:03 UTC (rev 966359)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pgp-wordlist
+pkgname=haskell-pgp-wordlist
+pkgver=0.1.0.3
+pkgrel=128
+pkgdesc="Translate between binary data and a human-readable collection of 
words."
+url="https://github.com/quchen/pgp-wordlist;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-vector')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hunit' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b7c6db47c1f9a0b10c5c94ea46b8eee282988e5990ef3dafa2d07a5bfc0718572b04494d23ddab063811ef2452546d6b17010c6490a89031f4b071f1a43d989b')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-pgp-wordlist/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:52:50
  Author: felixonmars
Revision: 966358

upgpkg: haskell-pgp-wordlist 0.1.0.3-128: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-pgp-wordlist/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:48:23 UTC (rev 966357)
+++ PKGBUILD2021-06-21 03:52:50 UTC (rev 966358)
@@ -3,7 +3,7 @@
 _hkgname=pgp-wordlist
 pkgname=haskell-pgp-wordlist
 pkgver=0.1.0.3
-pkgrel=127
+pkgrel=128
 pkgdesc="Translate between binary data and a human-readable collection of 
words."
 url="https://github.com/quchen/pgp-wordlist;
 license=('BSD')


[arch-commits] Commit in haskell-double-conversion/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:48:23
  Author: felixonmars
Revision: 966357

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-double-conversion/repos/community-staging-x86_64/
  haskell-double-conversion/repos/community-staging-x86_64/PKGBUILD
(from rev 966356, haskell-double-conversion/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: haskell-double-conversion/repos/community-staging-x86_64/PKGBUILD (from 
rev 966356, haskell-double-conversion/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:48:23 UTC (rev 966357)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=double-conversion
+pkgname=haskell-double-conversion
+pkgver=2.0.2.0
+pkgrel=116
+pkgdesc="Fast conversion between double precision floating point and text"
+url="https://github.com/bos/double-conversion;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'double-conversion')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+
system-double-conversion.patch::https://github.com/bos/double-conversion/pull/25.patch)
+sha512sums=('1713c4e8a28de2ee85e1f312dc12d30a9c6d7a139d89f04ea88048578ce65c8bdf62ded90b92bce011955b95867ca95a623a5109758276a29ba7b6843fbe37eb'
+
'fca512e2787ab4faf587db28b1212c99681926dc32b95a739df8fb33925439385862b55aaf68dfe737b1709335ec44f8e959e40b74012d56f3506e36b31ddabe')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../system-double-conversion.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 \
+-f-embedded_double_conversion
+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-double-conversion/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:48:09
  Author: felixonmars
Revision: 966356

upgpkg: haskell-double-conversion 2.0.2.0-116: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-double-conversion/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:47:15 UTC (rev 966355)
+++ PKGBUILD2021-06-21 03:48:09 UTC (rev 966356)
@@ -3,7 +3,7 @@
 _hkgname=double-conversion
 pkgname=haskell-double-conversion
 pkgver=2.0.2.0
-pkgrel=115
+pkgrel=116
 pkgdesc="Fast conversion between double precision floating point and text"
 url="https://github.com/bos/double-conversion;
 license=('MIT')


[arch-commits] Commit in haskell-fsnotify/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:47:15
  Author: felixonmars
Revision: 966355

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-fsnotify/repos/community-staging-x86_64/
  haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD
(from rev 966354, haskell-fsnotify/trunk/PKGBUILD)

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 
966354, haskell-fsnotify/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:47:15 UTC (rev 966355)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fsnotify
+pkgname=haskell-fsnotify
+pkgver=0.3.0.1
+pkgrel=210
+pkgdesc="Cross platform library for file change notification."
+url="https://github.com/haskell-fswatch/hfsnotify;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly'
+ "haskell-unix-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-fsnotify/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:47:02
  Author: felixonmars
Revision: 966354

upgpkg: haskell-fsnotify 0.3.0.1-210: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-fsnotify/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:46:15 UTC (rev 966353)
+++ PKGBUILD2021-06-21 03:47:02 UTC (rev 966354)
@@ -4,7 +4,7 @@
 _hkgname=fsnotify
 pkgname=haskell-fsnotify
 pkgver=0.3.0.1
-pkgrel=209
+pkgrel=210
 pkgdesc="Cross platform library for file change notification."
 url="https://github.com/haskell-fswatch/hfsnotify;
 license=("BSD")


[arch-commits] Commit in haskell-shelly/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:46:15
  Author: felixonmars
Revision: 966353

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-shelly/repos/community-staging-x86_64/
  haskell-shelly/repos/community-staging-x86_64/PKGBUILD
(from rev 966352, haskell-shelly/trunk/PKGBUILD)

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Copied: haskell-shelly/repos/community-staging-x86_64/PKGBUILD (from rev 
966352, haskell-shelly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:46:15 UTC (rev 966353)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shelly
+pkgname=haskell-shelly
+pkgver=1.9.0
+pkgrel=84
+pkgdesc="Shell-like (systems) programming in Haskell"
+url="https://github.com/yesodweb/Shelly.hs;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-unix-compat' 'haskell-monad-control' 
'haskell-lifted-base'
+ 'haskell-lifted-async' 'haskell-enclosed-exceptions'
+ 'haskell-async' 'haskell-transformers-base')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hspec' 'haskell-hspec-contrib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7c1eb25439e08095187746d0101fd92ad56ebb5a706820bad7330667cfc806066d4675c677e5d267440d4af7b517f36449e8f5e75332521780b564edc1586254')
+
+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 \
+-f-lifted -f-build-examples
+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-shelly/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:46:02
  Author: felixonmars
Revision: 966352

upgpkg: haskell-shelly 1.9.0-84: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-shelly/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:44:47 UTC (rev 966351)
+++ PKGBUILD2021-06-21 03:46:02 UTC (rev 966352)
@@ -4,7 +4,7 @@
 _hkgname=shelly
 pkgname=haskell-shelly
 pkgver=1.9.0
-pkgrel=83
+pkgrel=84
 pkgdesc="Shell-like (systems) programming in Haskell"
 url="https://github.com/yesodweb/Shelly.hs;
 license=("BSD")


[arch-commits] Commit in haskell-hspec-contrib/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:44:47
  Author: felixonmars
Revision: 966351

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-contrib/repos/community-staging-x86_64/
  haskell-hspec-contrib/repos/community-staging-x86_64/PKGBUILD
(from rev 966350, haskell-hspec-contrib/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-hspec-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 
966350, haskell-hspec-contrib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:44:47 UTC (rev 966351)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-contrib
+pkgname=haskell-hspec-contrib
+pkgver=0.5.1
+pkgrel=134
+pkgdesc="Contributed functionality for Hspec"
+url="https://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-core' 'haskell-hunit')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('cc6ee847d7c99b2607c36b2200bf0bc05ce30437110f216f82464069ffdf80a76d836ad7aace3d69a00cf9da4b28d39491a251c6f60401009a6f9c85d20043e0')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-contrib/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:44:34
  Author: felixonmars
Revision: 966350

upgpkg: haskell-hspec-contrib 0.5.1-134: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-hspec-contrib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:43:46 UTC (rev 966349)
+++ PKGBUILD2021-06-21 03:44:34 UTC (rev 966350)
@@ -3,7 +3,7 @@
 _hkgname=hspec-contrib
 pkgname=haskell-hspec-contrib
 pkgver=0.5.1
-pkgrel=133
+pkgrel=134
 pkgdesc="Contributed functionality for Hspec"
 url="https://hspec.github.io/;
 license=('MIT')


[arch-commits] Commit in haskell-ranged-sets/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:43:46
  Author: felixonmars
Revision: 966349

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ranged-sets/repos/community-staging-x86_64/
  haskell-ranged-sets/repos/community-staging-x86_64/PKGBUILD
(from rev 966348, haskell-ranged-sets/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-ranged-sets/repos/community-staging-x86_64/PKGBUILD (from rev 
966348, haskell-ranged-sets/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:43:46 UTC (rev 966349)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=Ranged-sets
+pkgname=haskell-ranged-sets
+pkgver=0.4.0
+pkgrel=122
+pkgdesc="Ranged sets for Haskell"
+url="https://code.haskell.org/ranged-sets;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-quickcheck')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9dc63ab9f31c6233b7f663c2674d8bd95bb9ea8ab6eb6ba04a634e9596e861c003b82f1c8d04e289e64b2edf4f2b64afca36e688727edd281eb7f571fb605f92')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+}


[arch-commits] Commit in haskell-ranged-sets/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:43:33
  Author: felixonmars
Revision: 966348

upgpkg: haskell-ranged-sets 0.4.0-122: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-ranged-sets/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:42:45 UTC (rev 966347)
+++ PKGBUILD2021-06-21 03:43:33 UTC (rev 966348)
@@ -3,7 +3,7 @@
 _hkgname=Ranged-sets
 pkgname=haskell-ranged-sets
 pkgver=0.4.0
-pkgrel=121
+pkgrel=122
 pkgdesc="Ranged sets for Haskell"
 url="https://code.haskell.org/ranged-sets;
 license=('BSD')


[arch-commits] Commit in haskell-hspec-smallcheck/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:42:45
  Author: felixonmars
Revision: 966347

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-smallcheck/repos/community-staging-x86_64/
  haskell-hspec-smallcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 966346, haskell-hspec-smallcheck/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-hspec-smallcheck/repos/community-staging-x86_64/PKGBUILD (from 
rev 966346, haskell-hspec-smallcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:42:45 UTC (rev 966347)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-smallcheck
+pkgname=haskell-hspec-smallcheck
+pkgver=0.5.2
+pkgrel=170
+pkgdesc="SmallCheck support for the Hspec testing framework"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-call-stack' 'haskell-hspec-core' 'haskell-hunit' 
'haskell-smallcheck')
+makedepends=('ghc' 'haskell-base-orphans' 'haskell-hspec' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2fd27126285e7d308f277480dcadcb6b047f67a82389edaf7d4761504f88ffedd8831db5b6b4f178c429cf3e8009e8aee8c6b05040dd960e7d2813e50908bd05')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-smallcheck/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:42:32
  Author: felixonmars
Revision: 966346

upgpkg: haskell-hspec-smallcheck 0.5.2-170: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-hspec-smallcheck/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:41:46 UTC (rev 966345)
+++ PKGBUILD2021-06-21 03:42:32 UTC (rev 966346)
@@ -3,7 +3,7 @@
 _hkgname=hspec-smallcheck
 pkgname=haskell-hspec-smallcheck
 pkgver=0.5.2
-pkgrel=169
+pkgrel=170
 pkgdesc="SmallCheck support for the Hspec testing framework"
 url="http://hspec.github.io/;
 license=('MIT')


[arch-commits] Commit in haskell-decimal/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:41:46
  Author: felixonmars
Revision: 966345

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-decimal/repos/community-staging-x86_64/
  haskell-decimal/repos/community-staging-x86_64/PKGBUILD
(from rev 966344, haskell-decimal/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-decimal/repos/community-staging-x86_64/PKGBUILD (from rev 
966344, haskell-decimal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:41:46 UTC (rev 966345)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Decimal
+pkgname=haskell-decimal
+pkgver=0.5.2
+pkgrel=20
+pkgdesc="Decimal numbers with variable precision"
+url="https://github.com/PaulJohnson/Haskell-Decimal;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'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=('59a3e9230719ec55ccad2ca54255a93edfcee405154f71f780ef729c03231b552bcd904efff2ff2c0559e23c7f65a4429af3917b43c6d4964dfe02b261eaefdc')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+}


[arch-commits] Commit in haskell-decimal/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:41:32
  Author: felixonmars
Revision: 966344

upgpkg: haskell-decimal 0.5.2-20: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-decimal/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:40:42 UTC (rev 966343)
+++ PKGBUILD2021-06-21 03:41:32 UTC (rev 966344)
@@ -4,7 +4,7 @@
 _hkgname=Decimal
 pkgname=haskell-decimal
 pkgver=0.5.2
-pkgrel=19
+pkgrel=20
 pkgdesc="Decimal numbers with variable precision"
 url="https://github.com/PaulJohnson/Haskell-Decimal;
 license=("BSD")


[arch-commits] Commit in haskell-raw-strings-qq/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:40:42
  Author: felixonmars
Revision: 966343

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-raw-strings-qq/repos/community-staging-x86_64/
  haskell-raw-strings-qq/repos/community-staging-x86_64/PKGBUILD
(from rev 966342, haskell-raw-strings-qq/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-raw-strings-qq/repos/community-staging-x86_64/PKGBUILD (from 
rev 966342, haskell-raw-strings-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:40:42 UTC (rev 966343)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=raw-strings-qq
+pkgname=haskell-raw-strings-qq
+pkgver=1.1
+pkgrel=117
+pkgdesc="Raw string literals for Haskell"
+url="https://github.com/23Skidoo/raw-strings-qq;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9daf7acad6619c9d077b49591003f2c42baca060b20202f597c7468da765a59add2b78b90d634bbf785e299fb85d39dba242d070e15ec208391059e64850acbc')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-raw-strings-qq/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:40:29
  Author: felixonmars
Revision: 966342

upgpkg: haskell-raw-strings-qq 1.1-117: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-raw-strings-qq/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:39:46 UTC (rev 966341)
+++ PKGBUILD2021-06-21 03:40:29 UTC (rev 966342)
@@ -3,7 +3,7 @@
 _hkgname=raw-strings-qq
 pkgname=haskell-raw-strings-qq
 pkgver=1.1
-pkgrel=116
+pkgrel=117
 pkgdesc="Raw string literals for Haskell"
 url="https://github.com/23Skidoo/raw-strings-qq;
 license=('BSD')


[arch-commits] Commit in bnfc/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:39:46
  Author: felixonmars
Revision: 966341

archrelease: copy trunk to community-staging-x86_64

Added:
  bnfc/repos/community-staging-x86_64/
  bnfc/repos/community-staging-x86_64/PKGBUILD
(from rev 966340, bnfc/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: bnfc/repos/community-staging-x86_64/PKGBUILD (from rev 966340, 
bnfc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:39:46 UTC (rev 966341)
@@ -0,0 +1,55 @@
+# This file was generated by arch-hs, please check it manually.
+# Maintainer: Your Name 
+
+_hkgname=BNFC
+pkgname=bnfc
+pkgver=2.9.2
+pkgrel=2
+pkgdesc="A compiler front-end generator."
+url="http://bnfc.digitalgrammars.com/;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-string-qq')
+optdepends=('ghc: for default haskell backend'
+'alex: for default haskell backend'
+'happy: for default haskell backend')
+makedepends=('ghc' 'alex' 'happy' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-cabal-doctest'
+ 'haskell-doctest' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('61e21143735f21b261acdf5180c95d3b2993908da377bca2a4b3931d235ce100adadf81d18ae5d436d0ec3e719589ef6b4bda55b55794fa62488b6b01d26b326')
+
+prepare() {
+  # Use -dynamic by default
+  sed -i 's/ghc --make/ghc -dynamic --make/g' 
$_hkgname-$pkgver/src/BNFC/Backend/Haskell.hs
+}
+
+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=-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 bnfc/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:39:33
  Author: felixonmars
Revision: 966340

upgpkg: bnfc 2.9.2-2: rebuild with ghc 9.0.1, ghc-lib-parser-ex 9.0.0.4, 
one-liner 2.0, retrie 1.0.0.0

Modified:
  bnfc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:39:18 UTC (rev 966339)
+++ PKGBUILD2021-06-21 03:39:33 UTC (rev 966340)
@@ -4,7 +4,7 @@
 _hkgname=BNFC
 pkgname=bnfc
 pkgver=2.9.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A compiler front-end generator."
 url="http://bnfc.digitalgrammars.com/;
 license=("GPL2")


[arch-commits] Commit in min/repos/community-x86_64 (8 files)

2021-06-20 Thread Nicola Squartini via arch-commits
Date: Monday, June 21, 2021 @ 03:39:18
  Author: tensor5
Revision: 966339

archrelease: copy trunk to community-x86_64

Added:
  min/repos/community-x86_64/PKGBUILD
(from rev 966338, min/trunk/PKGBUILD)
  min/repos/community-x86_64/icon.patch
(from rev 966338, min/trunk/icon.patch)
  min/repos/community-x86_64/min.desktop
(from rev 966338, min/trunk/min.desktop)
  min/repos/community-x86_64/min.js
(from rev 966338, min/trunk/min.js)
Deleted:
  min/repos/community-x86_64/PKGBUILD
  min/repos/community-x86_64/icon.patch
  min/repos/community-x86_64/min.desktop
  min/repos/community-x86_64/min.js

-+
 PKGBUILD|  176 +-
 icon.patch  |   22 +++
 min.desktop |   20 +++---
 min.js  |   58 +--
 4 files changed, 138 insertions(+), 138 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-21 03:38:38 UTC (rev 966338)
+++ PKGBUILD2021-06-21 03:39:18 UTC (rev 966339)
@@ -1,88 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=min
-pkgver=1.19.2
-_commit=654ef2cae66837e58047a3e31ffca0e9cc91c359
-pkgrel=2
-pkgdesc='A fast, minimal browser that protects your privacy'
-arch=('x86_64')
-url='https://minbrowser.org/'
-license=('Apache')
-depends=('electron12' 'libsecret')
-makedepends=('git' 'npm')
-options=(!emptydirs)
-source=("git+https://github.com/minbrowser/min.git#commit=${_commit};
-'min.desktop'
-'min.js'
-'icon.patch')
-sha256sums=('SKIP'
-'a069caac07638ca2bafde5f96a4db646ec7484741ff9b44788c2e159b5142650'
-'3a8f137eed9159b030a314e7df7ad6de8973c796d8769f12925345e03e232653'
-'131200c75cd6c21cf1572e46c582ae81d8dad4d2ce5aeb9dd9389f26f5a5613e')
-
-prepare() {
-cd ${pkgname}
-
-patch -Np1 -i "${srcdir}"/icon.patch
-}
-
-build() {
-cd ${pkgname}
-
-npm install
-npm run build
-rm -r node_modules
-
-npm install --production --no-optional
-}
-
-package() {
-cd ${pkgname}
-
-appdir=/usr/lib/${pkgname}
-
-install -dm755 "${pkgdir}"${appdir}
-cp -r * "${pkgdir}"${appdir}
-
-install -dm755 "${pkgdir}"/usr/share/icons/hicolor/256x256/apps
-mv icons/icon256.png \
-"${pkgdir}"/usr/share/icons/hicolor/256x256/apps/${pkgname}.png
-
-install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
-install -Dm644 "${srcdir}"/${pkgname}.desktop \
-"${pkgdir}"/usr/share/applications/${pkgname}.desktop
-
-# Clean up
-rm "${pkgdir}"${appdir}/dist/build.js
-rm -r "${pkgdir}"${appdir}/icons
-rm -r "${pkgdir}"${appdir}/localization
-rm -r "${pkgdir}"${appdir}/main
-rm -r "${pkgdir}"${appdir}/scripts
-find "${pkgdir}"${appdir} \
--name "package.json" \
--exec sed -e "s|${srcdir}/${pkgname}|${appdir}|" \
--i {} \; \
--or -name ".*" -prune -exec rm -r '{}' \; \
--or -name "*.Makefile" -exec rm '{}' \; \
--or -name "*.h" -exec rm '{}' \; \
--or -name "*.c" -exec rm '{}' \; \
--or -name "*.cc" -exec rm '{}' \; \
--or -name "*.gypi" -exec rm '{}' \; \
--or -name "*.mk" -exec rm '{}' \; \
--or -name "Gruntfile.js" -exec rm '{}' \; \
--or -name "Makefile" -exec rm '{}' \; \
--or -name "bin" -prune -exec rm -r '{}' \; \
--or -name "bin.js" -exec rm '{}' \; \
--or -name "bower.json" -exec rm '{}' \; \
--or -name "cli.js" -exec rm '{}' \; \
--or -name "cmd.js" -exec rm '{}' \; \
--or -name "coffee" -prune -exec rm -r '{}' \; \
--or -name "example" -prune -exec rm -r '{}' \; \
--or -name "examples" -prune -exec rm -r '{}' \; \
--or -name "gulpfile.js" -exec rm '{}' \; \
--or -name "man" -prune -exec rm -r '{}' \; \
--or -name "obj.target" -prune -exec rm -r '{}' \; \
--or -name "scripts" -prune -exec rm -r '{}' \; \
--or -name "test" -prune -exec rm -r '{}' \; \
--or -name "tests" -prune -exec rm -r '{}' \;
-}

Copied: min/repos/community-x86_64/PKGBUILD (from rev 966338, 
min/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-21 03:39:18 UTC (rev 966339)
@@ -0,0 +1,88 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=min
+pkgver=1.20.0
+_commit=e0eaf138ba0fd2a63162bad9642485d53c6118fa
+pkgrel=1
+pkgdesc='A fast, minimal browser that protects your privacy'
+arch=('x86_64')
+url='https://minbrowser.org/'
+license=('Apache')
+depends=('electron' 'libsecret')
+makedepends=('git' 'npm')
+options=(!emptydirs)
+source=("git+https://github.com/minbrowser/min.git#commit=${_commit};
+'min.desktop'
+'min.js'
+'icon.patch')
+sha256sums=('SKIP'
+'a069caac07638ca2bafde5f96a4db646ec7484741ff9b44788c2e159b5142650'
+

[arch-commits] Commit in min/trunk (PKGBUILD icon.patch min.js)

2021-06-20 Thread Nicola Squartini via arch-commits
Date: Monday, June 21, 2021 @ 03:38:38
  Author: tensor5
Revision: 966338

upgpkg: min 1.20.0-1

Modified:
  min/trunk/PKGBUILD
  min/trunk/icon.patch
  min/trunk/min.js

+
 PKGBUILD   |   12 ++--
 icon.patch |4 ++--
 min.js |2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:37:17 UTC (rev 966337)
+++ PKGBUILD2021-06-21 03:38:38 UTC (rev 966338)
@@ -1,14 +1,14 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=min
-pkgver=1.19.2
-_commit=654ef2cae66837e58047a3e31ffca0e9cc91c359
-pkgrel=2
+pkgver=1.20.0
+_commit=e0eaf138ba0fd2a63162bad9642485d53c6118fa
+pkgrel=1
 pkgdesc='A fast, minimal browser that protects your privacy'
 arch=('x86_64')
 url='https://minbrowser.org/'
 license=('Apache')
-depends=('electron12' 'libsecret')
+depends=('electron' 'libsecret')
 makedepends=('git' 'npm')
 options=(!emptydirs)
 source=("git+https://github.com/minbrowser/min.git#commit=${_commit};
@@ -17,8 +17,8 @@
 'icon.patch')
 sha256sums=('SKIP'
 'a069caac07638ca2bafde5f96a4db646ec7484741ff9b44788c2e159b5142650'
-'3a8f137eed9159b030a314e7df7ad6de8973c796d8769f12925345e03e232653'
-'131200c75cd6c21cf1572e46c582ae81d8dad4d2ce5aeb9dd9389f26f5a5613e')
+'c22324184b72b3fad5a0aadb4e18182414e0294c5596c26426adc204fd473258'
+'2067c03bd0a781d8a16000c5a0351b2315ce439531e8300265f9c95576d599c4')
 
 prepare() {
 cd ${pkgname}

Modified: icon.patch
===
--- icon.patch  2021-06-21 03:37:17 UTC (rev 966337)
+++ icon.patch  2021-06-21 03:38:38 UTC (rev 966338)
@@ -1,9 +1,9 @@
 --- a/main/main.js
 +++ b/main/main.js
-@@ -175,7 +175,7 @@
+@@ -180,7 +180,7 @@
  minHeight: 350,
  titleBarStyle: settings.get('useSeparateTitlebar') ? 'default' : 'hidden',
- trafficLightPosition: { x: 12, y: 19 },
+ trafficLightPosition: { x: 12, y: 10 },
 -icon: __dirname + '/icons/icon256.png',
 +icon: '/usr/share/icons/hicolor/256x256/apps/min.png',
  frame: settings.get('useSeparateTitlebar'),

Modified: min.js
===
--- min.js  2021-06-21 03:37:17 UTC (rev 966337)
+++ min.js  2021-06-21 03:38:38 UTC (rev 966338)
@@ -1,4 +1,4 @@
-#!/usr/bin/electron12
+#!/usr/bin/electron
 
 const name = 'min';
 


[arch-commits] Commit in haskell-string-qq/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:37:17
  Author: felixonmars
Revision: 966337

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-string-qq/repos/community-staging-x86_64/
  haskell-string-qq/repos/community-staging-x86_64/PKGBUILD
(from rev 966336, haskell-string-qq/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-string-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
966336, haskell-string-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:37:17 UTC (rev 966337)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=string-qq
+pkgname=haskell-string-qq
+pkgver=0.0.4
+pkgrel=104
+pkgdesc="QuasiQuoter for non-interpolated strings, texts and bytestrings."
+url="https://hackage.haskell.org/package/string-qq;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1e533afccc4e246da8fb0d76aaa63560c4b936490c002e466bcc0d08aabc0e66f393f935e0f5d93284fcd12a590e7fbe12e88175ac3599183f633eec04bf22b4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-string-qq/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:37:04
  Author: felixonmars
Revision: 966336

upgpkg: haskell-string-qq 0.0.4-104: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-string-qq/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:36:07 UTC (rev 966335)
+++ PKGBUILD2021-06-21 03:37:04 UTC (rev 966336)
@@ -4,7 +4,7 @@
 _hkgname=string-qq
 pkgname=haskell-string-qq
 pkgver=0.0.4
-pkgrel=103
+pkgrel=104
 pkgdesc="QuasiQuoter for non-interpolated strings, texts and bytestrings."
 url="https://hackage.haskell.org/package/string-qq;
 license=("custom:PublicDomain")


[arch-commits] Commit in haskell-xcffib/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:36:07
  Author: felixonmars
Revision: 966335

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-xcffib/repos/community-staging-x86_64/
  haskell-xcffib/repos/community-staging-x86_64/PKGBUILD
(from rev 966334, haskell-xcffib/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
966334, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:36:07 UTC (rev 966335)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.1
+pkgrel=65
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd70a762184b714fa53fd906ac192edcf990d8ff7674be1369eace38ee750da5eb6f4c5c2b7c6e5fab980f4bee96a7de4e2e38a27702cef28875a09bde8e5dd2')
+
+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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-xcffib/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:35:54
  Author: felixonmars
Revision: 966334

upgpkg: haskell-xcffib 0.11.1-65: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:35:51 UTC (rev 966333)
+++ PKGBUILD2021-06-21 03:35:54 UTC (rev 966334)
@@ -3,7 +3,7 @@
 _hkgname=xcffib
 pkgname=haskell-xcffib
 pkgver=0.11.1
-pkgrel=64
+pkgrel=65
 pkgdesc="A cffi-based python binding for X"
 url="https://github.com/tych0/xcffib;
 license=('Apache')


[arch-commits] Commit in perl-sub-exporter/repos/community-any (PKGBUILD PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:35:51
  Author: felixonmars
Revision: 966333

archrelease: copy trunk to community-any

Added:
  perl-sub-exporter/repos/community-any/PKGBUILD
(from rev 966332, perl-sub-exporter/trunk/PKGBUILD)
Deleted:
  perl-sub-exporter/repos/community-any/PKGBUILD

--+
 PKGBUILD |   86 ++---
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-21 03:35:37 UTC (rev 966332)
+++ PKGBUILD2021-06-21 03:35:51 UTC (rev 966333)
@@ -1,43 +0,0 @@
-# Maintainer: Jonathan Steel 
-# Contributor: Justin Davis 
-
-pkgname=perl-sub-exporter
-pkgver=0.987
-pkgrel=7
-pkgdesc="A sophisticated exporter for custom-built routines"
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install')
-url="https://metacpan.org/release/Sub-Exporter;
-source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz)
-md5sums=('5332d269a7ba387773fcd140b72a0ed2')
-
-build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
-  PERL_AUTOINSTALL="--skipdeps"\
-  PERL_MM_OPT="INSTALLDIRS=vendor" \
-  PERL_MB_OPT="--installdirs vendor"   \
-  MODULEBUILDRC=/dev/null
-
-cd "$srcdir"/Sub-Exporter-$pkgver
-
-/usr/bin/perl Makefile.PL
-make
-  )
-}
-
-check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-
-cd "$srcdir"/Sub-Exporter-$pkgver
-
-make test
-  )
-}
-
-package() {
-  cd "$srcdir"/Sub-Exporter-$pkgver
-
-  make DESTDIR="$pkgdir"/ install
-}

Copied: perl-sub-exporter/repos/community-any/PKGBUILD (from rev 966332, 
perl-sub-exporter/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-06-21 03:35:51 UTC (rev 966333)
@@ -0,0 +1,43 @@
+# Maintainer: Jonathan Steel 
+# Contributor: Justin Davis 
+
+pkgname=perl-sub-exporter
+pkgver=0.988
+pkgrel=1
+pkgdesc="A sophisticated exporter for custom-built routines"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install')
+url="https://metacpan.org/release/Sub-Exporter;
+source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz)
+sha512sums=('e992739097eca3aab0465e33ca60d91e4b08ee40d7cd041be4452873790e438bb1fb293331f919ae1e9b879fc063d17586218a9e97838cf61216172d6bdba273')
+
+build() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+  PERL_AUTOINSTALL="--skipdeps"\
+  PERL_MM_OPT="INSTALLDIRS=vendor" \
+  PERL_MB_OPT="--installdirs vendor"   \
+  MODULEBUILDRC=/dev/null
+
+cd "$srcdir"/Sub-Exporter-$pkgver
+
+/usr/bin/perl Makefile.PL
+make
+  )
+}
+
+check() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+
+cd "$srcdir"/Sub-Exporter-$pkgver
+
+make test
+  )
+}
+
+package() {
+  cd "$srcdir"/Sub-Exporter-$pkgver
+
+  make DESTDIR="$pkgdir"/ install
+}


[arch-commits] Commit in perl-sub-exporter/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:35:37
  Author: felixonmars
Revision: 966332

upgpkg: perl-sub-exporter 0.988-1

Modified:
  perl-sub-exporter/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:35:02 UTC (rev 966331)
+++ PKGBUILD2021-06-21 03:35:37 UTC (rev 966332)
@@ -2,8 +2,8 @@
 # Contributor: Justin Davis 
 
 pkgname=perl-sub-exporter
-pkgver=0.987
-pkgrel=7
+pkgver=0.988
+pkgrel=1
 pkgdesc="A sophisticated exporter for custom-built routines"
 arch=('any')
 license=('PerlArtistic' 'GPL')
@@ -11,7 +11,7 @@
 depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install')
 url="https://metacpan.org/release/Sub-Exporter;
 
source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz)
-md5sums=('5332d269a7ba387773fcd140b72a0ed2')
+sha512sums=('e992739097eca3aab0465e33ca60d91e4b08ee40d7cd041be4452873790e438bb1fb293331f919ae1e9b879fc063d17586218a9e97838cf61216172d6bdba273')
 
 build() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \


[arch-commits] Commit in xmonad-contrib/repos (3 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:35:02
  Author: felixonmars
Revision: 966331

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad-contrib/repos/community-staging-x86_64/
  xmonad-contrib/repos/community-staging-x86_64/PKGBUILD
(from rev 966330, xmonad-contrib/trunk/PKGBUILD)
  xmonad-contrib/repos/community-staging-x86_64/ghc9.patch
(from rev 966330, xmonad-contrib/trunk/ghc9.patch)

+
 PKGBUILD   |   45 +
 ghc9.patch |   37 +
 2 files changed, 82 insertions(+)

Copied: xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 
966330, xmonad-contrib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:35:02 UTC (rev 966331)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributor: Sergej Pupykin 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: orbisvicis 
+
+pkgname=xmonad-contrib
+pkgver=0.16
+pkgrel=115
+pkgdesc='Add-ons for xmonad'
+url='https://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc-libs' 'xmonad' 'sh' 'haskell-x11' 'haskell-x11-xft' 
'haskell-utf8-string' 'haskell-random'
+ 'haskell-old-time')
+makedepends=('ghc' 'uusi')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz
+ghc9.patch)
+sha512sums=('68f93ef6bcc1f2b3f5422c35a9ddcf846c75c1e9d8e6177750f4fad8dec818642e0a7159d295a381f0656c85b1f52382af1e32d577a825c4fcbdfa4c131581cc'
+
'aced6dbfa91edbbb46e6cf29593a12e73df0cd89ad66de5ab646c8e6b9a49b54c93478c3e589377a106b3bc6c5d68246aecd2d662870b33421f2c0ee70995c6c')
+
+prepare() {
+  uusi -d semigroups -u X11 ${pkgname}-${pkgver}/${pkgname}.cabal
+  patch -d ${pkgname}-${pkgver} -p1 < ghc9.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  runhaskell Setup.lhs configure -O --enable-shared 
--enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr -fuse_xft --libsubdir=\$compiler/site-local/\$pkgid 
\
+ --docdir=/usr/share/doc/${pkgname}
+  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 ${pkgname}-${pkgver}
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Copied: xmonad-contrib/repos/community-staging-x86_64/ghc9.patch (from rev 
966330, xmonad-contrib/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-06-21 03:35:02 UTC (rev 966331)
@@ -0,0 +1,37 @@
+From 1033818631a5007aa53a8bba56c5b7bd7c25af3a Mon Sep 17 00:00:00 2001
+From: Sergey Alirzaev 
+Date: Fri, 26 Mar 2021 05:19:31 +0300
+Subject: [PATCH] ghc-9.0.1 compatibility fixes
+
+---
+ CHANGES.md   | 2 ++
+ XMonad/Actions/GridSelect.hs | 2 +-
+ XMonad/Layout/NoBorders.hs   | 2 +-
+ 3 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/XMonad/Actions/GridSelect.hs b/XMonad/Actions/GridSelect.hs
+index 69bb4f1b2..a0c46b880 100644
+--- a/XMonad/Actions/GridSelect.hs
 b/XMonad/Actions/GridSelect.hs
+@@ -388,7 +388,7 @@ updateElementsWithColorizer colorizer elementmap = do
+ stdHandle :: Event -> TwoD a (Maybe a) -> TwoD a (Maybe a)
+ stdHandle (ButtonEvent { ev_event_type = t, ev_x = x, ev_y = y }) 
contEventloop
+ | t == buttonRelease = do
+-s @  TwoDState { td_paneX = px, td_paneY = py,
++s@TwoDState { td_paneX = px, td_paneY = py,
+  td_gsconfig = (GSConfig ch cw _ _ _ _ _ _ _ _) } <- 
get
+ let gridX = (fi x - (px - cw) `div` 2) `div` cw
+ gridY = (fi y - (py - ch) `div` 2) `div` ch
+diff --git a/XMonad/Layout/NoBorders.hs b/XMonad/Layout/NoBorders.hs
+index 0c340e6b2..e08570cef 100644
+--- a/XMonad/Layout/NoBorders.hs
 b/XMonad/Layout/NoBorders.hs
+@@ -38,7 +38,7 @@ import   XMonad.Layout.LayoutModifier
+ import qualified XMonad.StackSetas W
+ import qualified XMonad.Util.Rectangle  as R
+ 
+-import   Data.List
++import   Data.List  hiding (singleton)
+ import   Data.Monoid
+ import qualified Data.Map   as M
+ import   Data.Function  (on)


[arch-commits] Commit in haskell-language-python/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:34:48
  Author: felixonmars
Revision: 966330

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-python/repos/community-staging-x86_64/
  haskell-language-python/repos/community-staging-x86_64/PKGBUILD
(from rev 966328, haskell-language-python/trunk/PKGBUILD)

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Copied: haskell-language-python/repos/community-staging-x86_64/PKGBUILD (from 
rev 966328, haskell-language-python/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:34:48 UTC (rev 966330)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-python
+pkgname=haskell-language-python
+pkgver=0.5.8
+pkgrel=48
+pkgdesc="Parsing and pretty printing of Python code."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monads-tf' 'haskell-utf8-string')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fa2d9c1a20460e38dcc370be60157090e7279386a4ebc0f4c4bac56fb3a8f65541c41fa789d2df31e385eeea3c05e2f84c44f77917379194eb4e29372ab4c20d')
+
+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 \
+-fsplit-base
+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 xmonad-contrib/trunk (PKGBUILD ghc9.patch)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:34:46
  Author: felixonmars
Revision: 966329

upgpkg: xmonad-contrib 0.16-115: rebuild with ghc 9.0.1

Added:
  xmonad-contrib/trunk/ghc9.patch
Modified:
  xmonad-contrib/trunk/PKGBUILD

+
 PKGBUILD   |9 ++---
 ghc9.patch |   37 +
 2 files changed, 43 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:34:34 UTC (rev 966328)
+++ PKGBUILD2021-06-21 03:34:46 UTC (rev 966329)
@@ -6,7 +6,7 @@
 
 pkgname=xmonad-contrib
 pkgver=0.16
-pkgrel=114
+pkgrel=115
 pkgdesc='Add-ons for xmonad'
 url='https://xmonad.org/'
 arch=('x86_64')
@@ -14,11 +14,14 @@
 depends=('ghc-libs' 'xmonad' 'sh' 'haskell-x11' 'haskell-x11-xft' 
'haskell-utf8-string' 'haskell-random'
  'haskell-old-time')
 makedepends=('ghc' 'uusi')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz)
-sha512sums=('68f93ef6bcc1f2b3f5422c35a9ddcf846c75c1e9d8e6177750f4fad8dec818642e0a7159d295a381f0656c85b1f52382af1e32d577a825c4fcbdfa4c131581cc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz
+ghc9.patch)
+sha512sums=('68f93ef6bcc1f2b3f5422c35a9ddcf846c75c1e9d8e6177750f4fad8dec818642e0a7159d295a381f0656c85b1f52382af1e32d577a825c4fcbdfa4c131581cc'
+
'aced6dbfa91edbbb46e6cf29593a12e73df0cd89ad66de5ab646c8e6b9a49b54c93478c3e589377a106b3bc6c5d68246aecd2d662870b33421f2c0ee70995c6c')
 
 prepare() {
   uusi -d semigroups -u X11 ${pkgname}-${pkgver}/${pkgname}.cabal
+  patch -d ${pkgname}-${pkgver} -p1 < ghc9.patch
 }
 
 build() {

Added: ghc9.patch
===
--- ghc9.patch  (rev 0)
+++ ghc9.patch  2021-06-21 03:34:46 UTC (rev 966329)
@@ -0,0 +1,37 @@
+From 1033818631a5007aa53a8bba56c5b7bd7c25af3a Mon Sep 17 00:00:00 2001
+From: Sergey Alirzaev 
+Date: Fri, 26 Mar 2021 05:19:31 +0300
+Subject: [PATCH] ghc-9.0.1 compatibility fixes
+
+---
+ CHANGES.md   | 2 ++
+ XMonad/Actions/GridSelect.hs | 2 +-
+ XMonad/Layout/NoBorders.hs   | 2 +-
+ 3 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/XMonad/Actions/GridSelect.hs b/XMonad/Actions/GridSelect.hs
+index 69bb4f1b2..a0c46b880 100644
+--- a/XMonad/Actions/GridSelect.hs
 b/XMonad/Actions/GridSelect.hs
+@@ -388,7 +388,7 @@ updateElementsWithColorizer colorizer elementmap = do
+ stdHandle :: Event -> TwoD a (Maybe a) -> TwoD a (Maybe a)
+ stdHandle (ButtonEvent { ev_event_type = t, ev_x = x, ev_y = y }) 
contEventloop
+ | t == buttonRelease = do
+-s @  TwoDState { td_paneX = px, td_paneY = py,
++s@TwoDState { td_paneX = px, td_paneY = py,
+  td_gsconfig = (GSConfig ch cw _ _ _ _ _ _ _ _) } <- 
get
+ let gridX = (fi x - (px - cw) `div` 2) `div` cw
+ gridY = (fi y - (py - ch) `div` 2) `div` ch
+diff --git a/XMonad/Layout/NoBorders.hs b/XMonad/Layout/NoBorders.hs
+index 0c340e6b2..e08570cef 100644
+--- a/XMonad/Layout/NoBorders.hs
 b/XMonad/Layout/NoBorders.hs
+@@ -38,7 +38,7 @@ import   XMonad.Layout.LayoutModifier
+ import qualified XMonad.StackSetas W
+ import qualified XMonad.Util.Rectangle  as R
+ 
+-import   Data.List
++import   Data.List  hiding (singleton)
+ import   Data.Monoid
+ import qualified Data.Map   as M
+ import   Data.Function  (on)


[arch-commits] Commit in haskell-language-python/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:34:34
  Author: felixonmars
Revision: 966328

upgpkg: haskell-language-python 0.5.8-48: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-language-python/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:31:56 UTC (rev 966327)
+++ PKGBUILD2021-06-21 03:34:34 UTC (rev 966328)
@@ -4,7 +4,7 @@
 _hkgname=language-python
 pkgname=haskell-language-python
 pkgver=0.5.8
-pkgrel=47
+pkgrel=48
 pkgdesc="Parsing and pretty printing of Python code."
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


[arch-commits] Commit in haskell-http-media/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:31:56
  Author: felixonmars
Revision: 966327

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 966326, haskell-http-media/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-http-media/repos/community-staging-x86_64/PKGBUILD (from rev 
966326, haskell-http-media/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:31:56 UTC (rev 966327)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-media
+pkgname=haskell-http-media
+pkgver=0.8.0.0
+pkgrel=98
+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
+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)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:31:42
  Author: felixonmars
Revision: 966326

upgpkg: haskell-http-media 0.8.0.0-98: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-http-media/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:28:10 UTC (rev 966325)
+++ PKGBUILD2021-06-21 03:31:42 UTC (rev 966326)
@@ -4,7 +4,7 @@
 _hkgname=http-media
 pkgname=haskell-http-media
 pkgver=0.8.0.0
-pkgrel=97
+pkgrel=98
 pkgdesc="Processing HTTP Content-Type and Accept headers"
 url="https://github.com/zmthy/http-media;
 license=("MIT")


[arch-commits] Commit in haskell-x11-xft/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:28:10
  Author: felixonmars
Revision: 966325

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-x11-xft/repos/community-staging-x86_64/
  haskell-x11-xft/repos/community-staging-x86_64/PKGBUILD
(from rev 966324, haskell-x11-xft/trunk/PKGBUILD)

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: haskell-x11-xft/repos/community-staging-x86_64/PKGBUILD (from rev 
966324, haskell-x11-xft/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:28:10 UTC (rev 966325)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=X11-xft
+pkgname=haskell-x11-xft
+pkgver=0.3.1
+pkgrel=167
+pkgdesc="Bindings to the Xft, X Free Type interface library, and some Xrender 
parts"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('LGPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-x11' 'haskell-utf8-string' 'libxft')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/X11-xft/$pkgver/X11-xft-$pkgver.tar.gz)
+sha512sums=('8f40db25453227ef9ce53b05a0c6af869e3a2efdb1d9b9ad683baf52601f320c85b09f0e514bb6ffeb17516d9b75c6772aa49613bb96272d56f06788118b7cfe')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-x11-xft/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:27:56
  Author: felixonmars
Revision: 966324

upgpkg: haskell-x11-xft 0.3.1-167: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-x11-xft/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:27:11 UTC (rev 966323)
+++ PKGBUILD2021-06-21 03:27:56 UTC (rev 966324)
@@ -3,7 +3,7 @@
 _hkgname=X11-xft
 pkgname=haskell-x11-xft
 pkgver=0.3.1
-pkgrel=166
+pkgrel=167
 pkgdesc="Bindings to the Xft, X Free Type interface library, and some Xrender 
parts"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('LGPL')


[arch-commits] Commit in misfortune/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:27:11
  Author: felixonmars
Revision: 966323

archrelease: copy trunk to community-staging-x86_64

Added:
  misfortune/repos/community-staging-x86_64/
  misfortune/repos/community-staging-x86_64/PKGBUILD
(from rev 966322, misfortune/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: misfortune/repos/community-staging-x86_64/PKGBUILD (from rev 966322, 
misfortune/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:27:11 UTC (rev 966323)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=misfortune
+pkgver=0.1.1.2
+pkgrel=75
+pkgdesc="fortune-mod clone"
+url="https://github.com/mokus0/misfortune;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-knob' 'haskell-monad-loops' 
'haskell-random-fu'
+ 'haskell-regex-base' 'haskell-regex-pcre' 'haskell-utf8-string'
+ 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('ae4b44215f811e7af6af756c813b9bd6e4161be555f30dd817324f8d1ffe2349')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/semigroups/d' $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=-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 $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"
+}


[arch-commits] Commit in misfortune/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:26:58
  Author: felixonmars
Revision: 966322

upgpkg: misfortune 0.1.1.2-75: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  misfortune/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:25:46 UTC (rev 966321)
+++ PKGBUILD2021-06-21 03:26:58 UTC (rev 966322)
@@ -2,7 +2,7 @@
 
 pkgname=misfortune
 pkgver=0.1.1.2
-pkgrel=74
+pkgrel=75
 pkgdesc="fortune-mod clone"
 url="https://github.com/mokus0/misfortune;
 license=("custom:PublicDomain")


[arch-commits] Commit in xmonad/repos (4 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:25:46
  Author: felixonmars
Revision: 966321

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad/repos/community-staging-x86_64/
  xmonad/repos/community-staging-x86_64/PKGBUILD
(from rev 966320, xmonad/trunk/PKGBUILD)
  xmonad/repos/community-staging-x86_64/dynamic-compilation.patch
(from rev 966320, xmonad/trunk/dynamic-compilation.patch)
  xmonad/repos/community-staging-x86_64/xmonad.svg
(from rev 966320, xmonad/trunk/xmonad.svg)

---+
 PKGBUILD  |   73 +
 dynamic-compilation.patch |   11 ++
 xmonad.svg|   77 
 3 files changed, 161 insertions(+)

Copied: xmonad/repos/community-staging-x86_64/PKGBUILD (from rev 966320, 
xmonad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:25:46 UTC (rev 966321)
@@ -0,0 +1,73 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributor: Sergej Pupykin 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: shild 
+
+pkgname=xmonad
+pkgver=0.15
+pkgrel=135
+pkgdesc='Lightweight X11 tiled window manager written in Haskell'
+url='https://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc' 'haskell-x11' 'sh' 'haskell-utf8-string' 
'haskell-extensible-exceptions'
+ 'haskell-data-default' 'haskell-setlocale')
+makedepends=('gendesk' 'uusi')
+optdepends=('xorg-xmessage: for displaying visual error messages')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad/archive/v${pkgver}.tar.gz
+
$pkgname-ghc9.patch::https://github.com/xmonad/xmonad/commit/2a1a18023a15d13247148638edf29ca6bf9c3bce.patch
+dynamic-compilation.patch
+xmonad.svg)
+sha512sums=('07bf61a1355548679d264e62423dfe6c4ee886aff28ac748588aa7f4f9a4f1bf2afabb1104451fa56f5a3989d79b6044f479d2804e416940e02f52f18b443996'
+
'9b4d20ec1bc24770981ff4848734074d75ffe474d641fa3f3e17e6507bce2aaa0684638a1778cbeea0b209d9cd06793abc8f62fbc0dad0e196f866390bb878b3'
+
'abc598ebc4b55917186cd4d549fc970f53905f820d394ada9a092c08d8833050ad18b23e2f4fd7f281487da2db5b0ca058600e995ac97b18d3be4c62071562d6'
+
'31f0ceb724a9931aeda75ab706c8908b5d8341af4df50ab1d749814baacb748ad3622601cd99ac03bf936b698fcd854b23d1541e1772306e3337a13a79b110b6')
+
+prepare() {
+  gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/dynamic-compilation.patch"
+  patch -p1 -i "${srcdir}/$pkgname-ghc9.patch"
+  uusi -u X11 ${pkgname}.cabal
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  runhaskell Setup configure -O \
+--enable-shared \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--prefix=/usr \
+--dynlibdir=/usr/lib \
+--docdir="/usr/share/doc/${pkgname}" \
+--datasubdir="${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+--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 ${pkgname}-${pkgver}
+
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+
+  # Requires pandoc, regex-posix, Pretty and cabal
+  #runhaskell util/GenerateManpage.hs
+
+  install -Dm 644 man/xmonad.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/xmonad"
+  install -Dm 644 "$srcdir/xmonad.svg" -t "${pkgdir}/usr/share/pixmaps"
+  install -Dm 644 "$srcdir/xmonad.desktop" -t "${pkgdir}/usr/share/xsessions"
+}
+
+# vim: ts=2 sw=2 et:

Copied: xmonad/repos/community-staging-x86_64/dynamic-compilation.patch (from 
rev 966320, xmonad/trunk/dynamic-compilation.patch)
===
--- community-staging-x86_64/dynamic-compilation.patch  
(rev 0)
+++ community-staging-x86_64/dynamic-compilation.patch  2021-06-21 03:25:46 UTC 
(rev 966321)
@@ -0,0 +1,11 @@
+diff -ura xmonad-0.13.orig/src/XMonad/Core.hs xmonad-0.13/src/XMonad/Core.hs
+--- xmonad-0.13.orig/src/XMonad/Core.hs2017-06-23 17:13:06.154600231 
+0300
 xmonad-0.13/src/XMonad/Core.hs 2017-06-23 17:13:51.021867441 +0300
+@@ -626,6 +626,7 @@
+   , "-ilib"
+   , "-fforce-recomp"
+   , "-main-is", "main"
++  , "-dynamic"
+   , "-v0"
+ 

[arch-commits] Commit in xmonad/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:25:27
  Author: felixonmars
Revision: 966320

upgpkg: xmonad 0.15-135: rebuild with ghc 9.0.1

Modified:
  xmonad/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 03:18:11 UTC (rev 966319)
+++ PKGBUILD2021-06-21 03:25:27 UTC (rev 966320)
@@ -6,7 +6,7 @@
 
 pkgname=xmonad
 pkgver=0.15
-pkgrel=134
+pkgrel=135
 pkgdesc='Lightweight X11 tiled window manager written in Haskell'
 url='https://xmonad.org/'
 arch=('x86_64')
@@ -16,9 +16,11 @@
 makedepends=('gendesk' 'uusi')
 optdepends=('xorg-xmessage: for displaying visual error messages')
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad/archive/v${pkgver}.tar.gz
+
$pkgname-ghc9.patch::https://github.com/xmonad/xmonad/commit/2a1a18023a15d13247148638edf29ca6bf9c3bce.patch
 dynamic-compilation.patch
 xmonad.svg)
 
sha512sums=('07bf61a1355548679d264e62423dfe6c4ee886aff28ac748588aa7f4f9a4f1bf2afabb1104451fa56f5a3989d79b6044f479d2804e416940e02f52f18b443996'
+
'9b4d20ec1bc24770981ff4848734074d75ffe474d641fa3f3e17e6507bce2aaa0684638a1778cbeea0b209d9cd06793abc8f62fbc0dad0e196f866390bb878b3'
 
'abc598ebc4b55917186cd4d549fc970f53905f820d394ada9a092c08d8833050ad18b23e2f4fd7f281487da2db5b0ca058600e995ac97b18d3be4c62071562d6'
 
'31f0ceb724a9931aeda75ab706c8908b5d8341af4df50ab1d749814baacb748ad3622601cd99ac03bf936b698fcd854b23d1541e1772306e3337a13a79b110b6')
 
@@ -26,6 +28,7 @@
   gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
   cd ${pkgname}-${pkgver}
   patch -p1 -i "${srcdir}/dynamic-compilation.patch"
+  patch -p1 -i "${srcdir}/$pkgname-ghc9.patch"
   uusi -u X11 ${pkgname}.cabal
 }
 


[arch-commits] Commit in haskell-regex-compat-tdfa/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:18:11
  Author: felixonmars
Revision: 966319

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-regex-compat-tdfa/repos/community-staging-x86_64/
  haskell-regex-compat-tdfa/repos/community-staging-x86_64/PKGBUILD
(from rev 966318, haskell-regex-compat-tdfa/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-regex-compat-tdfa/repos/community-staging-x86_64/PKGBUILD (from 
rev 966318, haskell-regex-compat-tdfa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 03:18:11 UTC (rev 966319)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=regex-compat-tdfa
+pkgname=haskell-regex-compat-tdfa
+pkgver=0.95.1.4
+pkgrel=38
+pkgdesc="One module layer over regex-tdfa to replace Text.Regex."
+url="https://hub.darcs.net/shelarcy/regex-compat-tdfa;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-regex-base' 'haskell-regex-tdfa')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7e387a7713ff8e43cfce4262b1288b85f8b60729162a842186bf6a7e1078dfb9e26013087ff7e9bcf81521f8c352926873bb280b9df57b016aef2ca4ce70aa14')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/!0/! 0/' Text/Regex.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-regex-compat-tdfa/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 03:17:58
  Author: felixonmars
Revision: 966318

upgpkg: haskell-regex-compat-tdfa 0.95.1.4-38: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-regex-compat-tdfa/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:45:41 UTC (rev 966317)
+++ PKGBUILD2021-06-21 03:17:58 UTC (rev 966318)
@@ -4,7 +4,7 @@
 _hkgname=regex-compat-tdfa
 pkgname=haskell-regex-compat-tdfa
 pkgver=0.95.1.4
-pkgrel=37
+pkgrel=38
 pkgdesc="One module layer over regex-tdfa to replace Text.Regex."
 url="https://hub.darcs.net/shelarcy/regex-compat-tdfa;
 license=("BSD")
@@ -14,6 +14,11 @@
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 
sha512sums=('7e387a7713ff8e43cfce4262b1288b85f8b60729162a842186bf6a7e1078dfb9e26013087ff7e9bcf81521f8c352926873bb280b9df57b016aef2ca4ce70aa14')
 
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/!0/! 0/' Text/Regex.hs
+}
+
 build() {
 cd $_hkgname-$pkgver
 


[arch-commits] Commit in haskell-tasty-silver/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:45:41
  Author: felixonmars
Revision: 966317

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-silver/repos/community-staging-x86_64/
  haskell-tasty-silver/repos/community-staging-x86_64/PKGBUILD
(from rev 966316, haskell-tasty-silver/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-tasty-silver/repos/community-staging-x86_64/PKGBUILD (from rev 
966316, haskell-tasty-silver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:45:41 UTC (rev 966317)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-silver
+pkgname=haskell-tasty-silver
+pkgver=3.2.1
+pkgrel=22
+pkgdesc="A fancy test runner, including support for golden tests"
+url="https://github.com/phile314/tasty-silver;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-optparse-applicative'
+ 'haskell-process-extras' 'haskell-regex-tdfa' 'haskell-tagged' 
'haskell-tasty'
+ 'haskell-temporary')
+makedepends=('ghc' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('235edbc01ecd662df66e8816f9510d37eea5e631e2ae77d54611f85ba57ae4fe9c588264c74061a77f29f82c4e99d27e702569f0a57949622f794a61f50abfb4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-silver/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:45:27
  Author: felixonmars
Revision: 966316

upgpkg: haskell-tasty-silver 3.2.1-22: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-tasty-silver/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:44:35 UTC (rev 966315)
+++ PKGBUILD2021-06-21 02:45:27 UTC (rev 966316)
@@ -3,7 +3,7 @@
 _hkgname=tasty-silver
 pkgname=haskell-tasty-silver
 pkgver=3.2.1
-pkgrel=21
+pkgrel=22
 pkgdesc="A fancy test runner, including support for golden tests"
 url="https://github.com/phile314/tasty-silver;
 license=("MIT")


[arch-commits] Commit in haskell-unixutils/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:44:35
  Author: felixonmars
Revision: 966315

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unixutils/repos/community-staging-x86_64/
  haskell-unixutils/repos/community-staging-x86_64/PKGBUILD
(from rev 966314, haskell-unixutils/trunk/PKGBUILD)

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Copied: haskell-unixutils/repos/community-staging-x86_64/PKGBUILD (from rev 
966314, haskell-unixutils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:44:35 UTC (rev 966315)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=Unixutils
+pkgname=haskell-unixutils
+pkgver=1.54.1
+pkgrel=228
+pkgdesc="A crude interface between Haskell and Unix-like operating systems"
+url="https://github.com/seereason/haskell-unixutils;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-process-extras' 'haskell-puremd5'
+ 'haskell-regex-tdfa' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8395cf6778c18a2f36a45a927d24042fd144ab70c6c092e1be36b22c59bbd1f0151cbe703d9db98dc769eba41ca9eb89cf60e87f5a6bbb32d6b64ef97c45665')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}


[arch-commits] Commit in haskell-unixutils/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:44:21
  Author: felixonmars
Revision: 966314

upgpkg: haskell-unixutils 1.54.1-228: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-unixutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:43:25 UTC (rev 966313)
+++ PKGBUILD2021-06-21 02:44:21 UTC (rev 966314)
@@ -3,7 +3,7 @@
 _hkgname=Unixutils
 pkgname=haskell-unixutils
 pkgver=1.54.1
-pkgrel=227
+pkgrel=228
 pkgdesc="A crude interface between Haskell and Unix-like operating systems"
 url="https://github.com/seereason/haskell-unixutils;
 license=('BSD')


[arch-commits] Commit in haskell-regex-tdfa/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:43:25
  Author: felixonmars
Revision: 966313

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-regex-tdfa/repos/community-staging-x86_64/
  haskell-regex-tdfa/repos/community-staging-x86_64/PKGBUILD
(from rev 966312, haskell-regex-tdfa/trunk/PKGBUILD)

--+
 PKGBUILD |   48 
 1 file changed, 48 insertions(+)

Copied: haskell-regex-tdfa/repos/community-staging-x86_64/PKGBUILD (from rev 
966312, haskell-regex-tdfa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:43:25 UTC (rev 966313)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=regex-tdfa
+pkgname=haskell-regex-tdfa
+pkgver=1.3.1.1
+pkgrel=4
+pkgdesc="Pure Haskell Tagged DFA Backend for Text.Regex (regex-base)"
+url="https://wiki.haskell.org/Regular_expressions;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-regex-base')
+makedepends=('ghc' 'uusi' 'haskell-utf8-string')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d90461dd142602ee392e8861d6a44a15b59ffae9ed9aae150aa0f27245f04839da46ed3c8cb87e11f8c35ff017b0a596e2874b6a1ec653452a2fab3ee1f83b4e')
+
+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
+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-regex-tdfa/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:43:09
  Author: felixonmars
Revision: 966312

upgpkg: haskell-regex-tdfa 1.3.1.1-4: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-regex-tdfa/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:41:46 UTC (rev 966311)
+++ PKGBUILD2021-06-21 02:43:09 UTC (rev 966312)
@@ -4,7 +4,7 @@
 _hkgname=regex-tdfa
 pkgname=haskell-regex-tdfa
 pkgver=1.3.1.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Pure Haskell Tagged DFA Backend for Text.Regex (regex-base)"
 url="https://wiki.haskell.org/Regular_expressions;
 license=("BSD")


[arch-commits] Commit in hasktags/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:41:46
  Author: felixonmars
Revision: 966311

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 966310, hasktags/trunk/PKGBUILD)

--+
 PKGBUILD |   49 +
 1 file changed, 49 insertions(+)

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 966310, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:41:46 UTC (rev 966311)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=172
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $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 \
+-f-debug --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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in hasktags/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:41:33
  Author: felixonmars
Revision: 966310

upgpkg: hasktags 0.71.2-172: rebuild with ghc 9.0.1, ghc-lib-parser-ex 9.0.0.4, 
one-liner 2.0, retrie 1.0.0.0

Modified:
  hasktags/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:40:26 UTC (rev 966309)
+++ PKGBUILD2021-06-21 02:41:33 UTC (rev 966310)
@@ -3,7 +3,7 @@
 
 pkgname=hasktags
 pkgver=0.71.2
-pkgrel=171
+pkgrel=172
 pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
 url="https://github.com/MarcWeber/hasktags;
 license=("BSD")


[arch-commits] Commit in haskell-process-extras/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:40:26
  Author: felixonmars
Revision: 966309

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-process-extras/repos/community-staging-x86_64/
  haskell-process-extras/repos/community-staging-x86_64/PKGBUILD
(from rev 966308, haskell-process-extras/trunk/PKGBUILD)

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Copied: haskell-process-extras/repos/community-staging-x86_64/PKGBUILD (from 
rev 966308, haskell-process-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:40:26 UTC (rev 966309)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=process-extras
+pkgname=haskell-process-extras
+pkgver=0.7.4
+pkgrel=190
+pkgdesc="Process extras"
+url="https://github.com/seereason/process-extras;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-generic-deriving' 
'haskell-listlike'
+)
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4747b4bd920796b7b4ddf32d0e72a3af556c9db66c828b725ac7a7467442dad2b0dc85aa66e03d7a8c5afdb02658611e64d390b6c71219b380a986e245495536')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-process-extras/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:40:09
  Author: felixonmars
Revision: 966308

upgpkg: haskell-process-extras 0.7.4-190: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-process-extras/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:39:02 UTC (rev 966307)
+++ PKGBUILD2021-06-21 02:40:09 UTC (rev 966308)
@@ -4,7 +4,7 @@
 _hkgname=process-extras
 pkgname=haskell-process-extras
 pkgver=0.7.4
-pkgrel=189
+pkgrel=190
 pkgdesc="Process extras"
 url="https://github.com/seereason/process-extras;
 license=('MIT')


[arch-commits] Commit in haskell-listlike/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:39:02
  Author: felixonmars
Revision: 966307

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 966306, haskell-listlike/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-listlike/repos/community-staging-x86_64/PKGBUILD (from rev 
966306, haskell-listlike/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:39:02 UTC (rev 966307)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ListLike
+pkgname=haskell-listlike
+pkgver=4.7.4
+pkgrel=41
+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=('5cefcb70faed3fc87908470bd279f7e63a06694172f8ee3b9cb7d9a1668822c968394ca5a5e1646cd2afb5feee8897e63a7842633446d8eb312dc1136a2a1d54')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}


[arch-commits] Commit in haskell-listlike/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:38:48
  Author: felixonmars
Revision: 966306

upgpkg: haskell-listlike 4.7.4-41: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-listlike/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:36:50 UTC (rev 966305)
+++ PKGBUILD2021-06-21 02:38:48 UTC (rev 966306)
@@ -3,7 +3,7 @@
 _hkgname=ListLike
 pkgname=haskell-listlike
 pkgver=4.7.4
-pkgrel=40
+pkgrel=41
 pkgdesc="Generic support for list-like structures"
 url="https://github.com/ddssff/listlike;
 license=('BSD')


[arch-commits] Commit in haskell-wl-pprint-terminfo/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:36:50
  Author: felixonmars
Revision: 966305

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wl-pprint-terminfo/repos/community-staging-x86_64/
  haskell-wl-pprint-terminfo/repos/community-staging-x86_64/PKGBUILD
(from rev 966304, haskell-wl-pprint-terminfo/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-wl-pprint-terminfo/repos/community-staging-x86_64/PKGBUILD 
(from rev 966304, haskell-wl-pprint-terminfo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:36:50 UTC (rev 966305)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wl-pprint-terminfo
+pkgname=haskell-wl-pprint-terminfo
+pkgver=3.7.1.4
+pkgrel=244
+pkgdesc="A color pretty printer with terminfo support"
+url="https://github.com/ekmett/wl-pprint-terminfo/;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-wl-pprint-extras')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1f2a7bd195732fe297c49c50b59812190d5698efa7c2e9b2fbcfbbae71523c25dfcc2a0f098aebe22453cd867bc40480100c8231a6f43a7bd46202f3dcd924b3')
+
+prepare() {
+sed -e '/nats/d' -e '/semigroups/d' -e 's/< *0.6/<1/' -i 
${_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 --datasubdir="$pkgname" 
\
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fCursed
+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-wl-pprint-terminfo/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:36:35
  Author: felixonmars
Revision: 966304

upgpkg: haskell-wl-pprint-terminfo 3.7.1.4-244: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-wl-pprint-terminfo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:35:41 UTC (rev 966303)
+++ PKGBUILD2021-06-21 02:36:35 UTC (rev 966304)
@@ -3,7 +3,7 @@
 _hkgname=wl-pprint-terminfo
 pkgname=haskell-wl-pprint-terminfo
 pkgver=3.7.1.4
-pkgrel=243
+pkgrel=244
 pkgdesc="A color pretty printer with terminfo support"
 url="https://github.com/ekmett/wl-pprint-terminfo/;
 license=('BSD')


[arch-commits] Commit in haskell-wl-pprint-extras/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:35:41
  Author: felixonmars
Revision: 966303

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wl-pprint-extras/repos/community-staging-x86_64/
  haskell-wl-pprint-extras/repos/community-staging-x86_64/PKGBUILD
(from rev 966302, haskell-wl-pprint-extras/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-wl-pprint-extras/repos/community-staging-x86_64/PKGBUILD (from 
rev 966302, haskell-wl-pprint-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:35:41 UTC (rev 966303)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wl-pprint-extras
+pkgname=haskell-wl-pprint-extras
+pkgver=3.5.0.5
+pkgrel=244
+pkgdesc="A free monad based on the Wadler/Leijen pretty printer"
+url="https://github.com/ekmett/wl-pprint-extras/;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-semigroupoids' 'haskell-utf8-string')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('705107842ccbf4eb23d0b9e8069fd4d5bb1b03ffecbf9efaa8a579fd977380913d590fa370cc42476d5b28fde98fc44e7879fe343f761cd1751ebeb0b8c0e242')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e '/nats/d' -e '/semigroups/d' -e 's/< *0.6/<1/' -i $_hkgname.cabal
+sed -i -e '/fail _ = empty/d' src/Text/PrettyPrint/Free/Internal.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-wl-pprint-extras/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:35:27
  Author: felixonmars
Revision: 966302

upgpkg: haskell-wl-pprint-extras 3.5.0.5-244: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-wl-pprint-extras/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:34:37 UTC (rev 966301)
+++ PKGBUILD2021-06-21 02:35:27 UTC (rev 966302)
@@ -3,7 +3,7 @@
 _hkgname=wl-pprint-extras
 pkgname=haskell-wl-pprint-extras
 pkgver=3.5.0.5
-pkgrel=243
+pkgrel=244
 pkgdesc="A free monad based on the Wadler/Leijen pretty printer"
 url="https://github.com/ekmett/wl-pprint-extras/;
 license=('BSD')


[arch-commits] Commit in haskell-uri-encode/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:34:37
  Author: felixonmars
Revision: 966301

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-uri-encode/repos/community-staging-x86_64/
  haskell-uri-encode/repos/community-staging-x86_64/PKGBUILD
(from rev 966300, haskell-uri-encode/trunk/PKGBUILD)

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Copied: haskell-uri-encode/repos/community-staging-x86_64/PKGBUILD (from rev 
966300, haskell-uri-encode/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:34:37 UTC (rev 966301)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=uri-encode
+pkgname=haskell-uri-encode
+pkgver=1.5.0.7
+pkgrel=102
+pkgdesc="Unicode aware uri-encoding"
+url="https://github.com/silkapp/uri-encode;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network-uri' 'haskell-utf8-string')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('da8d816a2c9586bd09762b914a6c4da2c3688fd1d1b31aa34bfae0291db9e0f639c4c7e7bdfa2adcd4f44c39860697a8c6f4f1955cde6c4db74269bbc7308661')
+
+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 \
+-f-tools -fnetwork-uri
+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-uri-encode/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:34:22
  Author: felixonmars
Revision: 966300

upgpkg: haskell-uri-encode 1.5.0.7-102: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-uri-encode/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:33:38 UTC (rev 966299)
+++ PKGBUILD2021-06-21 02:34:22 UTC (rev 966300)
@@ -4,7 +4,7 @@
 _hkgname=uri-encode
 pkgname=haskell-uri-encode
 pkgver=1.5.0.7
-pkgrel=101
+pkgrel=102
 pkgdesc="Unicode aware uri-encoding"
 url="https://github.com/silkapp/uri-encode;
 license=("BSD")


[arch-commits] Commit in haskell-xss-sanitize/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:33:38
  Author: felixonmars
Revision: 966299

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-xss-sanitize/repos/community-staging-x86_64/
  haskell-xss-sanitize/repos/community-staging-x86_64/PKGBUILD
(from rev 966298, haskell-xss-sanitize/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-xss-sanitize/repos/community-staging-x86_64/PKGBUILD (from rev 
966298, haskell-xss-sanitize/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:33:38 UTC (rev 966299)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=xss-sanitize
+pkgname=haskell-xss-sanitize
+pkgver=0.3.6
+pkgrel=303
+pkgdesc="sanitize untrusted HTML to prevent XSS attacks"
+url="https://github.com/yesodweb/haskell-xss-sanitize;
+license=("custom:BSD2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-attoparsec" "haskell-css-text" 
"haskell-network-uri" "haskell-tagsoup"
+ "haskell-utf8-string")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8d038d807b7fa01a65f4b73d135c87ab75385f4c91ce174b332cd5fd1dc1ebdec26b0c5713cf3f68c27351e19e099815d1b530af3ecb7e4c45e71fec4ae12b4c')
+
+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 \
+-fnetwork-uri
+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-xss-sanitize/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:33:25
  Author: felixonmars
Revision: 966298

upgpkg: haskell-xss-sanitize 0.3.6-303: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-xss-sanitize/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:32:34 UTC (rev 966297)
+++ PKGBUILD2021-06-21 02:33:25 UTC (rev 966298)
@@ -4,7 +4,7 @@
 _hkgname=xss-sanitize
 pkgname=haskell-xss-sanitize
 pkgver=0.3.6
-pkgrel=302
+pkgrel=303
 pkgdesc="sanitize untrusted HTML to prevent XSS attacks"
 url="https://github.com/yesodweb/haskell-xss-sanitize;
 license=("custom:BSD2")


[arch-commits] Commit in haskell-url/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:32:34
  Author: felixonmars
Revision: 966297

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 966296, haskell-url/trunk/PKGBUILD)

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Copied: haskell-url/repos/community-staging-x86_64/PKGBUILD (from rev 966296, 
haskell-url/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:32:34 UTC (rev 966297)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=url
+pkgname=haskell-url
+pkgver=2.1.3
+pkgrel=59
+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
+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-url/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:32:21
  Author: felixonmars
Revision: 966296

upgpkg: haskell-url 2.1.3-59: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-url/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:31:36 UTC (rev 966295)
+++ PKGBUILD2021-06-21 02:32:21 UTC (rev 966296)
@@ -4,7 +4,7 @@
 _hkgname=url
 pkgname=haskell-url
 pkgver=2.1.3
-pkgrel=58
+pkgrel=59
 pkgdesc="A library for working with URLs"
 url="https://www.haskell.org/haskellwiki/Url;
 license=("BSD")


[arch-commits] Commit in haskell-html-parse/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:31:36
  Author: felixonmars
Revision: 966295

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-html-parse/repos/community-staging-x86_64/
  haskell-html-parse/repos/community-staging-x86_64/PKGBUILD
(from rev 966294, haskell-html-parse/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: haskell-html-parse/repos/community-staging-x86_64/PKGBUILD (from rev 
966294, haskell-html-parse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:31:36 UTC (rev 966295)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=html-parse
+pkgname=haskell-html-parse
+pkgver=0.2.0.2
+pkgrel=2
+pkgdesc="A high-performance HTML tokenizer"
+url="http://github.com/bgamari/html-parse;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances' 'haskell-string-conversions')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('683cff893e5079bcf4d611d0939f04237abd03f5bf8dbc9e3f88e19c6938a736')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base -u attoparsec $_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=-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-html-parse/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:31:20
  Author: felixonmars
Revision: 966294

upgpkg: haskell-html-parse 0.2.0.2-2: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-html-parse/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:30:09 UTC (rev 966293)
+++ PKGBUILD2021-06-21 02:31:20 UTC (rev 966294)
@@ -3,7 +3,7 @@
 _hkgname=html-parse
 pkgname=haskell-html-parse
 pkgver=0.2.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A high-performance HTML tokenizer"
 url="http://github.com/bgamari/html-parse;
 license=("BSD")
@@ -28,7 +28,7 @@
 --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
 --ghc-option='-pie'
 
-  runhaskell Setup build
+  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
@@ -37,7 +37,7 @@
 
 check() {
   cd $_hkgname-$pkgver
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {


[arch-commits] Commit in haskell-string-conversions/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:30:09
  Author: felixonmars
Revision: 966293

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-string-conversions/repos/community-staging-x86_64/
  haskell-string-conversions/repos/community-staging-x86_64/PKGBUILD
(from rev 966292, haskell-string-conversions/trunk/PKGBUILD)

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Copied: haskell-string-conversions/repos/community-staging-x86_64/PKGBUILD 
(from rev 966292, haskell-string-conversions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:30:09 UTC (rev 966293)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=string-conversions
+pkgname=haskell-string-conversions
+pkgver=0.4.0.1
+pkgrel=64
+pkgdesc="Simplifies dealing with different types for strings"
+url="https://github.com/soenkehahn/string-conversions;
+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=('8bd015215d1a8a48f01abf95f53bd75f67c83dc48c5b4c4f0731e9da924f99c18e9c6de46fdebdd497f5dc577311db1aa31f5144dfc5b1de539e201b9fc1c9f6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-string-conversions/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:29:51
  Author: felixonmars
Revision: 966292

upgpkg: haskell-string-conversions 0.4.0.1-64: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-string-conversions/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:29:07 UTC (rev 966291)
+++ PKGBUILD2021-06-21 02:29:51 UTC (rev 966292)
@@ -4,7 +4,7 @@
 _hkgname=string-conversions
 pkgname=haskell-string-conversions
 pkgver=0.4.0.1
-pkgrel=63
+pkgrel=64
 pkgdesc="Simplifies dealing with different types for strings"
 url="https://github.com/soenkehahn/string-conversions;
 license=("BSD")


[arch-commits] Commit in haskell-utf8-string/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:29:07
  Author: felixonmars
Revision: 966291

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-utf8-string/repos/community-staging-x86_64/
  haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD
(from rev 966290, haskell-utf8-string/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-utf8-string/repos/community-staging-x86_64/PKGBUILD (from rev 
966290, haskell-utf8-string/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:29:07 UTC (rev 966291)
@@ -0,0 +1,44 @@
+# Maintainer: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+# Package generated by cabal2arch 0.7.6
+
+_hkgname=utf8-string
+pkgname=haskell-utf8-string
+pkgver=1.0.2
+pkgrel=44
+pkgdesc="Support for reading and writing UTF8 Strings"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b20b61e942a77848d12f9105f88790b3f02e3e2835b87e0ce1900b5ea1e97c4b055003603e435415e7fbbc9586f9c6ca2402f86cf5d2b7b6ced2ddcae3968d24')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-utf8-string/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:28:54
  Author: felixonmars
Revision: 966290

upgpkg: haskell-utf8-string 1.0.2-44: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-utf8-string/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:28:07 UTC (rev 966289)
+++ PKGBUILD2021-06-21 02:28:54 UTC (rev 966290)
@@ -5,7 +5,7 @@
 _hkgname=utf8-string
 pkgname=haskell-utf8-string
 pkgver=1.0.2
-pkgrel=43
+pkgrel=44
 pkgdesc="Support for reading and writing UTF8 Strings"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


[arch-commits] Commit in haskell-drbg/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:28:07
  Author: felixonmars
Revision: 966289

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-drbg/repos/community-staging-x86_64/
  haskell-drbg/repos/community-staging-x86_64/PKGBUILD
(from rev 966288, haskell-drbg/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 966288, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:28:07 UTC (rev 966289)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=187
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:27:48
  Author: felixonmars
Revision: 966288

upgpkg: haskell-drbg 0.5.5-187: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-drbg/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:26:26 UTC (rev 966287)
+++ PKGBUILD2021-06-21 02:27:48 UTC (rev 966288)
@@ -3,7 +3,7 @@
 _hkgname=DRBG
 pkgname=haskell-drbg
 pkgver=0.5.5
-pkgrel=186
+pkgrel=187
 pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
 url="https://github.com/TomMD/DRBG;
 license=('BSD')


[arch-commits] Commit in haskell-crypto-api-tests/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:26:26
  Author: felixonmars
Revision: 966287

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-crypto-api-tests/repos/community-staging-x86_64/
  haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD
(from rev 966286, haskell-crypto-api-tests/trunk/PKGBUILD)

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Copied: haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD (from 
rev 966286, haskell-crypto-api-tests/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:26:26 UTC (rev 966287)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+
+_hkgname=crypto-api-tests
+pkgname=haskell-crypto-api-tests
+pkgver=0.3
+pkgrel=144
+pkgdesc="A test framework and KATs for cryptographic operations."
+url="http://trac.haskell.org/crypto-api/wiki;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-test-framework-quickcheck2' 'haskell-crypto-api' 
'haskell-cereal'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-quickcheck')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4d9dfd52dc67279a712bd444972faa6650d987c8f65fb41178e5c6523a7260c0e2df8f44bc511ffa217b6d71c5ec41ab11a0466a326c9133f7e20c01c37404d5')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-crypto-api-tests/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:26:09
  Author: felixonmars
Revision: 966286

upgpkg: haskell-crypto-api-tests 0.3-144: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-crypto-api-tests/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:25:05 UTC (rev 966285)
+++ PKGBUILD2021-06-21 02:26:09 UTC (rev 966286)
@@ -3,7 +3,7 @@
 _hkgname=crypto-api-tests
 pkgname=haskell-crypto-api-tests
 pkgver=0.3
-pkgrel=143
+pkgrel=144
 pkgdesc="A test framework and KATs for cryptographic operations."
 url="http://trac.haskell.org/crypto-api/wiki;
 license=('BSD')


[arch-commits] Commit in haskell-http-api-data/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:25:05
  Author: felixonmars
Revision: 966285

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-api-data/repos/community-staging-x86_64/
  haskell-http-api-data/repos/community-staging-x86_64/PKGBUILD
(from rev 966284, haskell-http-api-data/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-http-api-data/repos/community-staging-x86_64/PKGBUILD (from rev 
966284, haskell-http-api-data/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:25:05 UTC (rev 966285)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-api-data
+pkgname=haskell-http-api-data
+pkgver=0.4.3
+pkgrel=54
+pkgdesc="Converting to/from HTTP API data like URL pieces, headers and query 
parameters."
+url="https://github.com/fizruk/http-api-data;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-attoparsec-iso8601' 
'haskell-base-compat'
+ 'haskell-cookie' 'haskell-hashable' 'haskell-http-types' 
'haskell-tagged'
+ 'haskell-time-compat' 'haskell-unordered-containers' 
'haskell-uuid-types')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hunit' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('625367d8f524eff07c69620df17c87a4365c01b9bc8bdd6bab5b8abe1b47cc429a050d63f48e50cb08fcac55aef95dfea532a5d52c87b6fa2d3e58b06aa8f4b0')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u attoparsec -u base -u hspec $_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 \
+-f-use-text-show
+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-http-api-data/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:24:50
  Author: felixonmars
Revision: 966284

upgpkg: haskell-http-api-data 0.4.3-54: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-http-api-data/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:22:35 UTC (rev 966283)
+++ PKGBUILD2021-06-21 02:24:50 UTC (rev 966284)
@@ -4,7 +4,7 @@
 _hkgname=http-api-data
 pkgname=haskell-http-api-data
 pkgver=0.4.3
-pkgrel=53
+pkgrel=54
 pkgdesc="Converting to/from HTTP API data like URL pieces, headers and query 
parameters."
 url="https://github.com/fizruk/http-api-data;
 license=("BSD")
@@ -19,7 +19,7 @@
 
 prepare() {
 cd $_hkgname-$pkgver
-uusi -u attoparsec -u hspec $_hkgname.cabal
+uusi -u attoparsec -u base -u hspec $_hkgname.cabal
 }
 
 build() {


[arch-commits] Commit in haskell-attoparsec-iso8601/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:22:35
  Author: felixonmars
Revision: 966283

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-attoparsec-iso8601/repos/community-staging-x86_64/
  haskell-attoparsec-iso8601/repos/community-staging-x86_64/PKGBUILD
(from rev 966282, haskell-attoparsec-iso8601/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-attoparsec-iso8601/repos/community-staging-x86_64/PKGBUILD 
(from rev 966282, haskell-attoparsec-iso8601/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:22:35 UTC (rev 966283)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=attoparsec-iso8601
+pkgname=haskell-attoparsec-iso8601
+pkgver=1.0.2.0
+pkgrel=50
+pkgdesc="Parsing of ISO 8601 dates, originally from aeson"
+url="https://github.com/haskell/aeson;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-compat-batteries' 
'haskell-time-compat')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ae9595bbcaccd681afb223455484d0ee60690d8a468291cbde5c9eab6298d46434c43589ad3b55e9509e934aa34c382a6546c41b8e27dbbf7002bde20d6ee2a7')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+uusi -u attoparsec $_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 \
+-f-developer -f-fast
+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-attoparsec-iso8601/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:22:18
  Author: felixonmars
Revision: 966282

upgpkg: haskell-attoparsec-iso8601 1.0.2.0-50: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-attoparsec-iso8601/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:21:32 UTC (rev 966281)
+++ PKGBUILD2021-06-21 02:22:18 UTC (rev 966282)
@@ -3,7 +3,7 @@
 _hkgname=attoparsec-iso8601
 pkgname=haskell-attoparsec-iso8601
 pkgver=1.0.2.0
-pkgrel=49
+pkgrel=50
 pkgdesc="Parsing of ISO 8601 dates, originally from aeson"
 url="https://github.com/haskell/aeson;
 license=('BSD')


[arch-commits] Commit in haskell-neat-interpolation/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:21:32
  Author: felixonmars
Revision: 966281

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-neat-interpolation/repos/community-staging-x86_64/
  haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD
(from rev 966280, haskell-neat-interpolation/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD 
(from rev 966280, haskell-neat-interpolation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:21:32 UTC (rev 966281)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=neat-interpolation
+pkgname=haskell-neat-interpolation
+pkgver=0.5.1.2
+pkgrel=135
+pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
+url="https://github.com/nikita-volkov/neat-interpolation;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('147bfca831dccc4646cce7c91635d3885049c67c93c3da83a774eaf1c7f485fba14e695efa173fd3a125380c13d70fe3ca017c2179e161d8e53d60278bb0b7a8')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-neat-interpolation/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:21:09
  Author: felixonmars
Revision: 966280

upgpkg: haskell-neat-interpolation 0.5.1.2-135: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-neat-interpolation/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:20:40 UTC (rev 966279)
+++ PKGBUILD2021-06-21 02:21:09 UTC (rev 966280)
@@ -4,7 +4,7 @@
 _hkgname=neat-interpolation
 pkgname=haskell-neat-interpolation
 pkgver=0.5.1.2
-pkgrel=134
+pkgrel=135
 pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
 url="https://github.com/nikita-volkov/neat-interpolation;
 license=("MIT")


[arch-commits] Commit in haskell-ghc-api-compat/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:20:27
  Author: felixonmars
Revision: 966278

upgpkg: haskell-ghc-api-compat 8.6.1-1

Modified:
  haskell-ghc-api-compat/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:20:19 UTC (rev 966277)
+++ PKGBUILD2021-06-21 02:20:27 UTC (rev 966278)
@@ -2,8 +2,9 @@
 
 _hkgname=ghc-api-compat
 pkgname=haskell-ghc-api-compat
-pkgver=8.6
-pkgrel=2
+pkgver=8.6.1
+_commit=9e8c1ec540bc0a68700e8541d44dca14913c5c9e
+pkgrel=1
 pkgdesc="GHC-API compatibility helpers"
 url="https://hackage.haskell.org/package/ghc-api-compat;
 license=("BSD")
@@ -10,17 +11,19 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-ghc')
 makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
-sha256sums=('7a70211154601ec88cb1acc4e4c69f023a425823e3e13bdf25977159b6df')
+# https://gitlab.haskell.org/haskell/ghc-api-compat/-/issues/1
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://gitlab.haskell.org/haskell/ghc-api-compat/-/archive/$_commit/ghc-api-compat-$_commit.tar.bz2;)
+sha256sums=('c9ff586aca0ccd6ccffe333403d21c9b86ed6dbd6335830419c0875c7df891bc')
 
 prepare() {
-  cd $_hkgname-$pkgver
+  cd $_hkgname-$_commit
   gen-setup
   sed -i 's/GHC.Platform.ARM64/GHC.Platform.AArch64/' $_hkgname.cabal
 }
 
 build() {
-  cd $_hkgname-$pkgver
+  cd $_hkgname-$_commit
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
 --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
@@ -36,7 +39,7 @@
 }
 
 package() {
-  cd $_hkgname-$pkgver
+  cd $_hkgname-$_commit
 
   install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
   install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh


[arch-commits] Commit in haskell-ghc-api-compat/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:20:40
  Author: felixonmars
Revision: 966279

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-api-compat/repos/community-staging-x86_64/
  haskell-ghc-api-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 966278, haskell-ghc-api-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   49 +
 1 file changed, 49 insertions(+)

Copied: haskell-ghc-api-compat/repos/community-staging-x86_64/PKGBUILD (from 
rev 966278, haskell-ghc-api-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:20:40 UTC (rev 966279)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-api-compat
+pkgname=haskell-ghc-api-compat
+pkgver=8.6.1
+_commit=9e8c1ec540bc0a68700e8541d44dca14913c5c9e
+pkgrel=1
+pkgdesc="GHC-API compatibility helpers"
+url="https://hackage.haskell.org/package/ghc-api-compat;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc')
+makedepends=('ghc' 'uusi')
+# https://gitlab.haskell.org/haskell/ghc-api-compat/-/issues/1
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://gitlab.haskell.org/haskell/ghc-api-compat/-/archive/$_commit/ghc-api-compat-$_commit.tar.bz2;)
+sha256sums=('c9ff586aca0ccd6ccffe333403d21c9b86ed6dbd6335830419c0875c7df891bc')
+
+prepare() {
+  cd $_hkgname-$_commit
+  gen-setup
+  sed -i 's/GHC.Platform.ARM64/GHC.Platform.AArch64/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$_commit
+
+  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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$_commit
+
+  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-binary-orphans/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:20:19
  Author: felixonmars
Revision: 966277

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-orphans/repos/community-staging-x86_64/
  haskell-binary-orphans/repos/community-staging-x86_64/PKGBUILD
(from rev 966276, haskell-binary-orphans/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-binary-orphans/repos/community-staging-x86_64/PKGBUILD (from 
rev 966276, haskell-binary-orphans/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:20:19 UTC (rev 966277)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-orphans
+pkgname=haskell-binary-orphans
+pkgver=1.0.1
+pkgrel=123
+pkgdesc="Orphan instances for binary"
+url="https://github.com/phadej/binary-orphans;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck' 'haskell-tagged')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('067df608ec5fee2907c1648c19116a4de7a237c41101e811ba02789fbe22c5726443d4950b03bd156ad8ea336acc6c71da3efe7a6cf1127519ec5eb9778ec11d')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+sed -i -e 's/< *0.8.7/<1/;s/< *2.14/<3/;s/< *4.14/<5/;s/< *1.3/<2/' 
$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-binary-orphans/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:20:05
  Author: felixonmars
Revision: 966276

upgpkg: haskell-binary-orphans 1.0.1-123: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-binary-orphans/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:19:17 UTC (rev 966275)
+++ PKGBUILD2021-06-21 02:20:05 UTC (rev 966276)
@@ -4,7 +4,7 @@
 _hkgname=binary-orphans
 pkgname=haskell-binary-orphans
 pkgver=1.0.1
-pkgrel=122
+pkgrel=123
 pkgdesc="Orphan instances for binary"
 url="https://github.com/phadej/binary-orphans;
 license=("BSD")


[arch-commits] Commit in haskell-binary-parser/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:19:17
  Author: felixonmars
Revision: 966275

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-parser/repos/community-staging-x86_64/
  haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD
(from rev 966274, haskell-binary-parser/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD (from rev 
966274, haskell-binary-parser/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:19:17 UTC (rev 966275)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-parser
+pkgname=haskell-binary-parser
+pkgver=0.5.7
+pkgrel=30
+pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
+url="https://github.com/nikita-volkov/binary-parser;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('35d19a95947124260ef67b23929c4028e71e4eed772b708b802ae5aa65fabb56716d3c9a12e63032b5942c7e3eb91a38d847e97b1e1c8cf104662d943be3d7f6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-binary-parser/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:19:03
  Author: felixonmars
Revision: 966274

upgpkg: haskell-binary-parser 0.5.7-30: rebuild with ghc 9.0.1, 
ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-binary-parser/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:18:12 UTC (rev 966273)
+++ PKGBUILD2021-06-21 02:19:03 UTC (rev 966274)
@@ -4,7 +4,7 @@
 _hkgname=binary-parser
 pkgname=haskell-binary-parser
 pkgver=0.5.7
-pkgrel=29
+pkgrel=30
 pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
 url="https://github.com/nikita-volkov/binary-parser;
 license=("MIT")


[arch-commits] Commit in haskell-butcher/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:18:12
  Author: felixonmars
Revision: 966273

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-butcher/repos/community-staging-x86_64/
  haskell-butcher/repos/community-staging-x86_64/PKGBUILD
(from rev 966272, haskell-butcher/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-butcher/repos/community-staging-x86_64/PKGBUILD (from rev 
966272, haskell-butcher/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:18:12 UTC (rev 966273)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=butcher
+pkgname=haskell-butcher
+pkgver=1.3.3.2
+pkgrel=104
+pkgdesc="Chops a command or program invocation into digestable pieces."
+url="https://github.com/lspitzner/butcher/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
+ 'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
+ 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base $_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=-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-butcher/trunk (PKGBUILD)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:17:57
  Author: felixonmars
Revision: 966272

upgpkg: haskell-butcher 1.3.3.2-104: rebuild with ghc 9.0.1, ghc-lib-parser-ex 
9.0.0.4, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-butcher/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-21 02:13:39 UTC (rev 966271)
+++ PKGBUILD2021-06-21 02:17:57 UTC (rev 966272)
@@ -3,7 +3,7 @@
 _hkgname=butcher
 pkgname=haskell-butcher
 pkgver=1.3.3.2
-pkgrel=103
+pkgrel=104
 pkgdesc="Chops a command or program invocation into digestable pieces."
 url="https://github.com/lspitzner/butcher/;
 license=("BSD")
@@ -11,10 +11,15 @@
 depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
  'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
  'haskell-void')
-makedepends=('ghc' 'haskell-hspec')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
 sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base $_hkgname.cabal
+}
+
 build() {
   cd $_hkgname-$pkgver
 


[arch-commits] Commit in haskell-deque/repos (2 files)

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 02:13:39
  Author: felixonmars
Revision: 966271

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-deque/repos/community-staging-x86_64/
  haskell-deque/repos/community-staging-x86_64/PKGBUILD
(from rev 966270, haskell-deque/trunk/PKGBUILD)

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Copied: haskell-deque/repos/community-staging-x86_64/PKGBUILD (from rev 966270, 
haskell-deque/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 02:13:39 UTC (rev 966271)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deque
+pkgname=haskell-deque
+pkgver=0.4.3
+pkgrel=98
+pkgdesc="Double-ended queues"
+url="https://github.com/nikita-volkov/deque;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-strict-list')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b76a0e7d8a5f3b12ca8cf5a583f3e8e4333c7860f56b1e921a3fdfe959e557a5')
+
+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=-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
+}


  1   2   3   4   5   6   >