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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:07:41
  Author: felixonmars
Revision: 349438

upgpkg: hedgewars 0.9.24.1-26

rebuild with th-abstraction 0.2.8.0

Modified:
  hedgewars/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:00:13 UTC (rev 349437)
+++ PKGBUILD2018-07-02 09:07:41 UTC (rev 349438)
@@ -5,7 +5,7 @@
 
 pkgname=hedgewars
 pkgver=0.9.24.1
-pkgrel=25
+pkgrel=26
 pkgdesc="Turn-based strategy artillery game similiar to Worms"
 arch=('x86_64')
 url="https://hedgewars.org;


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:08:03
  Author: felixonmars
Revision: 349439

archrelease: copy trunk to community-staging-x86_64

Added:
  hedgewars/repos/community-staging-x86_64/
  hedgewars/repos/community-staging-x86_64/PKGBUILD
(from rev 349438, hedgewars/trunk/PKGBUILD)

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

Copied: hedgewars/repos/community-staging-x86_64/PKGBUILD (from rev 349438, 
hedgewars/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:08:03 UTC (rev 349439)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Sergej Pupykin 
+# Contributor: Tinxy 
+
+pkgname=hedgewars
+pkgver=0.9.24.1
+pkgrel=26
+pkgdesc="Turn-based strategy artillery game similiar to Worms"
+arch=('x86_64')
+url="https://hedgewars.org;
+license=('GPL' 'custom')
+depends=('qt5-base' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_net' 'sdl2_ttf' 
'lua51' 'ffmpeg' 'glut'
+ 'physfs' 'ghc-libs' 'haskell-entropy' 'haskell-sha' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-sandi' 'haskell-hslogger' 'haskell-utf8-string' 
'haskell-vector')
+makedepends=('fpc' 'cmake' 'qt5-tools' 'ghc' 'haskell-network' 
'haskell-bytestring-show'
+ 'haskell-zlib' 'haskell-base-prelude' 'imagemagick' 'mesa')
+source=("https://www.hedgewars.org/download/releases/hedgewars-src-$pkgver.tar.bz2;)
+sha512sums=('b0b166c807e0d08a763e5e88e178d6e629baa420685bbfe381db7b5ecf003175892f8c2e3b75f1f6d7663335bd5b417d1a2afdc89b9d56b348b056ee3490ed2f')
+
+prepare() {
+  cd hedgewars-src-$pkgver
+  sed -i 's|set(ghc_flags|set(ghc_flags -dynamic|' gameServer/CMakeLists.txt
+}
+
+build() {
+  cd hedgewars-src-$pkgver
+  cmake \
+-DCMAKE_BUILD_TYPE="Release" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DDATA_INSTALL_DIR=/usr/share/hedgewars \
+-DNOSERVER=0 \
+.
+  make
+
+  # resize icon
+  for _size in 16 32 48 64 128 256; do
+convert misc/hedgewars.png -resize ${_size}x${_size} hedgewars_${_size}.png
+  done
+}
+
+package() {
+  cd hedgewars-src-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 Fonts_LICENSE.txt 
"$pkgdir"/usr/share/licenses/${pkgname}/Fonts_LICENSE.txt
+
+  # install icons
+  install -D -m644 misc/hedgewars.png 
"$pkgdir"/usr/share/icons/hicolor/512x512/apps/hedgewars.png
+  for _size in 16 32 48 64 128 256; do
+install -D -m644 hedgewars_${_size}.png 
"$pkgdir"/usr/share/icons/hicolor/${_size}x${_size}/apps/hedgewars.png
+  done
+  rm -rf "$pkgdir"/usr/share/pixmaps
+
+  install -D -m644 share/hedgewars/Data/misc/hedgewars.desktop 
"$pkgdir"/usr/share/applications/hedgewars.desktop
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:14:54
  Author: felixonmars
Revision: 349440

upgpkg: hindent 5.2.5-47

rebuild with th-abstraction 0.2.8.0

Modified:
  hindent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:08:03 UTC (rev 349439)
+++ PKGBUILD2018-07-02 09:14:54 UTC (rev 349440)
@@ -4,7 +4,7 @@
 
 pkgname=hindent
 pkgver=5.2.5
-pkgrel=46
+pkgrel=47
 pkgdesc="Extensible Haskell pretty printer"
 url="https://github.com/commercialhaskell/hindent;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:19:00
  Author: felixonmars
Revision: 349446

upgpkg: hledger-ui 1.9.1-27

rebuild with th-abstraction 0.2.8.0

Modified:
  hledger-ui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:18:03 UTC (rev 349445)
+++ PKGBUILD2018-07-02 09:19:00 UTC (rev 349446)
@@ -4,7 +4,7 @@
 
 pkgname=hledger-ui
 pkgver=1.9.1
-pkgrel=26
+pkgrel=27
 pkgdesc="Curses-style user interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:28:38
  Author: felixonmars
Revision: 349453

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 349452, 
haskell-sbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:28:38 UTC (rev 349453)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=7.9
+pkgrel=11
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="http://leventerkok.github.com/sbv;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 
'haskell-async'
+ 'haskell-random' 'haskell-syb' 'haskell-data-binary-ieee754'
+ 'haskell-generic-deriving')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('970f326cc44d8cc219915f37d29c3e792a5bc2d153d408917013147ff7e2097b317b5cad0e79a595e272d3dcbc4a26507ba5fdf5b01582470afc303d18076d0c')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:28:21
  Author: felixonmars
Revision: 349452

upgpkg: haskell-sbv 7.9-11

rebuild with th-abstraction 0.2.8.0

Modified:
  haskell-sbv/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:22:27 UTC (rev 349451)
+++ PKGBUILD2018-07-02 09:28:21 UTC (rev 349452)
@@ -5,7 +5,7 @@
 _hkgname=sbv
 pkgname=haskell-sbv
 pkgver=7.9
-pkgrel=10
+pkgrel=11
 pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
 url="http://leventerkok.github.com/sbv;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:16:20
  Author: felixonmars
Revision: 349442

upgpkg: hledger 1.9.1-25

rebuild with th-abstraction 0.2.8.0

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:15:10 UTC (rev 349441)
+++ PKGBUILD2018-07-02 09:16:20 UTC (rev 349442)
@@ -4,7 +4,7 @@
 
 pkgname=hledger
 pkgver=1.9.1
-pkgrel=24
+pkgrel=25
 pkgdesc="Command-line interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:16:36
  Author: felixonmars
Revision: 349443

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger/repos/community-staging-x86_64/
  hledger/repos/community-staging-x86_64/PKGBUILD
(from rev 349442, hledger/trunk/PKGBUILD)

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 349442, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:16:36 UTC (rev 349443)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.9.1
+pkgrel=25
+pkgdesc="Command-line interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-base-compat' 
'haskell-cmdargs' 'haskell-csv'
+ 'haskell-data-default' 'haskell-decimal' 'haskell-diff' 
'haskell-file-embed'
+ 'haskell-hashable' 'haskell-here' 'haskell-hledger-lib' 
'haskell-hunit' 'haskell-lucid'
+ 'haskell-megaparsec' 'haskell-old-time' 'haskell-pretty-show'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-shakespeare' 
'haskell-split' 'haskell-tabular'
+ 'haskell-temporary' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('d1d0abbee555e152a713e2fcfc185e196e705f73dcc6f94106ddfc9695412ae8bfbe8b487ae09a5a8a94338b85b7466fa9c28ce81e8a56e46c4fab0a7714a5eb')
+
+prepare() {
+# It does nothing
+sed -e '/mtl-compat/d' \
+-i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fterminfo -fthreaded
+LC_CTYPE=en_US.UTF-8 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
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:22:11
  Author: felixonmars
Revision: 349450

upgpkg: hlint 2.1.6-10

rebuild with th-abstraction 0.2.8.0

Modified:
  hlint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:20:58 UTC (rev 349449)
+++ PKGBUILD2018-07-02 09:22:11 UTC (rev 349450)
@@ -4,7 +4,7 @@
 
 pkgname=hlint
 pkgver=2.1.6
-pkgrel=9
+pkgrel=10
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:20:58
  Author: felixonmars
Revision: 349449

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-web/repos/community-staging-x86_64/
  hledger-web/repos/community-staging-x86_64/PKGBUILD
(from rev 349448, hledger-web/trunk/PKGBUILD)

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 349448, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:20:58 UTC (rev 349449)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.9.2
+pkgrel=42
+pkgdesc="Web interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-base-compat' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-clientsession' 'haskell-cmdargs' 
'haskell-data-default'
+ 'haskell-hjsmin' 'haskell-http-conduit' 'haskell-http-client' 
'haskell-hunit'
+ 'haskell-conduit-extra' 'haskell-safe' 'haskell-shakespeare' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-handler-launch' 'haskell-warp' 
'haskell-yesod'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static' 
'haskell-json'
+ 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('7a2ca40f96bc00a5419f1becb02ff86f2b58f7f34a03b85859034bcb7bf301458c5b6b5159e95bea65223fbdc0f65dbb0b09a9275adc4bfcbfc586f3a30ab837')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-dev -f-library-only -fthreaded
+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
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:31:35
  Author: felixonmars
Revision: 349454

upgpkg: cryptol 2.5.0.20180515-32

rebuild with th-abstraction 0.2.8.0

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:28:38 UTC (rev 349453)
+++ PKGBUILD2018-07-02 09:31:35 UTC (rev 349454)
@@ -4,7 +4,7 @@
 pkgname=cryptol
 pkgver=2.5.0.20180515
 _commit=9fccc0086700b0e409bd9b0989e52d62863c714e
-pkgrel=31
+pkgrel=32
 pkgdesc="The Language of Cryptography"
 url="http://www.cryptol.net;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:31:51
  Author: felixonmars
Revision: 349455

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 349454, cryptol/trunk/PKGBUILD)

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

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 349454, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:31:51 UTC (rev 349455)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.5.0.20180515
+_commit=9fccc0086700b0e409bd9b0989e52d62863c714e
+pkgrel=32
+pkgdesc="The Language of Cryptography"
+url="http://www.cryptol.net;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-base-compat' 'haskell-async' 
'haskell-gitrev' 'haskell-graphscc'
+ 'haskell-heredoc' 'haskell-monad-control' 'haskell-monadlib' 
'haskell-random' 'haskell-sbv'
+ 'haskell-simple-smt' 'haskell-strict' 'haskell-tf-random' 
'haskell-transformers-base'
+ 'haskell-ansi-terminal' 'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy')
+source=("$pkgname-$_commit.tar.gz::https://github.com/GaloisInc/cryptol/archive/$_commit.tar.gz;)
+sha512sums=('d9e98541b978acb8dafc5daf35a3fc75a523914e713b4cdc2e8e01a424b39556c625e2956dd495cabf67cf99cac0b4021563f0b62b2f355b1af0645dc8d9de1b')
+
+prepare() {
+mv $pkgname-$_commit $pkgname-$pkgver
+
+cd $pkgname-$pkgver
+sed -i 's/<.*0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${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 \
+-f-static -f-relocatable
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${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 hoogle/repos (2 files)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:34:08
  Author: felixonmars
Revision: 349457

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 349456, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 349456, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:34:08 UTC (rev 349457)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.17.3
+pkgrel=31
+pkgdesc="Haskell API Search"
+url="http://www.haskell.org/hoogle/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-connection' 'haskell-extra' 
'haskell-src-exts'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-network-uri' 
'haskell-old-locale'
+ 'haskell-process-extras' 'haskell-resourcet' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8113e9dc6f44fbf684edfe6134eb44d55b1ef43afc3cb2051920daaec3e108df6209cfe822a8eeff884360c9b9415f2ab8273e7681e6bbcc1b9c77490370195')
+
+build() {
+cd "${srcdir}/${pkgname}-${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 \
+-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${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 hoogle/trunk (PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:33:51
  Author: felixonmars
Revision: 349456

upgpkg: hoogle 5.0.17.3-31

rebuild with th-abstraction 0.2.8.0

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:31:51 UTC (rev 349455)
+++ PKGBUILD2018-07-02 09:33:51 UTC (rev 349456)
@@ -4,7 +4,7 @@
 
 pkgname=hoogle
 pkgver=5.0.17.3
-pkgrel=30
+pkgrel=31
 pkgdesc="Haskell API Search"
 url="http://www.haskell.org/hoogle/;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:36:40
  Author: felixonmars
Revision: 349459

archrelease: copy trunk to community-staging-x86_64

Added:
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 349458, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
349458, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:36:40 UTC (rev 349459)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.21.1
+pkgrel=24
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-binary-conduit' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-crypto-pubkey'
+ 'haskell-cryptohash' 'haskell-errors' 'haskell-fgl' 
'haskell-graphviz' 'haskell-hopenpgp'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-ixset-typed'
+ 'haskell-lens' 'haskell-monad-loops' 'haskell-openpgp-asciiarmor'
+ 'haskell-optparse-applicative' 'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 
'haskell-prettyprinter-convert-ansi-wl-pprint'
+ 'haskell-resourcet' 'haskell-time-locale-compat' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('0f079cdc3d99c5e2679810c38d57e40a045bf91c26fd734c50a7715f803efa9367d2ee389dd8362c1c1d00f75227370b481e9b1fb74ad41c8fb0fc51c5c71e38')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:36:24
  Author: felixonmars
Revision: 349458

upgpkg: hopenpgp-tools 0.21.1-24

rebuild with th-abstraction 0.2.8.0

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:34:08 UTC (rev 349457)
+++ PKGBUILD2018-07-02 09:36:24 UTC (rev 349458)
@@ -4,7 +4,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.21.1
-pkgrel=23
+pkgrel=24
 pkgdesc="hOpenPGP-based command-line tools"
 url="http://floss.scru.org/hopenpgp-tools;
 license=("AGPL3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:04:55
  Author: felixonmars
Revision: 349465

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc/repos/community-staging-x86_64/
  pandoc/repos/community-staging-x86_64/PKGBUILD
(from rev 349464, pandoc/trunk/PKGBUILD)

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 349464, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:04:55 UTC (rev 349465)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.2.1
+pkgrel=49
+pkgdesc="Conversion between markup formats"
+url="http://pandoc.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-base-compat' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-case-insensitive' 'haskell-cmark-gfm'
+ 'haskell-data-default' 'haskell-doctemplates' 'haskell-exceptions' 
'haskell-glob'
+ 'haskell-haddock-library' 'haskell-skylighting' 'haskell-hslua'
+ 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath'
+ 'haskell-network' 'haskell-pandoc-types' 'haskell-random'
+ 'haskell-scientific' 'haskell-tagsoup' 'haskell-temporary' 
'haskell-network-uri'
+ 'haskell-unordered-containers' 'haskell-zip-archive' 'haskell-vector' 
'haskell-xml'
+ 'haskell-yaml' 'haskell-zlib')
+optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc 
filter'
+'pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-golden' 'haskell-quickcheck' 
'haskell-executable-path')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/jgm/pandoc/commit/edcfbccf5dbef7d64b498376b457cc0e44fd275c.patch)
+sha512sums=('84af51e180bcf8f0c11e67d8031d11a4b60c6061736a48c21e64bc30d0018a0161e3993167111584e384eced18632841b70027fdf29ed9e46427425096bb56b1'
+
'9e19d24d98a173622a00993c0a5b57f2a8e02f9c117572fa25863dba23fd25cd9d56ccddbf4213c608747c89b17f657f0f769c777d5c12dbb99532e3ab23dabe')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+patch -p1 -i ../edcfbccf5dbef7d64b498376b457cc0e44fd275c.patch
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+sed -i 's/<.*1.1/<2/' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri -f-trypandoc -f-embed_data_files -f-static
+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
+}
+
+check() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgbase}-${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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:10:36
  Author: felixonmars
Revision: 349469

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
349468, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:10:36 UTC (rev 349469)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.12.3.0
+pkgrel=33
+pkgdesc="A static website compiler library"
+url="http://jaspervdj.be/hakyll;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptohash'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'pandoc-citeproc' 
'haskell-random'
+ 'haskell-regex-tdfa' 'haskell-resourcet' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-time-locale-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-wai' 'haskell-wai-app-static' 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('287112e1cb7ac4c06f976ee77fe6b64605c96f04e78c366cffdc24d435f57d37c06543e180476a23bd5e7a42a54e4b30a08ad5e4a8aec5fd97052503691574fc')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:10:19
  Author: felixonmars
Revision: 349468

upgpkg: haskell-hakyll 4.12.3.0-33

rebuild with th-abstraction 0.2.8.0

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:07:57 UTC (rev 349467)
+++ PKGBUILD2018-07-02 10:10:19 UTC (rev 349468)
@@ -5,7 +5,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.12.3.0
-pkgrel=32
+pkgrel=33
 pkgdesc="A static website compiler library"
 url="http://jaspervdj.be/hakyll;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:15:25
  Author: felixonmars
Revision: 349473

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 349472, postgrest/trunk/PKGBUILD)

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 349472, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:15:25 UTC (rev 349473)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=177
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 
'haskell-wai-middleware-static' 'haskell-cookie')
+makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-hjsonschema')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
+sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
+
+prepare() {
+sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal
+
+sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs
+sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${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-CI
+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
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
+createdb postgrest_test
+
+# TODO: it shouldn't take this long to finish
+# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${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 postgrest/trunk (PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:15:09
  Author: felixonmars
Revision: 349472

upgpkg: postgrest 0.4.4.0-177

rebuild with th-abstraction 0.2.8.0

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:12:24 UTC (rev 349471)
+++ PKGBUILD2018-07-02 10:15:09 UTC (rev 349472)
@@ -4,7 +4,7 @@
 
 pkgname=postgrest
 pkgver=0.4.4.0
-pkgrel=176
+pkgrel=177
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:18:26
  Author: felixonmars
Revision: 349477

archrelease: copy trunk to community-staging-x86_64

Added:
  shellcheck/repos/community-staging-x86_64/
  shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 349476, shellcheck/trunk/PKGBUILD)

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 349476, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:18:26 UTC (rev 349477)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.5.0
+pkgrel=25
+pkgdesc="Shell script analysis tool"
+url="http://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-quickcheck' 'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('87861cddb353262630e4370e12e508224b3c14e128082909b4b35f0526dfe648a744d68cc27f77f2f8bb098af37a2af7bdc805d88018bba5e48b6c1ff1749f10')
+
+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
+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
+
+pandoc -s -t man shellcheck.1.md -o shellcheck.1
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:22:31
  Author: felixonmars
Revision: 349480

archrelease: copy trunk to community-staging-any

Added:
  python-betamax/repos/community-staging-any/
  python-betamax/repos/community-staging-any/PKGBUILD
(from rev 349479, python-betamax/trunk/PKGBUILD)

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

Copied: python-betamax/repos/community-staging-any/PKGBUILD (from rev 349479, 
python-betamax/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-02 10:22:31 UTC (rev 349480)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-betamax
+pkgname=('python-betamax' 'python2-betamax')
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="A VCR imitation for python-requests"
+arch=('any')
+license=('GPL')
+url='https://github.com/sigmavirus24/betamax'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz;)
+sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374')
+
+prepare() {
+  cp -a betamax-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/betamax-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/betamax-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-betamax() {
+  depends=('python-requests')
+
+  cd betamax-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-betamax() {
+  depends=('python2-requests')
+
+  cd betamax-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:24:31
  Author: felixonmars
Revision: 349482

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 349481, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/stack.install
(from rev 349481, stack/trunk/stack.install)

---+
 PKGBUILD  |   77 
 stack.install |4 ++
 2 files changed, 81 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 349481, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:24:31 UTC (rev 349482)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=1.7.1
+pkgrel=44
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-exceptions' 'haskell-extra' 'haskell-file-embed' 
'haskell-filelock'
+ 'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-gitrev' 
'haskell-hackage-security'
+ 'haskell-hashable' 'haskell-hpack' 'haskell-hpc' 'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-monad-logger' 
'haskell-mono-traversable'
+ 'haskell-mustache' 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-simple' 
'haskell-path' 'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-primitive' 'haskell-project-template' 
'haskell-regex-applicative-text'
+ 'haskell-resourcet' 'haskell-retry' 'haskell-rio' 'haskell-split' 
'haskell-store'
+ 'haskell-store-core' 'haskell-streaming-commons' 'haskell-tar' 
'haskell-temporary'
+ 'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 
'haskell-typed-process'
+ 'haskell-unicode-transforms' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive'
+ 'haskell-zlib' 'haskell-bindings-uname')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/v$pkgver.tar.gz;)
+sha512sums=('786c116b4717f6e0f5ac0b5397db4834486610f511eafefe2356574545f97093fe3203824b7a3cabb2e0562e5c0443af3d93defe83751a9982727d88cafe78a7')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '54d;55d;56d;57d;58d' src/test/Stack/StoreSpec.hs
+  hpack
+  sed -i '/semigroups/d' $pkgname.cabal
+}
+
+build() {
+  cd "${srcdir}/${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-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build
+  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
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd "${srcdir}/${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"
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 stack_completion_script 
"${pkgdir}/usr/share/bash-completion/completions/stack"
+}

Copied: stack/repos/community-staging-x86_64/stack.install (from rev 349481, 

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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:24:15
  Author: felixonmars
Revision: 349481

upgpkg: stack 1.7.1-44

rebuild with th-abstraction 0.2.8.0

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:22:31 UTC (rev 349480)
+++ PKGBUILD2018-07-02 10:24:15 UTC (rev 349481)
@@ -4,7 +4,7 @@
 
 pkgname=stack
 pkgver=1.7.1
-pkgrel=43
+pkgrel=44
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:25:39
  Author: felixonmars
Revision: 349483

upgpkg: stylish-haskell 0.9.2.0-24

rebuild with th-abstraction 0.2.8.0

Modified:
  stylish-haskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:24:31 UTC (rev 349482)
+++ PKGBUILD2018-07-02 10:25:39 UTC (rev 349483)
@@ -4,7 +4,7 @@
 
 pkgname=stylish-haskell
 pkgver=0.9.2.0
-pkgrel=23
+pkgrel=24
 pkgdesc="Haskell code prettifier"
 url="https://github.com/jaspervdj/stylish-haskell;
 license=("custom:BSD3")


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

2018-07-02 Thread Evangelos Foutras via arch-commits
Date: Monday, July 2, 2018 @ 10:45:47
  Author: foutrelis
Revision: 349491

archrelease: copy trunk to community-staging-any

Added:
  python-configargparse/repos/community-staging-any/
  python-configargparse/repos/community-staging-any/PKGBUILD
(from rev 349490, python-configargparse/trunk/PKGBUILD)

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

Copied: python-configargparse/repos/community-staging-any/PKGBUILD (from rev 
349490, python-configargparse/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-02 10:45:47 UTC (rev 349491)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-configargparse
+pkgname=('python-configargparse' 'python2-configargparse')
+pkgver=0.13.0
+pkgrel=2
+pkgdesc='A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables'
+arch=('any')
+url='https://github.com/zorro3/ConfigArgParse'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-yaml' 'python2-yaml' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bw2/ConfigArgParse/archive/$pkgver.tar.gz;)
+sha512sums=('797c5edbc51353797204152b5c908ddb4e883a98f247430448d774957fd841286ea1a3cb87db3186e683a65f566cfce0a815e4bd558b9c823d9226d856341ca9')
+
+prepare() {
+  cp -a ConfigArgParse-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/ConfigArgParse-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/ConfigArgParse-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/ConfigArgParse-$pkgver
+  python setup.py test || warning 'Ignoring TestWrappingMetavar failure'
+
+  cd "$srcdir"/ConfigArgParse-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-configargparse() {
+  depends=('python')
+  optdepends=('python-yaml: for YAML support')
+
+  cd ConfigArgParse-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-configargparse() {
+  depends=('python2')
+  optdepends=('python2-yaml: for YAML support')
+
+  cd ConfigArgParse-$pkgver-py2
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


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

2018-07-02 Thread Evangelos Foutras via arch-commits
Date: Monday, July 2, 2018 @ 10:44:03
  Author: foutrelis
Revision: 349489

Ignore TestWrappingMetavar failure on Python 3.7

Also add python2-mock check dep fixing tests on Python 2.7.

Modified:
  python-configargparse/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:29:10 UTC (rev 349488)
+++ PKGBUILD2018-07-02 10:44:03 UTC (rev 349489)
@@ -10,7 +10,7 @@
 url='https://github.com/zorro3/ConfigArgParse'
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-yaml' 'python2-yaml')
+checkdepends=('python-yaml' 'python2-yaml' 'python2-mock')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/bw2/ConfigArgParse/archive/$pkgver.tar.gz;)
 
sha512sums=('797c5edbc51353797204152b5c908ddb4e883a98f247430448d774957fd841286ea1a3cb87db3186e683a65f566cfce0a815e4bd558b9c823d9226d856341ca9')
 
@@ -28,10 +28,10 @@
 
 check() {
   cd "$srcdir"/ConfigArgParse-$pkgver
-  python setup.py test
+  python setup.py test || warning 'Ignoring TestWrappingMetavar failure'
 
   cd "$srcdir"/ConfigArgParse-$pkgver-py2
-  python2 setup.py test || warning "Tests failed"
+  python2 setup.py test
 }
 
 package_python-configargparse() {


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

2018-07-02 Thread Evangelos Foutras via arch-commits
Date: Monday, July 2, 2018 @ 10:45:34
  Author: foutrelis
Revision: 349490

Python 3.7 rebuild

Modified:
  python-configargparse/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:44:03 UTC (rev 349489)
+++ PKGBUILD2018-07-02 10:45:34 UTC (rev 349490)
@@ -4,7 +4,7 @@
 pkgbase=python-configargparse
 pkgname=('python-configargparse' 'python2-configargparse')
 pkgver=0.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables'
 arch=('any')
 url='https://github.com/zorro3/ConfigArgParse'


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:04:38
  Author: felixonmars
Revision: 349464

upgpkg: pandoc 2.2.1-49

rebuild with th-abstraction 0.2.8.0

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:58:18 UTC (rev 349463)
+++ PKGBUILD2018-07-02 10:04:38 UTC (rev 349464)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc
 pkgver=2.2.1
-pkgrel=48
+pkgrel=49
 pkgdesc="Conversion between markup formats"
 url="http://pandoc.org;
 license=("GPL")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:07:57
  Author: felixonmars
Revision: 349467

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
(from rev 349466, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
349466, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:07:57 UTC (rev 349467)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.14.3.1
+pkgrel=58
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-old-locale' 
'pandoc'
+ 'haskell-pandoc-types' 'haskell-rfc5051' 'haskell-setenv' 
'haskell-split'
+ 'haskell-syb' 'haskell-tagsoup' 'haskell-temporary' 'haskell-text-icu'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-xml-conduit' 
'haskell-yaml')
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('ab3d395c77192f72fa5cf9606f3cc5fc37c00a5719a58203d4b7c6edbc032524dd8457abe292d5d7dbe5ab2eaccd545269355931451ca0835d0ac1aa3cc48414')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+# TODO: find a better solution
+sed -i 
"s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|"
 tests/test-pandoc-citeproc.hs
+}
+
+build() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/$pkgname" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils -f-static
+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
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/$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 pandoc-citeproc/trunk (PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:07:40
  Author: felixonmars
Revision: 349466

upgpkg: pandoc-citeproc 0.14.3.1-58

rebuild with th-abstraction 0.2.8.0

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:04:55 UTC (rev 349465)
+++ PKGBUILD2018-07-02 10:07:40 UTC (rev 349466)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.14.3.1
-pkgrel=57
+pkgrel=58
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:12:24
  Author: felixonmars
Revision: 349471

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 349470, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
349470, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:12:24 UTC (rev 349471)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.2.1
+pkgrel=12
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 
'haskell-data-accessor-template'
+ 'haskell-data-accessor-transformers' 'haskell-file-embed' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('224218d3a559fc6a2b574c4f62a7e99f28c25abb20f7fc2eb6b318f388d0c3e65f690c03b687964d50bb4fc87a77d79a6bebb20c196cd93f884f12c43ce1c68e')
+
+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 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+# 
https://github.com/lierdakil/pandoc-crossref/issues/181#issuecomment-398269601
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:12:08
  Author: felixonmars
Revision: 349470

upgpkg: pandoc-crossref 0.3.2.1-12

rebuild with th-abstraction 0.2.8.0

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:10:36 UTC (rev 349469)
+++ PKGBUILD2018-07-02 10:12:08 UTC (rev 349470)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.2.1
-pkgrel=11
+pkgrel=12
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


[arch-commits] Commit in python-astor/repos (3 files)

2018-07-02 Thread Evangelos Foutras via arch-commits
Date: Monday, July 2, 2018 @ 10:17:55
  Author: foutrelis
Revision: 349475

archrelease: copy trunk to community-staging-any

Added:
  python-astor/repos/community-staging-any/
  python-astor/repos/community-staging-any/PKGBUILD
(from rev 349474, python-astor/trunk/PKGBUILD)
  
python-astor/repos/community-staging-any/do-not-use-async-as-a-keyword-argument.patch
(from rev 349474, 
python-astor/trunk/do-not-use-async-as-a-keyword-argument.patch)

--+
 PKGBUILD |   56 +++
 do-not-use-async-as-a-keyword-argument.patch |  123 +
 2 files changed, 179 insertions(+)

Copied: python-astor/repos/community-staging-any/PKGBUILD (from rev 349474, 
python-astor/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-02 10:17:55 UTC (rev 349475)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-astor
+pkgname=('python-astor' 'python2-astor')
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="Read/rewrite/write Python ASTs"
+arch=('any')
+license=('BSD')
+url="http://astor.rtfd.org/;
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python2-unittest2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/berkerpeksag/astor/archive/$pkgver.tar.gz;
+do-not-use-async-as-a-keyword-argument.patch)
+sha512sums=('ccda3f0432522be1f8ada5589e56a7cb6da83a29fb8d9e0f4167fd492d7d6f55c0f4ed18af81d60340147894978b6ee8efb24edb68b92cdd78d053d5d53c6d66'
+
'ebe7126a25694b3b7df65fa5311632cec973802dd38a6d7a57c415f4b3925a1177c4d3f702e1d49b4c203296ff2fd09b4992a36c26084bb1939cd4593d903a20')
+
+prepare() {
+  # https://github.com/berkerpeksag/astor/issues/86
+  patch -d astor-$pkgver -Np1 < do-not-use-async-as-a-keyword-argument.patch
+  cp -a astor-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/astor-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/astor-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # https://github.com/berkerpeksag/astor/issues/89
+  cd "$srcdir"/astor-$pkgver
+  nosetests3 || warning "Tests failed"
+
+  cd "$srcdir"/astor-$pkgver-py2
+  nosetests2
+}
+
+package_python-astor() {
+  depends=('python')
+
+  cd astor-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-astor() {
+  depends=('python2')
+
+  cd astor-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
python-astor/repos/community-staging-any/do-not-use-async-as-a-keyword-argument.patch
 (from rev 349474, 
python-astor/trunk/do-not-use-async-as-a-keyword-argument.patch)
===
--- community-staging-any/do-not-use-async-as-a-keyword-argument.patch  
(rev 0)
+++ community-staging-any/do-not-use-async-as-a-keyword-argument.patch  
2018-07-02 10:17:55 UTC (rev 349475)
@@ -0,0 +1,123 @@
+From fe1ef7f9d746847c157197e4cb2ab6505fe19faf Mon Sep 17 00:00:00 2001
+From: Berker Peksag 
+Date: Fri, 23 Mar 2018 16:50:21 +0300
+Subject: [PATCH] Don't use 'async' as a keyword argument (#94)
+
+Fixes #86
+---
+ .travis.yml|  2 ++
+ astor/code_gen.py  | 18 +-
+ docs/changelog.rst | 21 +
+ 3 files changed, 32 insertions(+), 9 deletions(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 64bedd8..df42c87 100644
+--- a/.travis.yml
 b/.travis.yml
+@@ -9,9 +9,11 @@ python:
+   - 3.6
+   - pypy
+   - pypy3.3-5.2-alpha1
++  - 3.7-dev
+ matrix:
+   allow_failures:
+   - python: 2.6
++  - python: 3.7-dev
+ cache: pip
+ install:
+   - pip install tox-travis
+diff --git a/astor/code_gen.py b/astor/code_gen.py
+index 7c27f70..47d6acc 100644
+--- a/astor/code_gen.py
 b/astor/code_gen.py
+@@ -308,8 +308,8 @@ def visit_Expr(self, node):
+ self.statement(node)
+ self.generic_visit(node)
+ 
+-def visit_FunctionDef(self, node, async=False):
+-prefix = 'async ' if async else ''
++def visit_FunctionDef(self, node, is_async=False):
++prefix = 'async ' if is_async else ''
+ self.decorators(node, 1 if self.indentation else 2)
+ self.statement(node, '%sdef %s' % (prefix, node.name), '(')
+ self.visit_arguments(node.args)
+@@ -322,7 +322,7 @@ def visit_FunctionDef(self, node, async=False):
+ 
+ # introduced in Python 3.5
+ def visit_AsyncFunctionDef(self, node):
+-self.visit_FunctionDef(node, async=True)
++self.visit_FunctionDef(node, is_async=True)
+ 
+ def visit_ClassDef(self, node):
+ have_args = []
+@@ -364,24 +364,24 @@ def visit_If(self, node):
+ self.else_body(else_)
+ break
+ 

[arch-commits] Commit in python-astor/trunk (2 files)

2018-07-02 Thread Evangelos Foutras via arch-commits
Date: Monday, July 2, 2018 @ 10:17:51
  Author: foutrelis
Revision: 349474

Python 3.7 rebuild

Added:
  python-astor/trunk/do-not-use-async-as-a-keyword-argument.patch
Modified:
  python-astor/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 do-not-use-async-as-a-keyword-argument.patch |  123 +
 2 files changed, 130 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:15:25 UTC (rev 349473)
+++ PKGBUILD2018-07-02 10:17:51 UTC (rev 349474)
@@ -4,7 +4,7 @@
 pkgbase=python-astor
 pkgname=('python-astor' 'python2-astor')
 pkgver=0.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Read/rewrite/write Python ASTs"
 arch=('any')
 license=('BSD')
@@ -11,10 +11,14 @@
 url="http://astor.rtfd.org/;
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-nose' 'python2-nose' 'python2-unittest2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/berkerpeksag/astor/archive/$pkgver.tar.gz;)
-sha512sums=('ccda3f0432522be1f8ada5589e56a7cb6da83a29fb8d9e0f4167fd492d7d6f55c0f4ed18af81d60340147894978b6ee8efb24edb68b92cdd78d053d5d53c6d66')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/berkerpeksag/astor/archive/$pkgver.tar.gz;
+do-not-use-async-as-a-keyword-argument.patch)
+sha512sums=('ccda3f0432522be1f8ada5589e56a7cb6da83a29fb8d9e0f4167fd492d7d6f55c0f4ed18af81d60340147894978b6ee8efb24edb68b92cdd78d053d5d53c6d66'
+
'ebe7126a25694b3b7df65fa5311632cec973802dd38a6d7a57c415f4b3925a1177c4d3f702e1d49b4c203296ff2fd09b4992a36c26084bb1939cd4593d903a20')
 
 prepare() {
+  # https://github.com/berkerpeksag/astor/issues/86
+  patch -d astor-$pkgver -Np1 < do-not-use-async-as-a-keyword-argument.patch
   cp -a astor-$pkgver{,-py2}
 }
 

Added: do-not-use-async-as-a-keyword-argument.patch
===
--- do-not-use-async-as-a-keyword-argument.patch
(rev 0)
+++ do-not-use-async-as-a-keyword-argument.patch2018-07-02 10:17:51 UTC 
(rev 349474)
@@ -0,0 +1,123 @@
+From fe1ef7f9d746847c157197e4cb2ab6505fe19faf Mon Sep 17 00:00:00 2001
+From: Berker Peksag 
+Date: Fri, 23 Mar 2018 16:50:21 +0300
+Subject: [PATCH] Don't use 'async' as a keyword argument (#94)
+
+Fixes #86
+---
+ .travis.yml|  2 ++
+ astor/code_gen.py  | 18 +-
+ docs/changelog.rst | 21 +
+ 3 files changed, 32 insertions(+), 9 deletions(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 64bedd8..df42c87 100644
+--- a/.travis.yml
 b/.travis.yml
+@@ -9,9 +9,11 @@ python:
+   - 3.6
+   - pypy
+   - pypy3.3-5.2-alpha1
++  - 3.7-dev
+ matrix:
+   allow_failures:
+   - python: 2.6
++  - python: 3.7-dev
+ cache: pip
+ install:
+   - pip install tox-travis
+diff --git a/astor/code_gen.py b/astor/code_gen.py
+index 7c27f70..47d6acc 100644
+--- a/astor/code_gen.py
 b/astor/code_gen.py
+@@ -308,8 +308,8 @@ def visit_Expr(self, node):
+ self.statement(node)
+ self.generic_visit(node)
+ 
+-def visit_FunctionDef(self, node, async=False):
+-prefix = 'async ' if async else ''
++def visit_FunctionDef(self, node, is_async=False):
++prefix = 'async ' if is_async else ''
+ self.decorators(node, 1 if self.indentation else 2)
+ self.statement(node, '%sdef %s' % (prefix, node.name), '(')
+ self.visit_arguments(node.args)
+@@ -322,7 +322,7 @@ def visit_FunctionDef(self, node, async=False):
+ 
+ # introduced in Python 3.5
+ def visit_AsyncFunctionDef(self, node):
+-self.visit_FunctionDef(node, async=True)
++self.visit_FunctionDef(node, is_async=True)
+ 
+ def visit_ClassDef(self, node):
+ have_args = []
+@@ -364,24 +364,24 @@ def visit_If(self, node):
+ self.else_body(else_)
+ break
+ 
+-def visit_For(self, node, async=False):
++def visit_For(self, node, is_async=False):
+ set_precedence(node, node.target)
+-prefix = 'async ' if async else ''
++prefix = 'async ' if is_async else ''
+ self.statement(node, '%sfor ' % prefix,
+node.target, ' in ', node.iter, ':')
+ self.body_or_else(node)
+ 
+ # introduced in Python 3.5
+ def visit_AsyncFor(self, node):
+-self.visit_For(node, async=True)
++self.visit_For(node, is_async=True)
+ 
+ def visit_While(self, node):
+ set_precedence(node, node.test)
+ self.statement(node, 'while ', node.test, ':')
+ self.body_or_else(node)
+ 
+-def visit_With(self, node, async=False):
+-prefix = 'async ' if async else ''
++def visit_With(self, node, is_async=False):
++prefix = 'async ' if is_async else ''
+ self.statement(node, '%swith ' % prefix)
+ if hasattr(node, "context_expr"):  # Python < 3.3
+ 

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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:18:10
  Author: felixonmars
Revision: 349476

upgpkg: shellcheck 0.5.0-25

rebuild with th-abstraction 0.2.8.0

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:17:55 UTC (rev 349475)
+++ PKGBUILD2018-07-02 10:18:10 UTC (rev 349476)
@@ -5,7 +5,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.5.0
-pkgrel=24
+pkgrel=25
 pkgdesc="Shell script analysis tool"
 url="http://www.shellcheck.net;
 license=("GPL")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:22:14
  Author: felixonmars
Revision: 349479

Python 3.7 rebuild

Modified:
  python-betamax/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:21:16 UTC (rev 349478)
+++ PKGBUILD2018-07-02 10:22:14 UTC (rev 349479)
@@ -4,7 +4,7 @@
 pkgbase=python-betamax
 pkgname=('python-betamax' 'python2-betamax')
 pkgver=0.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A VCR imitation for python-requests"
 arch=('any')
 license=('GPL')


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

2018-07-02 Thread Evangelos Foutras via arch-commits
Date: Monday, July 2, 2018 @ 10:21:16
  Author: foutrelis
Revision: 349478

Re-enable tests

Modified:
  python-betamax/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:18:26 UTC (rev 349477)
+++ PKGBUILD2018-07-02 10:21:16 UTC (rev 349478)
@@ -19,14 +19,11 @@
 }
 
 check() {
-  # Failure about isinstance urllib3.response.HTTPResponse affects only tests.
-  # We need to investigate it more.
-
   cd "$srcdir"/betamax-$pkgver
-  python setup.py pytest || warning "Tests failed"
+  python setup.py pytest
 
   cd "$srcdir"/betamax-$pkgver-py2
-  python2 setup.py pytest || warning "Tests failed"
+  python2 setup.py pytest
 }
 
 package_python-betamax() {


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:27:46
  Author: felixonmars
Revision: 349486

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 349485, tamarin-prover/trunk/PKGBUILD)

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
349485, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:27:46 UTC (rev 349486)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.4.0
+pkgrel=43
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="http://tamarin-prover.github.io;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 'haskell-binary-orphans'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-monad-unlift'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-shakespeare' 
'haskell-threads'
+ 'haskell-wai' 'haskell-warp' 'haskell-yesod-core' 
'haskell-yesod-static'
+ 'haskell-tamarin-prover-utils' 'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz;)
+sha512sums=('7c1afe6a53b596c2ce01e9ad7a7f464af1f4efbc5f8edc13d5ec8bc32ce4e91ddde91dff6ab8e01cf3cf30a37a3a18953d937debc36c9df664f718d968e2ae74')
+
+prepare() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests
+runhaskell Setup build
+
+cd plugins/sapic
+make -j1
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/filetype.vim
+install -Dm644 etc/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+install -Dm644 etc/sapic.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:25:55
  Author: felixonmars
Revision: 349484

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 
349483, stylish-haskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:25:55 UTC (rev 349484)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stylish-haskell
+pkgver=0.9.2.0
+pkgrel=24
+pkgdesc="Haskell code prettifier"
+url="https://github.com/jaspervdj/stylish-haskell;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-file-embed' 
'haskell-optparse-applicative'
+ 'haskell-src-exts' 'haskell-strict' 'haskell-syb' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ccdbfc7f169624210590c5b60c98202709a9418bfe0aac1cf9af7e51704f7f1a2092716e1f5857056634611afbbb5d1013e2b2c3e79602a959a9725aacfba51a')
+
+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 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-old_base
+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
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+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 tamarin-prover/trunk (PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:27:29
  Author: felixonmars
Revision: 349485

upgpkg: tamarin-prover 1.4.0-43

rebuild with th-abstraction 0.2.8.0

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:25:55 UTC (rev 349484)
+++ PKGBUILD2018-07-02 10:27:29 UTC (rev 349485)
@@ -4,7 +4,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.4.0
-pkgrel=42
+pkgrel=43
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="http://tamarin-prover.github.io;
 license=("GPL")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:29:10
  Author: felixonmars
Revision: 349488

archrelease: copy trunk to community-staging-x86_64

Added:
  xmobar/repos/community-staging-x86_64/
  xmobar/repos/community-staging-x86_64/PKGBUILD
(from rev 349487, xmobar/trunk/PKGBUILD)

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 349487, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 10:29:10 UTC (rev 349488)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.26
+pkgrel=41
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-regex-base' 'haskell-regex-compat' 
'haskell-http'
+ 'haskell-dbus0.10' 'haskell-libmpd' 'haskell-iwlib' 'wireless_tools')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jaor/xmobar/archive/${pkgver}.tar.gz
+
hinotify-0.3.10.patch::https://github.com/jaor/xmobar/commit/fb0a23f395445540f865ae00b33e75e0175db4ef.patch)
+sha512sums=('c67c1552f7183a6f33b472f19686cda41cca27c0de89a8d0dcb1f8ea008aea85a143d75608d4392a1a1c9933737a6cbe881cff9ddd13f632d581cd0e10ca8d4d'
+
'53b7cca689386e976383ebbe56db877fb01896a5dfcb1e4e4e5424a9ce1ef7cc75a38dbed2bdb23e9521357c1e5945a7b58f70df07029fd38e398c6ca4891264')
+
+prepare() {
+  cd xmobar-$pkgver
+  patch -p1 -i ../hinotify-0.3.10.patch
+}
+
+build() {
+  cd xmobar-${pkgver}
+  runhaskell setup configure -O \
+--enable-shared \
+--prefix=/usr \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--flags="with_utf8 with_xft with_iwlib with_xpm with_inotify with_mpd 
with_dbus with_mpris"
+  runhaskell setup build
+}
+
+package() {
+  cd xmobar-${pkgver}
+  runhaskell setup copy --destdir="${pkgdir}"
+  install -Dm 644 license "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 10:28:53
  Author: felixonmars
Revision: 349487

upgpkg: xmobar 0.26-41

rebuild with th-abstraction 0.2.8.0

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:27:46 UTC (rev 349486)
+++ PKGBUILD2018-07-02 10:28:53 UTC (rev 349487)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.26
-pkgrel=40
+pkgrel=41
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('custom:BSD3')


[arch-commits] Commit in gst-plugins-bad/trunk (PKGBUILD)

2018-07-02 Thread Jan Steffens via arch-commits
Date: Monday, July 2, 2018 @ 08:05:30
  Author: heftig
Revision: 327910

Add aom (even though not really usable yet)

Modified:
  gst-plugins-bad/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-01 18:37:31 UTC (rev 327909)
+++ PKGBUILD2018-07-02 08:05:30 UTC (rev 327910)
@@ -13,7 +13,7 @@
  libmodplug libgme wayland libofa openjpeg2 libwebp libsrtp gnutls sbc 
rtmpdump libgudev
  libexif libdvdread libvdpau libmpeg2 wildmidi ladspa openal libusb 
vulkan-icd-loader
  libfdk-aac faac soundtouch spandsp neon webrtc-audio-processing 
libdc1394 libmpcdec zvbi
- openexr libbs2b libnice lcms2 bluez-libs glu srt)
+ openexr libbs2b libnice lcms2 bluez-libs glu srt aom)
 makedepends=(python gtk-doc autoconf-archive git gobject-introspection gtk3 
vulkan-headers
  vulkan-validation-layers librsvg libtiger zbar fluidsynth lilv 
opencv)
 _commit=fd178617d0fc3bed781d566def792f90d7825d01  # tags/1.14.1^0


[arch-commits] Commit in libdwarf/repos/community-x86_64 (PKGBUILD PKGBUILD)

2018-07-02 Thread Massimiliano Torromeo via arch-commits
Date: Monday, July 2, 2018 @ 07:58:27
  Author: mtorromeo
Revision: 349435

archrelease: copy trunk to community-x86_64

Added:
  libdwarf/repos/community-x86_64/PKGBUILD
(from rev 349434, libdwarf/trunk/PKGBUILD)
Deleted:
  libdwarf/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-02 07:58:13 UTC (rev 349434)
+++ PKGBUILD2018-07-02 07:58:27 UTC (rev 349435)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo 
-# Contributor: Alain Kalker 
-# Contributor: Marti Raudsepp 
-
-pkgname=libdwarf
-pkgver=20180129
-pkgrel=1
-pkgdesc="A library for handling DWARF Debugging Information Format"
-arch=(x86_64)
-license=('GPL' 'LGPL')
-url="https://www.prevanders.net/dwarf.html;
-depends=('elfutils')
-options+=('staticlibs')
-source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
-sha256sums=('8bd91b57064b0c14ade5a009d3a1ce819f1b6ec0e189fc876eb8f42a8720d8a6')
-
-build() {
-  cd "$srcdir"/dwarf-$pkgver
-  ./configure --prefix=/usr --enable-shared
-  make basic
-}
-
-package() {
-  cd "$srcdir"/dwarf-$pkgver/libdwarf
-
-  install -dm755 "$pkgdir"/usr/lib
-  install -m644 libdwarf.{a,so.1} "$pkgdir"/usr/lib/
-  ln -s libdwarf.so.1 "$pkgdir"/usr/lib/libdwarf.so
-
-  install -dm755 "$pkgdir"/usr/include/libdwarf
-  install -m644 dwarf.h libdwarf.h "$pkgdir"/usr/include/libdwarf/
-
-  install -dm755 "$pkgdir"/usr/share/doc/$pkgname
-  install -m644 README NEWS *.pdf "$pkgdir"/usr/share/doc/$pkgname/
-
-  # dwarfdump
-  cd "$srcdir"/dwarf-$pkgver/dwarfdump
-  install -Dm755 dwarfdump "$pkgdir"/usr/bin/dwarfdump
-  install -Dm644 dwarfdump.1 "$pkgdir"/usr/share/man/man1/dwarfdump.1
-  install -Dm644 dwarfdump.conf "$pkgdir"/usr/lib/dwarfdump.conf
-}

Copied: libdwarf/repos/community-x86_64/PKGBUILD (from rev 349434, 
libdwarf/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-02 07:58:27 UTC (rev 349435)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: Alain Kalker 
+# Contributor: Marti Raudsepp 
+
+pkgname=libdwarf
+pkgver=20180527
+pkgrel=1
+pkgdesc="A library for handling DWARF Debugging Information Format"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+url="https://www.prevanders.net/dwarf.html;
+depends=('elfutils')
+options+=('staticlibs')
+source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
+sha256sums=('47e014211f3cfef54a78e8f6dea0b211c4825724871361adf39d9706eb9b0f1f')
+
+build() {
+  cd "$srcdir"/dwarf-$pkgver
+  ./configure --prefix=/usr --enable-shared
+  make basic
+}
+
+package() {
+  cd "$srcdir"/dwarf-$pkgver/libdwarf
+
+  install -dm755 "$pkgdir"/usr/lib
+  install -m644 libdwarf.{a,so.1} "$pkgdir"/usr/lib/
+  ln -s libdwarf.so.1 "$pkgdir"/usr/lib/libdwarf.so
+
+  install -dm755 "$pkgdir"/usr/include/libdwarf
+  install -m644 dwarf.h libdwarf.h "$pkgdir"/usr/include/libdwarf/
+
+  install -dm755 "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 README NEWS *.pdf "$pkgdir"/usr/share/doc/$pkgname/
+
+  # dwarfdump
+  cd "$srcdir"/dwarf-$pkgver/dwarfdump
+  install -Dm755 dwarfdump "$pkgdir"/usr/bin/dwarfdump
+  install -Dm644 dwarfdump.1 "$pkgdir"/usr/share/man/man1/dwarfdump.1
+  install -Dm644 dwarfdump.conf "$pkgdir"/usr/lib/dwarfdump.conf
+}


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

2018-07-02 Thread Massimiliano Torromeo via arch-commits
Date: Monday, July 2, 2018 @ 07:58:13
  Author: mtorromeo
Revision: 349434

upgpkg: libdwarf 20180527-1

Modified:
  libdwarf/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-01 21:23:38 UTC (rev 349433)
+++ PKGBUILD2018-07-02 07:58:13 UTC (rev 349434)
@@ -4,7 +4,7 @@
 # Contributor: Marti Raudsepp 
 
 pkgname=libdwarf
-pkgver=20180129
+pkgver=20180527
 pkgrel=1
 pkgdesc="A library for handling DWARF Debugging Information Format"
 arch=(x86_64)
@@ -13,7 +13,7 @@
 depends=('elfutils')
 options+=('staticlibs')
 source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
-sha256sums=('8bd91b57064b0c14ade5a009d3a1ce819f1b6ec0e189fc876eb8f42a8720d8a6')
+sha256sums=('47e014211f3cfef54a78e8f6dea0b211c4825724871361adf39d9706eb9b0f1f')
 
 build() {
   cd "$srcdir"/dwarf-$pkgver


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:00:13
  Author: felixonmars
Revision: 349437

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 349436, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:00:13 UTC (rev 349437)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.70.1
+pkgrel=8
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('cea3f21c3fc8f3020d69d34572e9f91d32cd619a36f26160eab8949a517df92517c98e7fcee792888283a949222a8bc93ee6ccc397e95382bce8a5d557de569b')
+
+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
+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
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+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)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 08:59:56
  Author: felixonmars
Revision: 349436

upgpkg: hasktags 0.70.1-8

rebuild with th-abstraction 0.2.8.0

Modified:
  hasktags/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 07:58:27 UTC (rev 349435)
+++ PKGBUILD2018-07-02 08:59:56 UTC (rev 349436)
@@ -4,7 +4,7 @@
 
 pkgname=hasktags
 pkgver=0.70.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
 url="https://github.com/MarcWeber/hasktags;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:15:10
  Author: felixonmars
Revision: 349441

archrelease: copy trunk to community-staging-x86_64

Added:
  hindent/repos/community-staging-x86_64/
  hindent/repos/community-staging-x86_64/PKGBUILD
(from rev 349440, hindent/trunk/PKGBUILD)
  hindent/repos/community-staging-x86_64/ghc-8.4.patch
(from rev 349440, hindent/trunk/ghc-8.4.patch)

---+
 PKGBUILD  |   52 
 ghc-8.4.patch |   72 
 2 files changed, 124 insertions(+)

Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 349440, 
hindent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:15:10 UTC (rev 349441)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hindent
+pkgver=5.2.5
+pkgrel=47
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/commercialhaskell/hindent;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-descriptive' 'haskell-exceptions' 
'haskell-monad-loops'
+ 'haskell-path' 'haskell-path-io' 'haskell-src-exts' 
'haskell-unix-compat'
+ 'haskell-utf8-string' 'haskell-yaml')
+makedepends=('ghc' 'haskell-diff' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+ghc-8.4.patch)
+sha512sums=('72a6b57ad5a2514ae7d3dd39d87b92757c8a5c85b60daad1e883ebb20385de3d4794b5f9550653b48cf682e5476b38d5dfaf348caec05df3d4396f3aa0f743ef'
+
'32d8f5f3df69ec204afc2ec6afee28c05670137285bb6ff3978d5ae729e0e67830d7cfe7c5775dd5ced0bbd93270d9f73f8c93282f3eaaded48d023e88ccdc72')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../ghc-8.4.patch
+}
+
+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 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: hindent/repos/community-staging-x86_64/ghc-8.4.patch (from rev 349440, 
hindent/trunk/ghc-8.4.patch)
===
--- community-staging-x86_64/ghc-8.4.patch  (rev 0)
+++ community-staging-x86_64/ghc-8.4.patch  2018-07-02 09:15:10 UTC (rev 
349441)
@@ -0,0 +1,72 @@
+From f0ac1ebed87bde6d93dbe5eac42ff5b5fb23e7ee Mon Sep 17 00:00:00 2001
+From: Rob Looby 
+Date: Fri, 11 May 2018 13:12:07 -0500
+Subject: [PATCH] Make work with lts-11 and ghc-8.4.2 nightly build
+
+---
+ .travis.yml  |  6 +-
+ src/HIndent/CabalFile.hs | 28 
+ stack.yaml   |  7 ---
+ 3 files changed, 33 insertions(+), 8 deletions(-)
+
+diff --git a/src/HIndent/CabalFile.hs b/src/HIndent/CabalFile.hs
+index 083d965..d8c731e 100644
+--- a/src/HIndent/CabalFile.hs
 b/src/HIndent/CabalFile.hs
+@@ -1,14 +1,21 @@
++{-# LANGUAGE CPP #-}
++
+ module HIndent.CabalFile
+   ( getCabalExtensionsForSourcePath
+   ) where
+ 
++import qualified Data.ByteString as BS
+ import Data.List
+ import Data.Maybe
+ import Data.Traversable
+ import Distribution.ModuleName
+ import Distribution.PackageDescription
+ import Distribution.PackageDescription.Configuration
++#if MIN_VERSION_Cabal(2, 2, 0)
++import Distribution.PackageDescription.Parsec
++#else
+ import Distribution.PackageDescription.Parse
++#endif
+ import Language.Haskell.Extension
+ import qualified Language.Haskell.Exts.Extension as HSE
+ import System.Directory
+@@ -82,6 +89,19 @@ findCabalFiles dir rel = do
+ [] -> findCabalFiles (takeDirectory dir) (takeFileName dir  rel)
+ _ -> return $ Just (fmap (\n -> dir  n) cabalnames, rel)
+ 
++getGenericPackageDescription :: FilePath -> IO (Maybe 
GenericPackageDescription)
++#if MIN_VERSION_Cabal(2, 2, 0)
++getGenericPackageDescription cabalPath = do
++cabaltext <- BS.readFile cabalPath
++return $ 

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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:20:42
  Author: felixonmars
Revision: 349448

upgpkg: hledger-web 1.9.2-42

rebuild with th-abstraction 0.2.8.0

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:19:16 UTC (rev 349447)
+++ PKGBUILD2018-07-02 09:20:42 UTC (rev 349448)
@@ -4,7 +4,7 @@
 
 pkgname=hledger-web
 pkgver=1.9.2
-pkgrel=41
+pkgrel=42
 pkgdesc="Web interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


[arch-commits] Commit in r/repos/extra-x86_64 (8 files)

2018-07-02 Thread Antonio Rojas via arch-commits
Date: Monday, July 2, 2018 @ 09:48:48
  Author: arojas
Revision: 327912

archrelease: copy trunk to extra-x86_64

Added:
  r/repos/extra-x86_64/PKGBUILD
(from rev 327911, r/trunk/PKGBUILD)
  r/repos/extra-x86_64/R.conf
(from rev 327911, r/trunk/R.conf)
  r/repos/extra-x86_64/r.desktop
(from rev 327911, r/trunk/r.desktop)
  r/repos/extra-x86_64/r.png
(from rev 327911, r/trunk/r.png)
Deleted:
  r/repos/extra-x86_64/PKGBUILD
  r/repos/extra-x86_64/R.conf
  r/repos/extra-x86_64/r.desktop
  r/repos/extra-x86_64/r.png

---+
 PKGBUILD  |  175 ++--
 R.conf|4 -
 r.desktop |   22 +++
 3 files changed, 101 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-02 09:48:09 UTC (rev 327911)
+++ PKGBUILD2018-07-02 09:48:48 UTC (rev 327912)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren 
-# Contributor: Damir Perisa 
-# Contributor: K. Piche 
-
-pkgname=r
-pkgver=3.5.0
-pkgrel=1
-pkgdesc="Language and environment for statistical computing and graphics"
-arch=('x86_64')
-license=('GPL')
-url='https://www.r-project.org/'
-depends=('blas' 'lapack' 'bzip2'  'libpng' 'libjpeg' 'libtiff'
- 'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
- 'libxt' 'libxmu' 'pango' 'xz' 'zip' 'unzip' 'curl' 'icu')
-makedepends=('jdk7-openjdk' 'gcc-fortran' 'tk')
-optdepends=('tk: tcl/tk interface' 'texlive-bin: latex sty files' 
'gcc-fortran: needed to compile some CRAN packages')
-backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 
'etc/R/javaconf')
-options=('!makeflags' '!emptydirs')
-source=("https://cran.r-project.org/src/base/R-${pkgver%%.*}/R-${pkgver}.tar.gz;
-   'r.desktop'
-   'r.png'
-   'R.conf')
-sha1sums=('69f9ff4ecc78057095aedc145eb33f66f48b27ed'
-  'dd214eee232b7aced7366722ad416b6b39be8e1b'
-  'a69a07ec363440efc18ce0a7f2af103375dea978'
-  '43668da6cfd1b4455a99f23e79e2059294dddac9')
-
-prepare() {
-   cd R-${pkgver}
-   # set texmf dir correctly in makefile
-   sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
-}
-
-build() {
-   cd R-${pkgver}
-   ./configure  --prefix=/usr \
-   --libdir=/usr/lib \
-   --sysconfdir=/etc/R \
-   --datarootdir=/usr/share \
- rsharedir=/usr/share/R/ \
- rincludedir=/usr/include/R/ \
- rdocdir=/usr/share/doc/R/ \
---with-x \
-   --enable-R-shlib \
---with-lapack \
-   --with-blas \
-F77=gfortran \
-   LIBnn=lib
-   make
-
-# make libRmath.so
-   cd src/nmath/standalone
-   make shared
-}
-
-package() {
-   cd R-${pkgver}
-   make DESTDIR="${pkgdir}" install
-
-# install libRmath.so
-   cd src/nmath/standalone
-   make DESTDIR="${pkgdir}" install
-
-   #  Fixup R wrapper scripts.
-   sed -i "s|${pkgdir} ||" "${pkgdir}/usr/bin/R"
-   rm "${pkgdir}/usr/lib/R/bin/R"
-   cd "${pkgdir}/usr/lib/R/bin"
-   ln -s ../../../bin/R
-
-  # install some freedesktop.org compatibility
-  install -Dm644 "${srcdir}/r.desktop" \
-   "${pkgdir}/usr/share/applications/r.desktop"
-  install -Dm644 "${srcdir}/r.png" \
-   "${pkgdir}/usr/share/pixmaps/r.png"
-
-  # move the config directory to /etc and create symlinks
-  install -d "${pkgdir}/etc/R"
-  cd "${pkgdir}/usr/lib/R/etc"
-  for i in *; do
-mv -f ${i} "${pkgdir}/etc/R"
-ln -s /etc/R/${i} ${i}
-  done
-
-  # Install ld.so.conf.d file to ensure other applications access the shared 
lib
-  install -Dm644 "${srcdir}/R.conf" "${pkgdir}/etc/ld.so.conf.d/R.conf"
-}

Copied: r/repos/extra-x86_64/PKGBUILD (from rev 327911, r/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-02 09:48:48 UTC (rev 327912)
@@ -0,0 +1,88 @@
+# $Id$
+# Maintainer: Ronald van Haren 
+# Contributor: Damir Perisa 
+# Contributor: K. Piche 
+
+pkgname=r
+pkgver=3.5.1
+pkgrel=1
+pkgdesc="Language and environment for statistical computing and graphics"
+arch=('x86_64')
+license=('GPL')
+url='https://www.r-project.org/'
+depends=('blas' 'lapack' 'bzip2'  'libpng' 'libjpeg' 'libtiff'
+ 'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
+ 'libxt' 'libxmu' 'pango' 'xz' 'zip' 'unzip' 'curl' 'icu')
+makedepends=('jdk7-openjdk' 'gcc-fortran' 'tk')
+optdepends=('tk: tcl/tk interface' 'texlive-bin: latex sty files' 
'gcc-fortran: needed to compile some CRAN packages'
+'openblas: faster linear algebra')
+backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 
'etc/R/javaconf')
+options=('!makeflags' '!emptydirs')
+source=("https://cran.r-project.org/src/base/R-${pkgver%%.*}/R-${pkgver}.tar.gz;
+   'r.desktop'
+   'r.png'
+   'R.conf')

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

2018-07-02 Thread Antonio Rojas via arch-commits
Date: Monday, July 2, 2018 @ 09:48:09
  Author: arojas
Revision: 327911

Update to 3.5.1

Modified:
  r/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 08:05:30 UTC (rev 327910)
+++ PKGBUILD2018-07-02 09:48:09 UTC (rev 327911)
@@ -4,7 +4,7 @@
 # Contributor: K. Piche 
 
 pkgname=r
-pkgver=3.5.0
+pkgver=3.5.1
 pkgrel=1
 pkgdesc="Language and environment for statistical computing and graphics"
 arch=('x86_64')
@@ -14,7 +14,8 @@
  'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
  'libxt' 'libxmu' 'pango' 'xz' 'zip' 'unzip' 'curl' 'icu')
 makedepends=('jdk7-openjdk' 'gcc-fortran' 'tk')
-optdepends=('tk: tcl/tk interface' 'texlive-bin: latex sty files' 
'gcc-fortran: needed to compile some CRAN packages')
+optdepends=('tk: tcl/tk interface' 'texlive-bin: latex sty files' 
'gcc-fortran: needed to compile some CRAN packages'
+'openblas: faster linear algebra')
 backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories' 
'etc/R/javaconf')
 options=('!makeflags' '!emptydirs')
 
source=("https://cran.r-project.org/src/base/R-${pkgver%%.*}/R-${pkgver}.tar.gz;
@@ -21,7 +22,7 @@
'r.desktop'
'r.png'
'R.conf')
-sha1sums=('69f9ff4ecc78057095aedc145eb33f66f48b27ed'
+sha1sums=('9314d3d372b05546a33791fbc8dd579c92ebd16b'
   'dd214eee232b7aced7366722ad416b6b39be8e1b'
   'a69a07ec363440efc18ce0a7f2af103375dea978'
   '43668da6cfd1b4455a99f23e79e2059294dddac9')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:55:18
  Author: felixonmars
Revision: 349460

upgpkg: idris 1.3.0-21

rebuild with th-abstraction 0.2.8.0

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:36:40 UTC (rev 349459)
+++ PKGBUILD2018-07-02 09:55:18 UTC (rev 349460)
@@ -4,7 +4,7 @@
 
 pkgname=idris
 pkgver=1.3.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Functional Programming Language with Dependent Types"
 url="http://www.idris-lang.org/;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:55:34
  Author: felixonmars
Revision: 349461

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 349460, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 349460, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:55:34 UTC (rev 349461)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.0
+pkgrel=21
+pkgdesc="Functional Programming Language with Dependent Types"
+url="http://www.idris-lang.org/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 'haskell-regex-tdfa' 
'haskell-safe'
+ 'haskell-split' 'haskell-terminal-size' 'haskell-uniplate' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-vector' 
'haskell-vector-binary-instances'
+ 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-tagged' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz;)
+sha512sums=('d015d643e0c121702c8e1a8a27db0a4f071fae35437bb4835314e70499b1eae123ab92d8272f0b91fae6d03b46cceee887e27935c950341c0905a4cdb43cbb84')
+
+prepare() {
+cd Idris-dev-$pkgver
+
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i -e 's/<.*1.3/<2/' -e 's/<.*2.7/<3/' idris.cabal
+}
+
+build() {
+cd Idris-dev-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly
+LC_CTYPE=en_US.UTF-8 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
+}
+
+check() {
+cd Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" runhaskell 
Setup test || warning "Tests failed"
+}
+
+package() {
+cd Idris-dev-$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 elisa/trunk (PKGBUILD)

2018-07-02 Thread Antonio Rojas via arch-commits
Date: Monday, July 2, 2018 @ 09:57:56
  Author: arojas
Revision: 349462

Update to 0.2.0

Modified:
  elisa/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:55:34 UTC (rev 349461)
+++ PKGBUILD2018-07-02 09:57:56 UTC (rev 349462)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=elisa
-pkgver=0.1.1
+pkgver=0.2.0
 pkgrel=1
 pkgdesc='A simple music player aiming to provide a nice experience for its 
users'
 url='https://community.kde.org/Elisa'
@@ -10,7 +10,7 @@
 depends=(baloo qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects 
kcmutils) # upnp-player-qt
 makedepends=(extra-cmake-modules kdoctools)
 
source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('3ca7dce9092de422cea82f37fa16613e5aa969cfdae016dce87d38a46d8c463b'
+sha256sums=('4cf7f8a170c706fb220c641053e5141106effdd651575fd215efb2f9e2708d2b'
 'SKIP')
 validpgpkeys=(267BF70F7905C2723B0243267D0F74F05C22F553) # Matthieu Gallien 

 
@@ -22,6 +22,7 @@
   cd build 
   cmake ../$pkgname-$pkgver \
 -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
 -DBUILD_TESTING=OFF 
   make
 }


[arch-commits] Commit in elisa/repos/community-x86_64 (PKGBUILD PKGBUILD)

2018-07-02 Thread Antonio Rojas via arch-commits
Date: Monday, July 2, 2018 @ 09:58:18
  Author: arojas
Revision: 349463

archrelease: copy trunk to community-x86_64

Added:
  elisa/repos/community-x86_64/PKGBUILD
(from rev 349462, elisa/trunk/PKGBUILD)
Deleted:
  elisa/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   65 ++---
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-02 09:57:56 UTC (rev 349462)
+++ PKGBUILD2018-07-02 09:58:18 UTC (rev 349463)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas 
-
-pkgname=elisa
-pkgver=0.1.1
-pkgrel=1
-pkgdesc='A simple music player aiming to provide a nice experience for its 
users'
-url='https://community.kde.org/Elisa'
-arch=(x86_64)
-license=(LGPL3)
-depends=(baloo qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects 
kcmutils) # upnp-player-qt
-makedepends=(extra-cmake-modules kdoctools)
-source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('3ca7dce9092de422cea82f37fa16613e5aa969cfdae016dce87d38a46d8c463b'
-'SKIP')
-validpgpkeys=(267BF70F7905C2723B0243267D0F74F05C22F553) # Matthieu Gallien 

-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build 
-  cmake ../$pkgname-$pkgver \
--DCMAKE_INSTALL_PREFIX=/usr \
--DBUILD_TESTING=OFF 
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: elisa/repos/community-x86_64/PKGBUILD (from rev 349462, 
elisa/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-02 09:58:18 UTC (rev 349463)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=elisa
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='A simple music player aiming to provide a nice experience for its 
users'
+url='https://community.kde.org/Elisa'
+arch=(x86_64)
+license=(LGPL3)
+depends=(baloo qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects 
kcmutils) # upnp-player-qt
+makedepends=(extra-cmake-modules kdoctools)
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('4cf7f8a170c706fb220c641053e5141106effdd651575fd215efb2f9e2708d2b'
+'SKIP')
+validpgpkeys=(267BF70F7905C2723B0243267D0F74F05C22F553) # Matthieu Gallien 

+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build 
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF 
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:17:47
  Author: felixonmars
Revision: 349444

upgpkg: hledger-api 1.9.1-37

rebuild with th-abstraction 0.2.8.0

Modified:
  hledger-api/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 09:16:36 UTC (rev 349443)
+++ PKGBUILD2018-07-02 09:17:47 UTC (rev 349444)
@@ -4,7 +4,7 @@
 
 pkgname=hledger-api
 pkgver=1.9.1
-pkgrel=36
+pkgrel=37
 pkgdesc="Web API server for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:19:16
  Author: felixonmars
Revision: 349447

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-ui/repos/community-staging-x86_64/
  hledger-ui/repos/community-staging-x86_64/PKGBUILD
(from rev 349446, hledger-ui/trunk/PKGBUILD)

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 349446, 
hledger-ui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:19:16 UTC (rev 349447)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-ui
+pkgver=1.9.1
+pkgrel=27
+pkgdesc="Curses-style user interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-ansi-terminal' 
'haskell-async'
+ 'haskell-base-compat' 'haskell-cmdargs' 'haskell-data-default' 
'haskell-fsnotify'
+ 'haskell-hunit' 'haskell-microlens' 'haskell-microlens-platform' 
'haskell-megaparsec'
+ 'haskell-pretty-show' 'haskell-safe' 'haskell-split' 
'haskell-text-zipper'
+ 'haskell-vector' 'haskell-brick' 'haskell-vty')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('09d6a6d7db923adcf659d778061e49fd9cb204c99326d7a8c5201412190633b99f45928805a2fcf25ab1439b9ee4f4534d0057c0a1f3f3f83422f0a7f0266173')
+
+prepare() {
+# It does nothing
+sed -e '/mtl-compat/d' \
+-i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+-fthreaded
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:18:03
  Author: felixonmars
Revision: 349445

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-api/repos/community-staging-x86_64/
  hledger-api/repos/community-staging-x86_64/PKGBUILD
(from rev 349444, hledger-api/trunk/PKGBUILD)

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

Copied: hledger-api/repos/community-staging-x86_64/PKGBUILD (from rev 349444, 
hledger-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:18:03 UTC (rev 349445)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-api
+pkgver=1.9.1
+pkgrel=37
+pkgdesc="Web API server for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-docopt' 'haskell-either' 
'haskell-microlens'
+ 'haskell-microlens-platform' 'haskell-safe' 'haskell-servant-server'
+ 'haskell-servant-swagger' 'haskell-swagger2' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('95015d582907be112b2cf910139850f147e2efd96d42436e12434d9977133db1dbbd39e97ba35247ccb1d84b754ebd15d5195ebe8d93f31df0f9651b37359c37')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 09:22:27
  Author: felixonmars
Revision: 349451

archrelease: copy trunk to community-staging-x86_64

Added:
  hlint/repos/community-staging-x86_64/
  hlint/repos/community-staging-x86_64/PKGBUILD
(from rev 349450, hlint/trunk/PKGBUILD)

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

Copied: hlint/repos/community-staging-x86_64/PKGBUILD (from rev 349450, 
hlint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 09:22:27 UTC (rev 349451)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hlint
+pkgver=2.1.6
+pkgrel=10
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 
'haskell-cpphs'
+ 'haskell-data-default' 'haskell-extra' 'haskell-hscolour' 
'haskell-refact'
+ 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+conflicts=('haskell-hlint')
+replaces=('haskell-hlint')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ce84369110430674438f930123a3824086dba4ddd87ed55ab8d1a7bc25682652495f6c738d718c82d45f74cfafa64c5f607f62a4aabf7d19cfbb3453e4a4420b')
+
+build() {
+cd "${srcdir}/${pkgname}-${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 \
+-fgpl -fthreaded
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${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}/COPYING.BSD3"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:35:28
  Author: felixonmars
Revision: 349662

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pysendfile/repos/community-staging-x86_64/
  python-pysendfile/repos/community-staging-x86_64/PKGBUILD
(from rev 349661, python-pysendfile/trunk/PKGBUILD)

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

Copied: python-pysendfile/repos/community-staging-x86_64/PKGBUILD (from rev 
349661, python-pysendfile/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:35:28 UTC (rev 349662)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Simon Sapin 
+# Contributor: Kyle Keen 
+
+pkgbase=python-pysendfile
+pkgname=(python-pysendfile python2-pysendfile)
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A Python interface to sendfile(2) syscall"
+url="https://github.com/giampaolo/pysendfile;
+license=('MIT')
+arch=('x86_64')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/p/pysendfile/pysendfile-$pkgver.tar.gz;)
+sha512sums=('d6ee08eb251fac30c90a9ee829fd992f3620697eef2893ced5a2c6273486c3c5fd35c70962585a8d747d578817391f91c929bfeeba8c4485d52a15748229ca9c')
+
+prepare() {
+  cp -a pysendfile-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pysendfile-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pysendfile-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pysendfile-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7" python test/test_sendfile.py
+
+  cd "$srcdir"/pysendfile-$pkgver-py2
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7" python2 test/test_sendfile.py
+}
+
+package_python-pysendfile() {
+  depends=('python')
+
+  cd pysendfile-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pysendfile() {
+  depends=('python2')
+
+  cd pysendfile-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:35:11
  Author: felixonmars
Revision: 349661

Python 3.7 rebuild

Modified:
  python-pysendfile/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:34:07 UTC (rev 349660)
+++ PKGBUILD2018-07-02 12:35:11 UTC (rev 349661)
@@ -6,7 +6,7 @@
 pkgbase=python-pysendfile
 pkgname=(python-pysendfile python2-pysendfile)
 pkgver=2.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python interface to sendfile(2) syscall"
 url="https://github.com/giampaolo/pysendfile;
 license=('MIT')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:43:24
  Author: felixonmars
Revision: 349664

archrelease: copy trunk to community-x86_64

Added:
  v2ray/repos/community-x86_64/PKGBUILD
(from rev 349663, v2ray/trunk/PKGBUILD)
  v2ray/repos/community-x86_64/v2ray.service
(from rev 349663, v2ray/trunk/v2ray.service)
Deleted:
  v2ray/repos/community-x86_64/PKGBUILD
  v2ray/repos/community-x86_64/v2ray.service

---+
 PKGBUILD  |   92 
 v2ray.service |   26 +++
 2 files changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-02 12:42:55 UTC (rev 349663)
+++ PKGBUILD2018-07-02 12:43:24 UTC (rev 349664)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: pandada8 
-
-pkgname=v2ray
-pkgver=3.27
-pkgrel=1
-pkgdesc="A platform for building proxies to bypass network restrictions"
-arch=('x86_64')
-url="https://github.com/v2ray/v2ray-core;
-license=('MIT')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz;
-'v2ray.service')
-sha512sums=('1460361f7365e0db390aa47147e61c1714e84217fe4383c40e929acc66315b52df7dfbfbfb27cb3e9a36c04906ef50f718541009d8f3ee237e2b9252a7ace4af'
-
'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
-
-prepare() {
-  export GOPATH="$srcdir/build"
-  go get v2ray.com/core github.com/miekg/dns golang.org/x/sys/unix 
v2ray.com/ext/assert \
- github.com/gorilla/websocket golang.org/x/crypto/chacha20poly1305 
golang.org/x/crypto/sha3 \
- v2ray.com/ext golang.org/x/net/proxy 
github.com/google/go-github/github golang.org/x/oauth2 \
- github.com/gogo/protobuf/proto google.golang.org/grpc
-  go install v2ray.com/ext/tools/build/vbuild
-}
-
-build() {
-  cd v2ray-core-$pkgver
-  "$GOPATH"/bin/vbuild
-}
-
-check() {
-  cd v2ray-core-$pkgver
-  go test -p 1 -tags json -v v2ray.com/core/...
-}
-
-package() {
-  cd v2ray-core-$pkgver
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
-  install -Dm644 release/config/systemd/v2ray.service 
${pkgdir}/usr/lib/systemd/system/v2ray.service
-  sed -i '/ExecStart/c\ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray 
/usr/bin/v2ray -config /etc/v2ray/config.json' 
"$pkgdir"/usr/lib/systemd/system/v2ray.service
-  install -Dm644 release/config/geoip.dat release/config/geosite.dat 
release/config/*.json -t "$pkgdir"/etc/v2ray/
-  install -Dm755 "$GOPATH"/bin/v2ray-custom-linux-64/{v2ray,v2ctl} -t 
"$pkgdir"/usr/bin/
-
-  install -Dm644 "$srcdir"/v2ray.service 
"$pkgdir"/usr/lib/systemd/system/v2ray@.service
-}

Copied: v2ray/repos/community-x86_64/PKGBUILD (from rev 349663, 
v2ray/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-02 12:43:24 UTC (rev 349664)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: pandada8 
+
+pkgname=v2ray
+pkgver=3.28
+pkgrel=1
+pkgdesc="A platform for building proxies to bypass network restrictions"
+arch=('x86_64')
+url="https://github.com/v2ray/v2ray-core;
+license=('MIT')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz;
+'v2ray.service')
+sha512sums=('13deb39a4848e4bb9ca3a6ec29b23c2b92e900bcb19876e3ccba5314087a0fb9285d69632958e1f77c81a7c8b3223293ada3b79523dc4d3505b93619d1270623'
+
'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
+
+prepare() {
+  export GOPATH="$srcdir/build"
+  go get v2ray.com/core github.com/miekg/dns golang.org/x/sys/unix 
v2ray.com/ext/assert \
+ github.com/gorilla/websocket golang.org/x/crypto/chacha20poly1305 
golang.org/x/crypto/sha3 \
+ v2ray.com/ext golang.org/x/net/proxy 
github.com/google/go-github/github golang.org/x/oauth2 \
+ github.com/gogo/protobuf/proto google.golang.org/grpc
+  go install v2ray.com/ext/tools/build/vbuild
+}
+
+build() {
+  cd v2ray-core-$pkgver
+  "$GOPATH"/bin/vbuild
+}
+
+check() {
+  cd v2ray-core-$pkgver
+  go test -p 1 -tags json -v v2ray.com/core/...
+}
+
+package() {
+  cd v2ray-core-$pkgver
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
+  install -Dm644 release/config/systemd/v2ray.service 
${pkgdir}/usr/lib/systemd/system/v2ray.service
+  sed -i '/ExecStart/c\ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray 
/usr/bin/v2ray -config /etc/v2ray/config.json' 
"$pkgdir"/usr/lib/systemd/system/v2ray.service
+  install -Dm644 release/config/geoip.dat release/config/geosite.dat 
release/config/*.json -t "$pkgdir"/etc/v2ray/
+  install -Dm755 "$GOPATH"/bin/v2ray-custom-linux-64/{v2ray,v2ctl} -t 
"$pkgdir"/usr/bin/
+
+  install -Dm644 

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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:42:55
  Author: felixonmars
Revision: 349663

upgpkg: v2ray 3.28-1

Modified:
  v2ray/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:35:28 UTC (rev 349662)
+++ PKGBUILD2018-07-02 12:42:55 UTC (rev 349663)
@@ -3,7 +3,7 @@
 # Contributor: pandada8 
 
 pkgname=v2ray
-pkgver=3.27
+pkgver=3.28
 pkgrel=1
 pkgdesc="A platform for building proxies to bypass network restrictions"
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('go' 'git')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz;
 'v2ray.service')
-sha512sums=('1460361f7365e0db390aa47147e61c1714e84217fe4383c40e929acc66315b52df7dfbfbfb27cb3e9a36c04906ef50f718541009d8f3ee237e2b9252a7ace4af'
+sha512sums=('13deb39a4848e4bb9ca3a6ec29b23c2b92e900bcb19876e3ccba5314087a0fb9285d69632958e1f77c81a7c8b3223293ada3b79523dc4d3505b93619d1270623'
 
'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
 
 prepare() {


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:47:15
  Author: felixonmars
Revision: 349667

upgpkg: haskell-bifunctors 5.5.2-24

rebuild with comonad 5.0.4

Modified:
  haskell-bifunctors/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:46:18 UTC (rev 349666)
+++ PKGBUILD2018-07-02 12:47:15 UTC (rev 349667)
@@ -5,7 +5,7 @@
 _hkgname=bifunctors
 pkgname=haskell-bifunctors
 pkgver=5.5.2
-pkgrel=23
+pkgrel=24
 pkgdesc="Bifunctors"
 url="https://github.com/ekmett/bifunctors/;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:46:18
  Author: felixonmars
Revision: 349666

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-comonad/repos/community-staging-x86_64/PKGBUILD (from rev 
349665, haskell-comonad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:46:18 UTC (rev 349666)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=comonad
+pkgname=haskell-comonad
+pkgver=5.0.4
+pkgrel=1
+pkgdesc="Comonads"
+url="https://github.com/ekmett/comonad/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-distributive' 
'haskell-tagged'
+ 'haskell-transformers-compat')
+makedepends=('haskell-cabal-doctest' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('06537fed3fb26a776384c1b8601e82571d6a9ef62a73eb145fe04f7f00eb0a8994b93e5ec36b235545de568e552ca2e77347a25c87ee4237dcddca41f31ec974')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+sed -i 's/#if MIN_VERSION_semigroups.*/#if 1/' 
src/Control/Comonad/Env/Class.hs src/Control/Comonad.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fdistributive -fcontravariant -fcontainers -ftest-doctests
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:47:34
  Author: felixonmars
Revision: 349668

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-bifunctors/repos/community-staging-x86_64/PKGBUILD (from rev 
349667, haskell-bifunctors/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:47:34 UTC (rev 349668)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=bifunctors
+pkgname=haskell-bifunctors
+pkgver=5.5.2
+pkgrel=24
+pkgdesc="Bifunctors"
+url="https://github.com/ekmett/bifunctors/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-comonad' 'haskell-tagged'
+ 'haskell-th-abstraction' 'haskell-transformers-compat')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1e9eee61a25b6e0dafb3de200dfbc11b6b82a9691065aa8bfa4ad8a04e040cd395220724f209f0adca018fdc6d0b3fad7232c2f490a9a6e51c6181c0802a9de2')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/<.*2.13/<3/' \
+-e 's/<.*0.6/<1/' \
+-i $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-ftagged -f-semigroups
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:49:59
  Author: felixonmars
Revision: 349673

upgpkg: haskell-lucid 2.9.10-18

rebuild with comonad 5.0.4

Modified:
  haskell-lucid/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:48:57 UTC (rev 349672)
+++ PKGBUILD2018-07-02 12:49:59 UTC (rev 349673)
@@ -4,7 +4,7 @@
 _hkgname=lucid
 pkgname=haskell-lucid
 pkgver=2.9.10
-pkgrel=17
+pkgrel=18
 pkgdesc="Clear to write, read and edit DSL for HTML"
 url="https://github.com/chrisdone/lucid;
 license=('custom:BSD3')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:48:57
  Author: felixonmars
Revision: 349672

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-descriptive/repos/community-staging-x86_64/PKGBUILD (from rev 
349671, haskell-descriptive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:48:57 UTC (rev 349672)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=descriptive
+pkgname=haskell-descriptive
+pkgver=0.9.4
+pkgrel=118
+pkgdesc="Self-describing consumers/parsers; forms, cmd-line args, JSON, etc."
+url="https://github.com/chrisdone/descriptive;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-bifunctors" "haskell-scientific"
+ "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
https://github.com/chrisdone/descriptive/commit/8a0cad89a6106b162bd5507b51b7a5f3a25105a7.patch)
+sha256sums=('795ec65756bf87ec6ea4c92d85a25d0eb0d8cfa1df40685ddcf74b83099bba2f'
+'4c610a09a74489e9898d14f37ccaefb35e9729e3533d265aaa38830267a31d24')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../8a0cad89a6106b162bd5507b51b7a5f3a25105a7.patch || :
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" 
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:51:57
  Author: felixonmars
Revision: 349677

upgpkg: haskell-foldl 1.4.1-3

rebuild with comonad 5.0.4

Modified:
  haskell-foldl/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:51:15 UTC (rev 349676)
+++ PKGBUILD2018-07-02 12:51:57 UTC (rev 349677)
@@ -5,7 +5,7 @@
 _hkgname=foldl
 pkgname=haskell-foldl
 pkgver=1.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Composable, streaming, and efficient left folds"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:51:15
  Author: felixonmars
Revision: 349676

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-profunctors/repos/community-staging-x86_64/PKGBUILD (from rev 
349675, haskell-profunctors/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:51:15 UTC (rev 349676)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=profunctors
+pkgname=haskell-profunctors
+pkgver=5.2.2
+pkgrel=27
+pkgdesc="Profunctors"
+url="https://github.com/ekmett/profunctors/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-bifunctors' 
'haskell-comonad'
+ 'haskell-contravariant' 'haskell-distributive' 'haskell-tagged')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5b67bb2a63b618e0efaf2aa889a80349549f136670ae598cd90e5f20e9d6dce4ad7b2cdf3af08b03c73ca1e1355fc7dc99a9efc885458037329d81e1b59fe1e0')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/<.*0.7/<1/' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:05:14
  Author: felixonmars
Revision: 349697

upgpkg: haskell-esqueleto 2.5.3.20180402-29

rebuild with comonad 5.0.4

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 13:04:13 UTC (rev 349696)
+++ PKGBUILD2018-07-02 13:05:14 UTC (rev 349697)
@@ -6,7 +6,7 @@
 pkgname=haskell-esqueleto
 pkgver=2.5.3.20180402
 _commit=b81e0d951e510ebffca03c5a58658ad884cc6fbd
-pkgrel=28
+pkgrel=29
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:06:24
  Author: felixonmars
Revision: 349699

upgpkg: haskell-persistent-template 2.5.4-56

rebuild with comonad 5.0.4

Modified:
  haskell-persistent-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 13:05:31 UTC (rev 349698)
+++ PKGBUILD2018-07-02 13:06:24 UTC (rev 349699)
@@ -5,7 +5,7 @@
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
 pkgver=2.5.4
-pkgrel=55
+pkgrel=56
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:05:31
  Author: felixonmars
Revision: 349698

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
349697, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 13:05:31 UTC (rev 349698)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=2.5.3.20180402
+_commit=b81e0d951e510ebffca03c5a58658ad884cc6fbd
+pkgrel=29
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-persistent' 'haskell-resourcet' 'haskell-tagged' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("$pkgname-$_commit.tar.gz::https://github.com/bitemyapp/esqueleto/archive/$_commit.tar.gz;)
+sha512sums=('27e1c7c3dc8598a4b57fa9c30f9121d4858653e64ad1a92fc3d82c487374fe4cc48246924890812198d58c25a3d3f9110a35c0ef27d9040ea15e4559c1c3355f')
+
+prepare() {
+mv $_hkgname-{$_commit,$pkgver}
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-mysql -f-postgresql
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:10:27
  Author: felixonmars
Revision: 349707

upgpkg: haskell-semigroupoids 5.2.2-32

rebuild with comonad 5.0.4

Modified:
  haskell-semigroupoids/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 13:09:40 UTC (rev 349706)
+++ PKGBUILD2018-07-02 13:10:27 UTC (rev 349707)
@@ -5,7 +5,7 @@
 _hkgname=semigroupoids
 pkgname=haskell-semigroupoids
 pkgver=5.2.2
-pkgrel=31
+pkgrel=32
 pkgdesc="Semigroupoids: Category sans id"
 url="https://github.com/ekmett/semigroupoids;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:09:40
  Author: felixonmars
Revision: 349706

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sandi/repos/community-staging-x86_64/PKGBUILD (from rev 349705, 
haskell-sandi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 13:09:40 UTC (rev 349706)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sandi
+pkgname=haskell-sandi
+pkgver=0.4.2
+pkgrel=22
+pkgdesc="Data encoding library"
+url="https://hackage.haskell.org/package/sandi;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-conduit" "haskell-exceptions" 
"haskell-stringsearch")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1fb255ca358c83a46121f930cbcbe4892f3c6d7b2830f4ba497faceeb9f1f5bb6046f1043c2c65b552e4afc0be1f413852db5b8e2054a476cacbe0d3fb4ee4a0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fwith-conduit
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:12:33
  Author: felixonmars
Revision: 349712

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-either/repos/community-staging-x86_64/PKGBUILD (from rev 
349711, haskell-either/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 13:12:33 UTC (rev 349712)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=either
+pkgname=haskell-either
+pkgver=5
+pkgrel=62
+pkgdesc="An either monad transformer"
+url="https://github.com/ekmett/either/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-profunctors' 
'haskell-semigroupoids')
+makedepends=('ghc' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('30db0dcbb6631a7facdd6a01a5363a2d0845d9101791d70e42bc8dad77d0a5ec24baceb3be2d7ba68a03a3b9bf68e5d3cc8f132a43d7c5e66cc0b316c657c613')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:10:44
  Author: felixonmars
Revision: 349708

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-semigroupoids/repos/community-staging-x86_64/PKGBUILD (from rev 
349707, haskell-semigroupoids/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 13:10:44 UTC (rev 349708)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=semigroupoids
+pkgname=haskell-semigroupoids
+pkgver=5.2.2
+pkgrel=32
+pkgdesc="Semigroupoids: Category sans id"
+url="https://github.com/ekmett/semigroupoids;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-bifunctors' 
'haskell-comonad' 'haskell-contravariant'
+ 'haskell-distributive' 'haskell-hashable' 'haskell-tagged' 
'haskell-transformers-compat'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8a972716a0d74bf9e539864614cd7b0ccede283efdb7a4f84ca691ec89fbe1aa9e2322e79c608adce9904a06457294a071007ba1eb84475896e41d629c60b90c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/<.*0.14/<1/' -e '/semigroups/d' -e 's/<.*0.6/<1/' -i 
$_hkgname.cabal
+sed -i 's/#if MIN_VERSION_semigroups.*/#if 1/' 
src/Data/Semigroup/Traversable/Class.hs src/Data/Semigroup/Foldable/Class.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 \
+-ftagged -fcomonad -fdoctests -fdistributive -fcontravariant 
-fcontainers -funordered-containers
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:11:39
  Author: felixonmars
Revision: 349710

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-checkers/repos/community-staging-x86_64/PKGBUILD (from rev 
349709, haskell-checkers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 13:11:39 UTC (rev 349710)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=checkers
+pkgname=haskell-checkers
+pkgver=0.4.10
+pkgrel=19
+pkgdesc="Check properties on standard classes and data structures"
+url="https://github.com/conal/checkers;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random' 'haskell-quickcheck' 
'haskell-semigroupoids')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b2884143505e8025d436d6792dded2df74b81070d9313f9f5f864a2b630479cd344fa00181a38bcce100b970d5a561b02509728bf26c73ad9ba0222c4be429be')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:11:22
  Author: felixonmars
Revision: 349709

upgpkg: haskell-checkers 0.4.10-19

rebuild with comonad 5.0.4

Modified:
  haskell-checkers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 13:10:44 UTC (rev 349708)
+++ PKGBUILD2018-07-02 13:11:22 UTC (rev 349709)
@@ -4,7 +4,7 @@
 _hkgname=checkers
 pkgname=haskell-checkers
 pkgver=0.4.10
-pkgrel=18
+pkgrel=19
 pkgdesc="Check properties on standard classes and data structures"
 url="https://github.com/conal/checkers;
 license=('custom:BSD3')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:12:17
  Author: felixonmars
Revision: 349711

upgpkg: haskell-either 5-62

rebuild with comonad 5.0.4

Modified:
  haskell-either/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 13:11:39 UTC (rev 349710)
+++ PKGBUILD2018-07-02 13:12:17 UTC (rev 349711)
@@ -5,7 +5,7 @@
 _hkgname=either
 pkgname=haskell-either
 pkgver=5
-pkgrel=61
+pkgrel=62
 pkgdesc="An either monad transformer"
 url="https://github.com/ekmett/either/;
 license=("custom:BSD3")


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

2018-07-02 Thread Eli Schwartz via arch-commits
Date: Monday, July 2, 2018 @ 12:34:07
  Author: eschwartz
Revision: 349660

Fix build on python 3.7

Modified:
  python-pysendfile/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 10:52:26 UTC (rev 349659)
+++ PKGBUILD2018-07-02 12:34:07 UTC (rev 349660)
@@ -29,7 +29,7 @@
 
 check() {
   cd "$srcdir"/pysendfile-$pkgver
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6" python test/test_sendfile.py
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7" python test/test_sendfile.py
 
   cd "$srcdir"/pysendfile-$pkgver-py2
   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7" python2 test/test_sendfile.py


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:46:01
  Author: felixonmars
Revision: 349665

upgpkg: haskell-comonad 5.0.4-1

rebuild with comonad 5.0.4

Modified:
  haskell-comonad/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:43:24 UTC (rev 349664)
+++ PKGBUILD2018-07-02 12:46:01 UTC (rev 349665)
@@ -4,8 +4,8 @@
 
 _hkgname=comonad
 pkgname=haskell-comonad
-pkgver=5.0.3
-pkgrel=12
+pkgver=5.0.4
+pkgrel=1
 pkgdesc="Comonads"
 url="https://github.com/ekmett/comonad/;
 license=("custom:BSD3")
@@ -14,7 +14,7 @@
  'haskell-transformers-compat')
 makedepends=('haskell-cabal-doctest' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('797ac24fc07821f84155a7806be0fc812980ded68c17f4fbbab4cc224dba97f0e6d1364a3f55112cf45e9486c4e19f68f5141e80741c4aeabbbc7c31c8468fde')
+sha512sums=('06537fed3fb26a776384c1b8601e82571d6a9ef62a73eb145fe04f7f00eb0a8994b93e5ec36b235545de568e552ca2e77347a25c87ee4237dcddca41f31ec974')
 
 prepare() {
 cd $_hkgname-$pkgver


[arch-commits] Commit in python-ruamel-yaml/repos/community-x86_64 (PKGBUILD PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:48:32
  Author: felixonmars
Revision: 349670

archrelease: copy trunk to community-x86_64

Added:
  python-ruamel-yaml/repos/community-x86_64/PKGBUILD
(from rev 349669, python-ruamel-yaml/trunk/PKGBUILD)
Deleted:
  python-ruamel-yaml/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-02 12:48:13 UTC (rev 349669)
+++ PKGBUILD2018-07-02 12:48:32 UTC (rev 349670)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Samuel Littley 
-# Contributor: rnons 
-
-pkgname=python-ruamel-yaml
-pkgver=0.15.41
-pkgrel=1
-pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, 
seq/map flow style, and map key order"
-arch=('x86_64')
-url="https://bitbucket.org/ruamel/yaml;
-license=("MIT")
-makedepends=('python-pip' 'python-wheel')
-source=("https://pypi.io/packages/source/r/ruamel.yaml/ruamel.yaml-$pkgver.tar.gz;)
-sha512sums=('199ebb2213cb5531f697025f27ed53852264f189f47c14ae874b4a944f0033ae815a3572c4268c58c23ef3fa454c1c7957b60bd9e023ee3fdbf685fd0036bca1')
-
-package() {
-  depends=('python')
-
-  cd ruamel.yaml-$pkgver
-  LC_CTYPE=en_US.UTF-8 pip install . --root="$pkgdir"
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-ruamel-yaml/repos/community-x86_64/PKGBUILD (from rev 349669, 
python-ruamel-yaml/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-02 12:48:32 UTC (rev 349670)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Samuel Littley 
+# Contributor: rnons 
+
+pkgname=python-ruamel-yaml
+pkgver=0.15.42
+pkgrel=1
+pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, 
seq/map flow style, and map key order"
+arch=('x86_64')
+url="https://bitbucket.org/ruamel/yaml;
+license=("MIT")
+makedepends=('python-pip' 'python-wheel')
+source=("https://pypi.io/packages/source/r/ruamel.yaml/ruamel.yaml-$pkgver.tar.gz;)
+sha512sums=('0a005c6ca6a85cc6b45c394a6e8563b85abe5aa5dcf19320bdb5f1d4a49ca9c141099b0fb24dea92039e04fe473adc572546ee0215728a7953a44e9fbaceb50e')
+
+package() {
+  depends=('python')
+
+  cd ruamel.yaml-$pkgver
+  LC_CTYPE=en_US.UTF-8 pip install . --root="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:48:40
  Author: felixonmars
Revision: 349671

upgpkg: haskell-descriptive 0.9.4-118

rebuild with comonad 5.0.4

Modified:
  haskell-descriptive/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:48:32 UTC (rev 349670)
+++ PKGBUILD2018-07-02 12:48:40 UTC (rev 349671)
@@ -5,7 +5,7 @@
 _hkgname=descriptive
 pkgname=haskell-descriptive
 pkgver=0.9.4
-pkgrel=117
+pkgrel=118
 pkgdesc="Self-describing consumers/parsers; forms, cmd-line args, JSON, etc."
 url="https://github.com/chrisdone/descriptive;
 license=("custom:BSD3")


[arch-commits] Commit in python-ruamel-yaml/trunk (PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:48:13
  Author: felixonmars
Revision: 349669

upgpkg: python-ruamel-yaml 0.15.42-1

Modified:
  python-ruamel-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:47:34 UTC (rev 349668)
+++ PKGBUILD2018-07-02 12:48:13 UTC (rev 349669)
@@ -4,7 +4,7 @@
 # Contributor: rnons 
 
 pkgname=python-ruamel-yaml
-pkgver=0.15.41
+pkgver=0.15.42
 pkgrel=1
 pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, 
seq/map flow style, and map key order"
 arch=('x86_64')
@@ -12,7 +12,7 @@
 license=("MIT")
 makedepends=('python-pip' 'python-wheel')
 
source=("https://pypi.io/packages/source/r/ruamel.yaml/ruamel.yaml-$pkgver.tar.gz;)
-sha512sums=('199ebb2213cb5531f697025f27ed53852264f189f47c14ae874b4a944f0033ae815a3572c4268c58c23ef3fa454c1c7957b60bd9e023ee3fdbf685fd0036bca1')
+sha512sums=('0a005c6ca6a85cc6b45c394a6e8563b85abe5aa5dcf19320bdb5f1d4a49ca9c141099b0fb24dea92039e04fe473adc572546ee0215728a7953a44e9fbaceb50e')
 
 package() {
   depends=('python')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:50:58
  Author: felixonmars
Revision: 349675

upgpkg: haskell-profunctors 5.2.2-27

rebuild with comonad 5.0.4

Modified:
  haskell-profunctors/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:50:17 UTC (rev 349674)
+++ PKGBUILD2018-07-02 12:50:58 UTC (rev 349675)
@@ -5,7 +5,7 @@
 _hkgname=profunctors
 pkgname=haskell-profunctors
 pkgver=5.2.2
-pkgrel=26
+pkgrel=27
 pkgdesc="Profunctors"
 url="https://github.com/ekmett/profunctors/;
 license=("custom:BSD3")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:50:17
  Author: felixonmars
Revision: 349674

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lucid/repos/community-staging-x86_64/PKGBUILD (from rev 349673, 
haskell-lucid/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:50:17 UTC (rev 349674)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=lucid
+pkgname=haskell-lucid
+pkgver=2.9.10
+pkgrel=18
+pkgdesc="Clear to write, read and edit DSL for HTML"
+url="https://github.com/chrisdone/lucid;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-hashable' 'haskell-mmorph'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-bifunctors' 'haskell-hspec' 'haskell-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0c1a98f9c78d860bcd34e627d7cf0b32692258addebf4b3f90b3a7031ba5386cf58f012b3505aade0bf1d1913efc86990fd45f329c8ae8ab83f8a53215aa8209')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:52:15
  Author: felixonmars
Revision: 349678

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-foldl/repos/community-staging-x86_64/PKGBUILD (from rev 349677, 
haskell-foldl/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:52:15 UTC (rev 349678)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=foldl
+pkgname=haskell-foldl
+pkgver=1.4.1
+pkgrel=3
+pkgdesc="Composable, streaming, and efficient left folds"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-comonad' 'haskell-contravariant' 
'haskell-mwc-random'
+ 'haskell-primitive' 'haskell-profunctors' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-vector-builder')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('804e168c5b1629121870f23fcba1a83e0dc62d44a4f8792aca93f7a2ec2969e4bd9959f531bb81fa00358cbe9bbc5b3273a0e2a8000756f8bacd792d4020084a')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:53:40
  Author: felixonmars
Revision: 349680

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-mono-traversable/repos/community-staging-x86_64/
  haskell-mono-traversable/repos/community-staging-x86_64/PKGBUILD
(from rev 349679, haskell-mono-traversable/trunk/PKGBUILD)

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

Copied: haskell-mono-traversable/repos/community-staging-x86_64/PKGBUILD (from 
rev 349679, haskell-mono-traversable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:53:40 UTC (rev 349680)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=mono-traversable
+pkgname=haskell-mono-traversable
+pkgver=1.0.8.1
+pkgrel=35
+pkgdesc="Type classes for mapping, folding, and traversing monomorphic 
containers"
+url="https://github.com/snoyberg/mono-traversable;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-split' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-vector-algorithms')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-foldl' 
'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('cb3ea7efd1995be5f3af2b71cb8ed105801de6e2496fdd2644f90b223a33aa9b1e2e70837acaf3289aa4354ec217daf9bb77b44e7b745c3c84866ec40be5e062')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:53:23
  Author: felixonmars
Revision: 349679

upgpkg: haskell-mono-traversable 1.0.8.1-35

rebuild with comonad 5.0.4

Modified:
  haskell-mono-traversable/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:52:15 UTC (rev 349678)
+++ PKGBUILD2018-07-02 12:53:23 UTC (rev 349679)
@@ -5,7 +5,7 @@
 _hkgname=mono-traversable
 pkgname=haskell-mono-traversable
 pkgver=1.0.8.1
-pkgrel=34
+pkgrel=35
 pkgdesc="Type classes for mapping, folding, and traversing monomorphic 
containers"
 url="https://github.com/snoyberg/mono-traversable;
 license=("MIT")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:56:49
  Author: felixonmars
Revision: 349683

upgpkg: haskell-conduit 1.3.0.3-6

rebuild with comonad 5.0.4

Modified:
  haskell-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:56:31 UTC (rev 349682)
+++ PKGBUILD2018-07-02 12:56:49 UTC (rev 349683)
@@ -5,7 +5,7 @@
 _hkgname=conduit
 pkgname=haskell-conduit
 pkgver=1.3.0.3
-pkgrel=5
+pkgrel=6
 pkgdesc="Streaming data processing library."
 url="https://github.com/snoyberg/conduit;
 license=("MIT")


[arch-commits] Commit in deepin-file-manager/repos/community-x86_64 (2 files)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:56:31
  Author: felixonmars
Revision: 349682

archrelease: copy trunk to community-x86_64

Added:
  deepin-file-manager/repos/community-x86_64/PKGBUILD
(from rev 349681, deepin-file-manager/trunk/PKGBUILD)
Deleted:
  deepin-file-manager/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-02 12:56:09 UTC (rev 349681)
+++ PKGBUILD2018-07-02 12:56:31 UTC (rev 349682)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Josip Ponjavic 
-# Contributor: Xu Fasheng 
-
-pkgname=deepin-file-manager
-pkgver=4.5.6.1
-pkgrel=1
-epoch=1
-pkgdesc='Deepin File Manager'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-file-manager;
-license=('GPL3')
-depends=('deepin-qt5integration' 'gtk2' 'gsettings-qt' 'libsecret' 'qt5-svg' 
'file' 'avfs'
- 'polkit-qt5' 'deepin-shortcut-viewer' 'poppler' 'ffmpegthumbnailer' 
'deepin-manual'
- 'file-roller' 'deepin-qt-dbus-factory' 'treefrog-framework' 
'deepin-terminal'
- 'gst-plugins-good' 'mpv' 'deepin-anything' 'deepin-movie')
-makedepends=('qt5-tools' 'deepin-dock' 'deepin-gettext-tools')
-groups=('deepin')
-provides=('deepin-desktop')
-conflicts=('deepin-desktop')
-replaces=('deepin-desktop')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-file-manager/archive/$pkgver.tar.gz;)
-sha512sums=('966f1456e7aa979b84f09fb75487e6eda205ed1e263919149b620808676098413f3592e2c2f145658b9c3ef30d8776f5d6dbb1389dc3bbb7e9d415c40d8cff95')
-
-prepare() {
-  cd dde-file-manager-$pkgver
-  sed -i 's|service.path = /lib/systemd/system|service.path = 
/usr/lib/systemd/system|' dde-anythingmonitor/dde-anythingmonitor.pro
-}
-
-build() {
-  cd dde-file-manager-$pkgver
-  qmake-qt5 PREFIX=/usr QMAKE_CFLAGS_ISYSTEM=
-  make
-}
-
-package() {
-  cd dde-file-manager-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-file-manager/repos/community-x86_64/PKGBUILD (from rev 349681, 
deepin-file-manager/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-02 12:56:31 UTC (rev 349682)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Josip Ponjavic 
+# Contributor: Xu Fasheng 
+
+pkgname=deepin-file-manager
+pkgver=4.5.6.2
+pkgrel=1
+epoch=1
+pkgdesc='Deepin File Manager'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-file-manager;
+license=('GPL3')
+depends=('deepin-qt5integration' 'gtk2' 'gsettings-qt' 'libsecret' 'qt5-svg' 
'file' 'avfs'
+ 'polkit-qt5' 'deepin-shortcut-viewer' 'poppler' 'ffmpegthumbnailer' 
'deepin-manual'
+ 'file-roller' 'deepin-qt-dbus-factory' 'treefrog-framework' 
'deepin-terminal'
+ 'gst-plugins-good' 'mpv' 'deepin-anything' 'deepin-movie')
+makedepends=('qt5-tools' 'deepin-dock' 'deepin-gettext-tools')
+groups=('deepin')
+provides=('deepin-desktop')
+conflicts=('deepin-desktop')
+replaces=('deepin-desktop')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-file-manager/archive/$pkgver.tar.gz;)
+sha512sums=('ac0e95a04b816c3bc18d769f13fc80b4eb60e99fa388b246283d65a4b1a2c353cc955f04ac32b2f98114a34f764d33cc8db68f24133a655a7643254205bb23eb')
+
+prepare() {
+  cd dde-file-manager-$pkgver
+  sed -i 's|service.path = /lib/systemd/system|service.path = 
/usr/lib/systemd/system|' dde-anythingmonitor/dde-anythingmonitor.pro
+}
+
+build() {
+  cd dde-file-manager-$pkgver
+  qmake-qt5 PREFIX=/usr QMAKE_CFLAGS_ISYSTEM=
+  make
+}
+
+package() {
+  cd dde-file-manager-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


[arch-commits] Commit in deepin-file-manager/trunk (PKGBUILD)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:56:09
  Author: felixonmars
Revision: 349681

upgpkg: deepin-file-manager 1:4.5.6.2-1

Modified:
  deepin-file-manager/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:53:40 UTC (rev 349680)
+++ PKGBUILD2018-07-02 12:56:09 UTC (rev 349681)
@@ -4,7 +4,7 @@
 # Contributor: Xu Fasheng 
 
 pkgname=deepin-file-manager
-pkgver=4.5.6.1
+pkgver=4.5.6.2
 pkgrel=1
 epoch=1
 pkgdesc='Deepin File Manager'
@@ -21,7 +21,7 @@
 conflicts=('deepin-desktop')
 replaces=('deepin-desktop')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-file-manager/archive/$pkgver.tar.gz;)
-sha512sums=('966f1456e7aa979b84f09fb75487e6eda205ed1e263919149b620808676098413f3592e2c2f145658b9c3ef30d8776f5d6dbb1389dc3bbb7e9d415c40d8cff95')
+sha512sums=('ac0e95a04b816c3bc18d769f13fc80b4eb60e99fa388b246283d65a4b1a2c353cc955f04ac32b2f98114a34f764d33cc8db68f24133a655a7643254205bb23eb')
 
 prepare() {
   cd dde-file-manager-$pkgver


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:57:06
  Author: felixonmars
Revision: 349684

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
349683, haskell-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:57:06 UTC (rev 349684)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=conduit
+pkgname=haskell-conduit
+pkgver=1.3.0.3
+pkgrel=6
+pkgdesc="Streaming data processing library."
+url="https://github.com/snoyberg/conduit;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions' 'haskell-mono-traversable' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-unliftio-core' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck' 'haskell-safe' 
'haskell-silently'
+ 'haskell-split' 'haskell-unliftio')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7c3ceeb630f09b7c8718a0d2abcff0d33c8260e4b974f14ac69a35cb39a789539b22a1875106588588221ba9be640bdce2b63915db85b2d3652ee0cf32a75a0d')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:57:50
  Author: felixonmars
Revision: 349685

upgpkg: haskell-binary-conduit 1.3-20

rebuild with comonad 5.0.4

Modified:
  haskell-binary-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:57:06 UTC (rev 349684)
+++ PKGBUILD2018-07-02 12:57:50 UTC (rev 349685)
@@ -4,7 +4,7 @@
 _hkgname=binary-conduit
 pkgname=haskell-binary-conduit
 pkgver=1.3
-pkgrel=19
+pkgrel=20
 pkgdesc="Data serialization/deserialization conduit library"
 url="https://github.com/qnikst/binary-conduit/;
 license=('MIT')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:58:06
  Author: felixonmars
Revision: 349686

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-binary-conduit/repos/community-staging-x86_64/PKGBUILD (from 
rev 349685, haskell-binary-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 12:58:06 UTC (rev 349686)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=binary-conduit
+pkgname=haskell-binary-conduit
+pkgver=1.3
+pkgrel=20
+pkgdesc="Data serialization/deserialization conduit library"
+url="https://github.com/qnikst/binary-conduit/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-exceptions' 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('393fd9f72baeb16511c8bd69c71b7169e3d8337903151dd2e514d83c665e34c593352ebaa91bf84531fcbd485af092a1278fe6a10329f68bb3765030a72858e5')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 12:59:14
  Author: felixonmars
Revision: 349687

upgpkg: haskell-conduit-extra 1.3.0-24

rebuild with comonad 5.0.4

Modified:
  haskell-conduit-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 12:58:06 UTC (rev 349686)
+++ PKGBUILD2018-07-02 12:59:14 UTC (rev 349687)
@@ -5,7 +5,7 @@
 _hkgname=conduit-extra
 pkgname=haskell-conduit-extra
 pkgver=1.3.0
-pkgrel=23
+pkgrel=24
 pkgdesc="Batteries included conduit: adapters for common libraries."
 url="https://github.com/snoyberg/conduit;
 license=("MIT")


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 13:00:27
  Author: felixonmars
Revision: 349690

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cryptohash-conduit/repos/community-staging-x86_64/
  haskell-cryptohash-conduit/repos/community-staging-x86_64/PKGBUILD
(from rev 349689, haskell-cryptohash-conduit/trunk/PKGBUILD)

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

Copied: haskell-cryptohash-conduit/repos/community-staging-x86_64/PKGBUILD 
(from rev 349689, haskell-cryptohash-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 13:00:27 UTC (rev 349690)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cryptohash-conduit
+pkgname=haskell-cryptohash-conduit
+pkgver=0.1.1
+pkgrel=184
+pkgdesc="cryptohash conduit"
+url="https://github.com/vincenthz/hs-cryptohash-conduit;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-conduit" "haskell-conduit-extra" 
"haskell-cryptohash"
+ "haskell-resourcet")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6382a05b35bae34b53fd1ad6d897c25ca149ed852360c8f775587efcd3c29e45ff854f96ddbc9b446e04a4dd5698b1f5e2af754345f7d5af8f587b73b57fdec0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


  1   2   3   4   5   6   7   >