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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:58:09
  Author: felixonmars
Revision: 615187

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   79 
 stack.install |4 ++
 2 files changed, 83 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 615186, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:58:09 UTC (rev 615187)
@@ -0,0 +1,79 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.1.3.20200310
+_commit=95aaf2bc2c969622679c2a8233e7bb637e43210d
+pkgrel=52
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' '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-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
+ 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-terminal-size' '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')
+makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#commit=$_commit;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  hpack
+  sed -i -e '/semigroups/d' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  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 \
+  --ghc-option='-pie'
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname
+  # 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 $pkgname
+
+  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 615186, 
stack/trunk/stack.install)

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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:57:57
  Author: felixonmars
Revision: 615186

upgpkg: stack 2.1.3.20200310-52: rebuild with microlens-th 0.4.3.5

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:53:34 UTC (rev 615185)
+++ PKGBUILD2020-04-16 05:57:57 UTC (rev 615186)
@@ -4,7 +4,7 @@
 pkgname=stack
 pkgver=2.1.3.20200310
 _commit=95aaf2bc2c969622679c2a8233e7bb637e43210d
-pkgrel=51
+pkgrel=52
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:53:23
  Author: felixonmars
Revision: 615184

upgpkg: hledger-web 1.17.1-23: rebuild with microlens-th 0.4.3.5

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:52:12 UTC (rev 615183)
+++ PKGBUILD2020-04-16 05:53:23 UTC (rev 615184)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.17.1
-pkgrel=22
+pkgrel=23
 pkgdesc="Web interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:53:34
  Author: felixonmars
Revision: 615185

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 615184, hledger-web/trunk/PKGBUILD)

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 615184, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:53:34 UTC (rev 615185)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.17.1
+pkgrel=23
+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-aeson' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 
'haskell-clientsession'
+ 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-hjsmin' 
'haskell-http-conduit'
+ 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 
'haskell-network'
+ 'haskell-shakespeare' 'haskell-unix-compat' 'haskell-utf8-string' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-handler-launch' 
'haskell-warp'
+ 'haskell-yesod' 'haskell-yesod-core' 'haskell-yesod-form' 
'haskell-yesod-static')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('4221cd01387715efe6c17bbece72878a93acb6f1b153fac5eb2a28a3086676e9ebca84e1c6fbff86c49d2b6f383cbc2bfb38115301c10645bc9245c03c1f5b31')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e '/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}" 
--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 hledger-ui/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:52:03
  Author: felixonmars
Revision: 615182

upgpkg: hledger-ui 1.17.1.1-16: rebuild with microlens-th 0.4.3.5

Modified:
  hledger-ui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:51:15 UTC (rev 615181)
+++ PKGBUILD2020-04-16 05:52:03 UTC (rev 615182)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-ui
 pkgver=1.17.1.1
-pkgrel=15
+pkgrel=16
 pkgdesc="Curses-style user interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:52:12
  Author: felixonmars
Revision: 615183

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 615182, hledger-ui/trunk/PKGBUILD)

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 615182, 
hledger-ui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:52:12 UTC (rev 615183)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-ui
+pkgver=1.17.1.1
+pkgrel=16
+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-batteries' 'haskell-cmdargs' 
'haskell-data-default' 'haskell-extra'
+ 'haskell-fsnotify' '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=('cb6a28a4b31881f0a0036330338ca7d44a56b67b327dda6cf7ec41cba1ddfae62cff5cdaaf8ffc259e494e79b95992d5fdaee2b51239e9e4bcf077e8b1384974')
+
+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 hasktags/repos (2 files)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:51:15
  Author: felixonmars
Revision: 615181

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 615180, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:51:15 UTC (rev 615181)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=68
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+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 hasktags/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:51:04
  Author: felixonmars
Revision: 615180

upgpkg: hasktags 0.71.2-68: rebuild with microlens-th 0.4.3.5

Modified:
  hasktags/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:50:16 UTC (rev 615179)
+++ PKGBUILD2020-04-16 05:51:04 UTC (rev 615180)
@@ -3,7 +3,7 @@
 
 pkgname=hasktags
 pkgver=0.71.2
-pkgrel=67
+pkgrel=68
 pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
 url="https://github.com/MarcWeber/hasktags;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:50:16
  Author: felixonmars
Revision: 615179

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
(from rev 615178, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 615178, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:50:16 UTC (rev 615179)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20200330
+pkgrel=12
+pkgdesc="Manage files with git, without checking their contents into git"
+url="https://git-annex.branchable.com/;
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 
'haskell-aws'
+ 'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 
'haskell-case-insensitive'
+ 'haskell-clientsession' 'haskell-concurrent-output' 
'haskell-connection' 'haskell-conduit'
+ 'haskell-crypto-api' 'haskell-cryptonite' 'haskell-data-default' 
'haskell-dav'
+ 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist' 
'haskell-edit-distance'
+ 'haskell-exceptions' 'haskell-fdo-notify' 'haskell-feed' 
'haskell-filepath-bytestring'
+ 'haskell-hinotify' 'haskell-hslogger' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-ifelse' 
'haskell-magic'
+ 'haskell-memory' 'haskell-microlens' 'haskell-monad-control' 
'haskell-monad-logger'
+ 'haskell-mountpoints' 'haskell-network' 'haskell-network-info' 
'haskell-network-multicast'
+ 'haskell-network-uri' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-path-pieces' 'haskell-persistent' 'haskell-persistent-sqlite'
+ 'haskell-persistent-template' 'haskell-quickcheck' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-safesemaphore' 'haskell-sandi' 
'haskell-securemem'
+ 'haskell-shakespeare' 'haskell-socks' 'haskell-split' 
'haskell-stm-chans' 'haskell-tagsoup'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun'
+ 'haskell-torrent' 'haskell-unix-compat' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-uuid' 
'haskell-vector'
+ 'haskell-wai' 'haskell-wai-extra' 'haskell-warp' 'haskell-warp-tls' 
'haskell-yesod'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static')
+makedepends=('chrpath' 'ghc')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd git-annex
+  sed -i 's/ fail / error /' Utility/HumanTime.hs Command/{Expire.hs,Init.hs}
+  sed -i 's/(fail /(error /' CmdLine/GitAnnex/Options.hs
+}
+
+build() {
+  cd git-annex
+
+  sed -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+  -i Makefile
+  make GHC="ghc -dynamic" BUILDER=./Setup -j1
+}
+
+package() {
+  cd git-annex
+  make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:50:06
  Author: felixonmars
Revision: 615178

upgpkg: git-annex 8.20200330-12: rebuild with microlens-th 0.4.3.5

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:43:40 UTC (rev 615177)
+++ PKGBUILD2020-04-16 05:50:06 UTC (rev 615178)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20200330
-pkgrel=11
+pkgrel=12
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:43:40
  Author: felixonmars
Revision: 615177

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-static/repos/community-staging-x86_64/
  haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD
(from rev 615176, haskell-yesod-static/trunk/PKGBUILD)

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
615176, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:43:40 UTC (rev 615177)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.0.1
+pkgrel=360
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-wai' 'haskell-wai-app-static' 'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2e1e4873248d435a9d58f3075b6c06cde2edcdd520f700dc7f0427039c236d28787f62a643a8cf57b74d85a885625474a5662b91a56c25e8f4d1737be525bc2f')
+
+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-yesod-static/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:43:29
  Author: felixonmars
Revision: 615176

upgpkg: haskell-yesod-static 1.6.0.1-360: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:42:29 UTC (rev 615175)
+++ PKGBUILD2020-04-16 05:43:29 UTC (rev 615176)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.0.1
-pkgrel=359
+pkgrel=360
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:42:19
  Author: felixonmars
Revision: 615174

upgpkg: haskell-yesod-test 1.6.9-119: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:41:22 UTC (rev 615173)
+++ PKGBUILD2020-04-16 05:42:19 UTC (rev 615174)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.9
-pkgrel=118
+pkgrel=119
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:42:29
  Author: felixonmars
Revision: 615175

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-test/repos/community-staging-x86_64/
  haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD
(from rev 615174, haskell-yesod-test/trunk/PKGBUILD)

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
615174, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:42:29 UTC (rev 615175)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.9
+pkgrel=119
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a09cec464ca4ebe9839eb08cc5da93076bed7450f17d2df8d40625e8d8d8157ba81284cea5e73b0b4e4e30169e0211af99cb8f6898d2039a826a68405cf681e2')
+
+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-yesod-auth/repos (2 files)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:41:22
  Author: felixonmars
Revision: 615173

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-auth/repos/community-staging-x86_64/
  haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD
(from rev 615172, haskell-yesod-auth/trunk/PKGBUILD)

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
615172, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:41:22 UTC (rev 615173)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.6.10
+pkgrel=17
+pkgdesc="Authentication for Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-email-validate' 'haskell-file-embed' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-network-uri' 'haskell-nonce' 'haskell-persistent' 
'haskell-random' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-yesod-core' 
'haskell-yesod-form'
+ 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0361d49d625ca01db2fbe063c7a4b314ab29f363295b839210fddb15118929ff619fa0256c4ffe45f06df388166597c1c64a07be8de9019b630e71632d301eb7')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:41:12
  Author: felixonmars
Revision: 615172

upgpkg: haskell-yesod-auth 1.6.10-17: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:40:10 UTC (rev 615171)
+++ PKGBUILD2020-04-16 05:41:12 UTC (rev 615172)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10
-pkgrel=16
+pkgrel=17
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:40:00
  Author: felixonmars
Revision: 615170

upgpkg: haskell-yesod 1.6.0.1-79: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:39:08 UTC (rev 615169)
+++ PKGBUILD2020-04-16 05:40:00 UTC (rev 615170)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.0.1
-pkgrel=78
+pkgrel=79
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:40:10
  Author: felixonmars
Revision: 615171

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 615170, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:40:10 UTC (rev 615171)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.0.1
+pkgrel=79
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-monad-logger' 'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('776668becc858274bca8883a9ffc71be48385e85ba1f393a4f4ba70d4acbac5ff8c1a5c233404d81cd34c3ba6da96d6ba97ee5e552278879ca0f877c7cf3a0cc')
+
+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-yesod-form/repos (2 files)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:39:08
  Author: felixonmars
Revision: 615169

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-form/repos/community-staging-x86_64/
  haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD
(from rev 615168, haskell-yesod-form/trunk/PKGBUILD)

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
615168, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:39:08 UTC (rev 615169)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.6.7
+pkgrel=158
+pkgdesc="Form handling support for Yesod Web Framework"
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-byteable' 'haskell-data-default' 
'haskell-email-validate'
+ 'haskell-network-uri' 'haskell-persistent' 'haskell-resourcet' 
'haskell-shakespeare'
+ 'haskell-wai' 'haskell-xss-sanitize' 'haskell-yesod-core' 
'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a23c2cb67ed0a87afde9e9e903aa789f8fd9c071893a1bebd0ff9dc3dec6e8e03dd08a4a7ef6ef2d438fbf62597ea0181a038bd7bb5631199c9be83d2a8aef0c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-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 $_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-yesod-form/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:38:57
  Author: felixonmars
Revision: 615168

upgpkg: haskell-yesod-form 1.6.7-158: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:37:27 UTC (rev 615167)
+++ PKGBUILD2020-04-16 05:38:57 UTC (rev 615168)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.6.7
-pkgrel=157
+pkgrel=158
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:37:27
  Author: felixonmars
Revision: 615167

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-persistent/repos/community-staging-x86_64/
  haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD
(from rev 615166, haskell-yesod-persistent/trunk/PKGBUILD)

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 615166, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:37:27 UTC (rev 615167)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.4
+pkgrel=103
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-persistent-template" "haskell-resource-pool" 
"haskell-resourcet"
+ "haskell-yesod-core")
+makedepends=('ghc' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a52d85b025397ae04641346107124a5570765356bc7209f0391646b93b3c8954219c73d717c98d108d552800eeb2122531f98abd2b0e2109aee59c7d9825f70d')
+
+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-yesod-persistent/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:37:17
  Author: felixonmars
Revision: 615166

upgpkg: haskell-yesod-persistent 1.6.0.4-103: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:36:12 UTC (rev 615165)
+++ PKGBUILD2020-04-16 05:37:17 UTC (rev 615166)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.4
-pkgrel=102
+pkgrel=103
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:36:02
  Author: felixonmars
Revision: 615164

upgpkg: haskell-brick 0.52.1-7: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-brick/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:34:41 UTC (rev 615163)
+++ PKGBUILD2020-04-16 05:36:02 UTC (rev 615164)
@@ -4,7 +4,7 @@
 _hkgname=brick
 pkgname=haskell-brick
 pkgver=0.52.1
-pkgrel=6
+pkgrel=7
 pkgdesc="A declarative terminal user interface library"
 url="https://github.com/jtdaugherty/brick;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:36:12
  Author: felixonmars
Revision: 615165

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-brick/repos/community-staging-x86_64/PKGBUILD (from rev 615164, 
haskell-brick/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:36:12 UTC (rev 615165)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=brick
+pkgname=haskell-brick
+pkgver=0.52.1
+pkgrel=7
+pkgdesc="A declarative terminal user interface library"
+url="https://github.com/jtdaugherty/brick;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-vty' 'haskell-data-clist' 'haskell-dlist' 
'haskell-exceptions' 'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-microlens-mtl' 'haskell-config-ini' 
'haskell-vector'
+ 'haskell-contravariant' 'haskell-text-zipper' 'haskell-word-wrap')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('910f2a4b202706fb878c70639665f85b61c6191d5aa8009e47bc3eca89ee0c935087e434cca0d7123694525fb39ef71a3000a49ac1dd957979a7a218175e8bf7')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-demos
+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-vty/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:34:31
  Author: felixonmars
Revision: 615162

upgpkg: haskell-vty 5.28.2-4: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-vty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:33:33 UTC (rev 615161)
+++ PKGBUILD2020-04-16 05:34:31 UTC (rev 615162)
@@ -4,7 +4,7 @@
 _hkgname=vty
 pkgname=haskell-vty
 pkgver=5.28.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A simple terminal UI library"
 url="https://github.com/jtdaugherty/vty;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:34:41
  Author: felixonmars
Revision: 615163

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-vty/repos/community-staging-x86_64/PKGBUILD (from rev 615162, 
haskell-vty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:34:41 UTC (rev 615163)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vty
+pkgname=haskell-vty
+pkgver=5.28.2
+pkgrel=4
+pkgdesc="A simple terminal UI library"
+url="https://github.com/jtdaugherty/vty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-blaze-builder' 
'haskell-microlens'
+ 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-hashable' 
'haskell-parallel'
+ 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-smallcheck'
+ 'haskell-quickcheck-assertions' 'haskell-test-framework'
+ 'haskell-test-framework-smallcheck' 
'haskell-test-framework-hunit' 'haskell-random'
+ 'haskell-string-qq')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9305e51b845566f45cf9d8858cfd1d393f71b5cef9aea4a814eebab63af61e7fa6972fefe4e3b3a2493fbbb09568886c903b46b6b016f23bfa5260793df22c7b')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+# https://github.com/jtdaugherty/vty/issues/132
+# https://github.com/haskell/cabal/issues/4918
+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-persistent-qq/repos (2 files)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:33:33
  Author: felixonmars
Revision: 615161

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
615160, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:33:33 UTC (rev 615161)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.9.1.1
+pkgrel=69
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-resourcet' 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('3fbdaefe6b5304ca8076b7dae3eab0ac08d624da1e595fcb29e24c2dfae1af376855b67802f0badb5f0b812c9dcda7cbc6e0b6cd26da618b6fe378866a39cd5f')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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-persistent-qq/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:33:21
  Author: felixonmars
Revision: 615160

upgpkg: haskell-persistent-qq 2.9.1.1-69: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:32:13 UTC (rev 615159)
+++ PKGBUILD2020-04-16 05:33:21 UTC (rev 615160)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.9.1.1
-pkgrel=68
+pkgrel=69
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent;
 license=('MIT')


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:32:13
  Author: felixonmars
Revision: 615159

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
615158, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:32:13 UTC (rev 615159)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.4.0.1
+pkgrel=27
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-primitive' 'haskell-resourcet' 'haskell-rio' 
'haskell-rio-orphans'
+ 'haskell-rio-prettyprint' 'haskell-tar-conduit' 'haskell-text-metrics'
+ 'haskell-unix-compat' 'haskell-unliftio' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-yaml' 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-quickcheck' 
'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0fbed425e3079bf1a06805efff092345c5f09bca430d2167d132cba4cd4a4c66567ce1aba921a9ac01d0db368f255395b2ad38d8b16ea5d81e263b100ad5a51d')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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
+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-pantry/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:32:03
  Author: felixonmars
Revision: 615158

upgpkg: haskell-pantry 0.4.0.1-27: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:28:17 UTC (rev 615157)
+++ PKGBUILD2020-04-16 05:32:03 UTC (rev 615158)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.4.0.1
-pkgrel=26
+pkgrel=27
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry;
 license=('BSD')


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:28:17
  Author: felixonmars
Revision: 615157

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-sqlite/repos/community-staging-x86_64/
  haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD
(from rev 615156, haskell-persistent-sqlite/trunk/PKGBUILD)

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 615156, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:28:17 UTC (rev 615157)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.10.6.2
+pkgrel=45
+pkgdesc="Backend for the persistent library using sqlite3"
+url="https://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-unliftio-core' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-exceptions' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-persistent-template' 'haskell-persistent-test' 
'haskell-quickcheck'
+ 'haskell-system-fileio' 'haskell-system-filepath' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b1db41bf77ae53b99c28f3224c9a2b7335faa4a78c96487270249959cc9491fa542e28d38dd63a2b417580f6a41608ffcee152e8609fe16392005c728862c7bc')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-build-sanity-exe -fsystemlib -fuse-pkgconfig
+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-persistent-sqlite/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:28:07
  Author: felixonmars
Revision: 615156

upgpkg: haskell-persistent-sqlite 2.10.6.2-45: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:27:06 UTC (rev 615155)
+++ PKGBUILD2020-04-16 05:28:07 UTC (rev 615156)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.10.6.2
-pkgrel=44
+pkgrel=45
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:26:55
  Author: felixonmars
Revision: 615154

upgpkg: haskell-microlens-platform 0.4.1-10: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-microlens-platform/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 05:26:18 UTC (rev 615153)
+++ PKGBUILD2020-04-16 05:26:55 UTC (rev 615154)
@@ -4,7 +4,7 @@
 _hkgname=microlens-platform
 pkgname=haskell-microlens-platform
 pkgver=0.4.1
-pkgrel=9
+pkgrel=10
 pkgdesc="microlens + all batteries included (best for apps)"
 url="https://github.com/monadfix/microlens;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:27:06
  Author: felixonmars
Revision: 615155

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-microlens-platform/repos/community-staging-x86_64/
  haskell-microlens-platform/repos/community-staging-x86_64/PKGBUILD
(from rev 615154, haskell-microlens-platform/trunk/PKGBUILD)

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

Copied: haskell-microlens-platform/repos/community-staging-x86_64/PKGBUILD 
(from rev 615154, haskell-microlens-platform/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:27:06 UTC (rev 615155)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=microlens-platform
+pkgname=haskell-microlens-platform
+pkgver=0.4.1
+pkgrel=10
+pkgdesc="microlens + all batteries included (best for apps)"
+url="https://github.com/monadfix/microlens;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hashable" "haskell-microlens" 
"haskell-microlens-ghc"
+ "haskell-microlens-mtl" "haskell-microlens-th"
+ "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('17e72270286c00a48d0fb7ea045825921fe91cace1a70cb88113a39a2a576e02e4d5f2ceefd748fbd52c2cfb0edcac3fc342d282bf9d10da21e29b520e2eee3b')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:26:18
  Author: felixonmars
Revision: 615153

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-microlens-th/repos/community-staging-x86_64/
  haskell-microlens-th/repos/community-staging-x86_64/PKGBUILD
(from rev 615152, haskell-microlens-th/trunk/PKGBUILD)

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

Copied: haskell-microlens-th/repos/community-staging-x86_64/PKGBUILD (from rev 
615152, haskell-microlens-th/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:26:18 UTC (rev 615153)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=microlens-th
+pkgname=haskell-microlens-th
+pkgver=0.4.3.5
+pkgrel=1
+pkgdesc="Automatic generation of record lenses for microlens"
+url="https://github.com/monadfix/microlens;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-microlens' 'haskell-th-abstraction')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b560d6cc651d3e8bc69083305b39d4897c11bf45fef6ac94fd92efafb26d8ea21941c1288e98657d3fc9e16a8263ba1d297c0ff7f207a897d1258acb1c925389')
+
+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 \
+-finlining
+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-microlens-th/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:26:07
  Author: felixonmars
Revision: 615152

upgpkg: haskell-microlens-th 0.4.3.5-1: rebuild with microlens-th 0.4.3.5

Modified:
  haskell-microlens-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 04:04:13 UTC (rev 615151)
+++ PKGBUILD2020-04-16 05:26:07 UTC (rev 615152)
@@ -2,8 +2,8 @@
 
 _hkgname=microlens-th
 pkgname=haskell-microlens-th
-pkgver=0.4.3.4
-pkgrel=3
+pkgver=0.4.3.5
+pkgrel=1
 pkgdesc="Automatic generation of record lenses for microlens"
 url="https://github.com/monadfix/microlens;
 license=('BSD')
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-microlens' 'haskell-th-abstraction')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('456d0cfe6f93a4adb8c5d0004983bcc7906f8750787eecd2ccbb9063d3e63da824c1bec29f81b37485aeebc356baa478bc26cc439e45ec03642f2d61217cbb7f')
+sha512sums=('b560d6cc651d3e8bc69083305b39d4897c11bf45fef6ac94fd92efafb26d8ea21941c1288e98657d3fc9e16a8263ba1d297c0ff7f207a897d1258acb1c925389')
 
 build() {
 cd $_hkgname-$pkgver


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 04:04:02
  Author: felixonmars
Revision: 615150

upgpkg: kcm-fcitx5 0.0.0.20200416-1

Modified:
  kcm-fcitx5/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 04:00:14 UTC (rev 615149)
+++ PKGBUILD2020-04-16 04:04:02 UTC (rev 615150)
@@ -3,17 +3,17 @@
 # Contributor: csslayer 
 
 pkgname=kcm-fcitx5
-pkgver=0.0.0.20200414
-_commit=fe1120a8f74919391b9fd1097c1ed2160190de57
+pkgver=0.0.0.20200416
+_commit=b63fadeb40e83c82b4e20727a293237a7337ea76
 pkgrel=1
 pkgdesc="KDE Config Module for Fcitx5"
 arch=('x86_64')
 url="https://github.com/fcitx/kcm-fcitx5;
 license=('GPL')
-depends=('fcitx5-qt' 'kconfigwidgets' 'kitemviews')
+depends=('fcitx5-qt' 'kdeclarative' 'kitemviews' 'kirigami2' 'kpackage')
 makedepends=('extra-cmake-modules' 'python')
 
source=("https://github.com/fcitx/kcm-fcitx5/archive/$_commit/kcm-fcitx5-$_commit.tar.gz;)
-sha512sums=('b369cb79f96b1ecddb50190adc907314f21b68b44d5100f697148950783d0d638319ea5787eab4577497f2ec22c8b47b037e5bc018437eebd7c16edebec8bce9')
+sha512sums=('c5aaf8698c2b72377b03dc61252aa6aa47204a6fac663a4d7a06aa7d0e1039330a3756bf5694f579cb54e1b2f9774f6dd417f9235bc5ea53b2b9a867667c0008')
 
 build(){
   cd $pkgname-$_commit


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 04:04:13
  Author: felixonmars
Revision: 615151

archrelease: copy trunk to community-x86_64

Added:
  kcm-fcitx5/repos/community-x86_64/PKGBUILD
(from rev 615150, kcm-fcitx5/trunk/PKGBUILD)
Deleted:
  kcm-fcitx5/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-16 04:04:02 UTC (rev 615150)
+++ PKGBUILD2020-04-16 04:04:13 UTC (rev 615151)
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 226039 2017-04-27 13:52:30Z felixonmars $
-# Maintainer: Felix Yan 
-# Contributor: csslayer 
-
-pkgname=kcm-fcitx5
-pkgver=0.0.0.20200414
-_commit=fe1120a8f74919391b9fd1097c1ed2160190de57
-pkgrel=1
-pkgdesc="KDE Config Module for Fcitx5"
-arch=('x86_64')
-url="https://github.com/fcitx/kcm-fcitx5;
-license=('GPL')
-depends=('fcitx5-qt' 'kconfigwidgets' 'kitemviews')
-makedepends=('extra-cmake-modules' 'python')
-source=("https://github.com/fcitx/kcm-fcitx5/archive/$_commit/kcm-fcitx5-$_commit.tar.gz;)
-sha512sums=('b369cb79f96b1ecddb50190adc907314f21b68b44d5100f697148950783d0d638319ea5787eab4577497f2ec22c8b47b037e5bc018437eebd7c16edebec8bce9')
-
-build(){
-  cd $pkgname-$_commit
-
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib 
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON .
-  make
-}
-
-package() {
-  cd $pkgname-$_commit
-  make DESTDIR="$pkgdir" install
-}

Copied: kcm-fcitx5/repos/community-x86_64/PKGBUILD (from rev 615150, 
kcm-fcitx5/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-16 04:04:13 UTC (rev 615151)
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 226039 2017-04-27 13:52:30Z felixonmars $
+# Maintainer: Felix Yan 
+# Contributor: csslayer 
+
+pkgname=kcm-fcitx5
+pkgver=0.0.0.20200416
+_commit=b63fadeb40e83c82b4e20727a293237a7337ea76
+pkgrel=1
+pkgdesc="KDE Config Module for Fcitx5"
+arch=('x86_64')
+url="https://github.com/fcitx/kcm-fcitx5;
+license=('GPL')
+depends=('fcitx5-qt' 'kdeclarative' 'kitemviews' 'kirigami2' 'kpackage')
+makedepends=('extra-cmake-modules' 'python')
+source=("https://github.com/fcitx/kcm-fcitx5/archive/$_commit/kcm-fcitx5-$_commit.tar.gz;)
+sha512sums=('c5aaf8698c2b72377b03dc61252aa6aa47204a6fac663a4d7a06aa7d0e1039330a3756bf5694f579cb54e1b2f9774f6dd417f9235bc5ea53b2b9a867667c0008')
+
+build(){
+  cd $pkgname-$_commit
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib 
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON .
+  make
+}
+
+package() {
+  cd $pkgname-$_commit
+  make DESTDIR="$pkgdir" install
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 04:00:02
  Author: felixonmars
Revision: 615148

upgpkg: opencc 1.0.6-1

Modified:
  opencc/trunk/PKGBUILD

--+
 PKGBUILD |   19 +--
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 02:04:45 UTC (rev 615147)
+++ PKGBUILD2020-04-16 04:00:02 UTC (rev 615148)
@@ -2,18 +2,17 @@
 
 pkgbase=opencc
 pkgname=(opencc opencc-doc)
-pkgver=1.0.5
-_tag=ver.1.0.5
-pkgrel=2
+pkgver=1.0.6
+pkgrel=1
 url="https://github.com/BYVoid/OpenCC;
 arch=('x86_64')
 license=('Apache')
-makedepends=('cmake' 'doxygen' 'python' 'git')
-source=("git+https://github.com/BYVoid/OpenCC.git#tag=$_tag;)
-sha512sums=('SKIP')
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.$pkgver/$pkgbase-$pkgver.tar.gz;)
+sha512sums=('67c7bb7432483c1781701dc64ff28e4d5750898ed3d2d41f97d3782918b5f9aa1a49baa1e3a58e4b24cfbd2adcf9ea166a05ad934221fb1cb7afb35e909749e7')
 
 build() {
-  cd OpenCC
+  cd OpenCC-ver.$pkgver
   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
-DBUILD_DOCUMENTATION:BOOL=ON
   make
 }
@@ -22,9 +21,9 @@
   pkgdesc="Library for Open Chinese Convert"
   depends=('gcc-libs')
 
-  cd OpenCC
+  cd OpenCC-ver.$pkgver
   make DESTDIR="${pkgdir}" install
-  
+
   # Remove docs - install in splitted package
   rm -r "$pkgdir/usr/share/opencc/doc"
 }
@@ -32,6 +31,6 @@
 package_opencc-doc() {
   pkgdesc="Documentation for Library for Open Chinese Convert"
 
-  cd OpenCC/doc
+  cd OpenCC-ver.$pkgver/doc
   make DESTDIR="${pkgdir}" install
 }


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 04:00:14
  Author: felixonmars
Revision: 615149

archrelease: copy trunk to community-x86_64

Added:
  opencc/repos/community-x86_64/PKGBUILD
(from rev 615148, opencc/trunk/PKGBUILD)
Deleted:
  opencc/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-16 04:00:02 UTC (rev 615148)
+++ PKGBUILD2020-04-16 04:00:14 UTC (rev 615149)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=opencc
-pkgname=(opencc opencc-doc)
-pkgver=1.0.5
-_tag=ver.1.0.5
-pkgrel=2
-url="https://github.com/BYVoid/OpenCC;
-arch=('x86_64')
-license=('Apache')
-makedepends=('cmake' 'doxygen' 'python' 'git')
-source=("git+https://github.com/BYVoid/OpenCC.git#tag=$_tag;)
-sha512sums=('SKIP')
-
-build() {
-  cd OpenCC
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
-DBUILD_DOCUMENTATION:BOOL=ON
-  make
-}
-
-package_opencc() {
-  pkgdesc="Library for Open Chinese Convert"
-  depends=('gcc-libs')
-
-  cd OpenCC
-  make DESTDIR="${pkgdir}" install
-  
-  # Remove docs - install in splitted package
-  rm -r "$pkgdir/usr/share/opencc/doc"
-}
-
-package_opencc-doc() {
-  pkgdesc="Documentation for Library for Open Chinese Convert"
-
-  cd OpenCC/doc
-  make DESTDIR="${pkgdir}" install
-}

Copied: opencc/repos/community-x86_64/PKGBUILD (from rev 615148, 
opencc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-16 04:00:14 UTC (rev 615149)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+
+pkgbase=opencc
+pkgname=(opencc opencc-doc)
+pkgver=1.0.6
+pkgrel=1
+url="https://github.com/BYVoid/OpenCC;
+arch=('x86_64')
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.$pkgver/$pkgbase-$pkgver.tar.gz;)
+sha512sums=('67c7bb7432483c1781701dc64ff28e4d5750898ed3d2d41f97d3782918b5f9aa1a49baa1e3a58e4b24cfbd2adcf9ea166a05ad934221fb1cb7afb35e909749e7')
+
+build() {
+  cd OpenCC-ver.$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
-DBUILD_DOCUMENTATION:BOOL=ON
+  make
+}
+
+package_opencc() {
+  pkgdesc="Library for Open Chinese Convert"
+  depends=('gcc-libs')
+
+  cd OpenCC-ver.$pkgver
+  make DESTDIR="${pkgdir}" install
+
+  # Remove docs - install in splitted package
+  rm -r "$pkgdir/usr/share/opencc/doc"
+}
+
+package_opencc-doc() {
+  pkgdesc="Documentation for Library for Open Chinese Convert"
+
+  cd OpenCC-ver.$pkgver/doc
+  make DESTDIR="${pkgdir}" install
+}


[arch-commits] Commit in chromium/repos/extra-x86_64 (12 files)

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 03:08:23
  Author: foutrelis
Revision: 380418

archrelease: copy trunk to extra-x86_64

Added:
  chromium/repos/extra-x86_64/PKGBUILD
(from rev 380417, chromium/trunk/PKGBUILD)
  chromium/repos/extra-x86_64/chromium-skia-harmony.patch
(from rev 380417, chromium/trunk/chromium-skia-harmony.patch)
  chromium/repos/extra-x86_64/chromium-widevine.patch
(from rev 380417, chromium/trunk/chromium-widevine.patch)
  chromium/repos/extra-x86_64/chromium.install
(from rev 380417, chromium/trunk/chromium.install)
  
chromium/repos/extra-x86_64/rebuild-Linux-frame-button-cache-when-activation.patch
(from rev 380417, 
chromium/trunk/rebuild-Linux-frame-button-cache-when-activation.patch)
  
chromium/repos/extra-x86_64/rename-Relayout-in-DesktopWindowTreeHostPlatform.patch
(from rev 380417, 
chromium/trunk/rename-Relayout-in-DesktopWindowTreeHostPlatform.patch)
Deleted:
  chromium/repos/extra-x86_64/PKGBUILD
  chromium/repos/extra-x86_64/chromium-skia-harmony.patch
  chromium/repos/extra-x86_64/chromium-widevine.patch
  chromium/repos/extra-x86_64/chromium.install
  
chromium/repos/extra-x86_64/rebuild-Linux-frame-button-cache-when-activation.patch
  
chromium/repos/extra-x86_64/rename-Relayout-in-DesktopWindowTreeHostPlatform.patch

+
 PKGBUILD   |  450 +++
 chromium-skia-harmony.patch|   28 
 chromium-widevine.patch|   26 
 chromium.install   |   32 -
 rebuild-Linux-frame-button-cache-when-activation.patch |  124 ++--
 rename-Relayout-in-DesktopWindowTreeHostPlatform.patch |  128 ++--
 6 files changed, 394 insertions(+), 394 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-16 03:08:10 UTC (rev 380417)
+++ PKGBUILD2020-04-16 03:08:23 UTC (rev 380418)
@@ -1,225 +0,0 @@
-# Maintainer: Evangelos Foutras 
-# Contributor: Pierre Schmitz 
-# Contributor: Jan "heftig" Steffens 
-# Contributor: Daniel J Griffiths 
-
-pkgname=chromium
-pkgver=81.0.4044.92
-pkgrel=1
-_launcher_ver=6
-pkgdesc="A web browser built for speed, simplicity, and security"
-arch=('x86_64')
-url="https://www.chromium.org/Home;
-license=('BSD')
-depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
- 'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'json-glib'
- 'desktop-file-utils' 'hicolor-icon-theme')
-makedepends=('python' 'python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'git'
- 'libpipewire02' 'clang' 'lld' 'gn' 'java-runtime-headless')
-optdepends=('pepper-flash: support for Flash content'
-'libpipewire02: WebRTC desktop sharing under Wayland'
-'kdialog: needed for file dialogs in KDE'
-'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
-'kwallet: for storing passwords in KWallet on KDE desktops')
-install=chromium.install
-source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
-
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
-rename-Relayout-in-DesktopWindowTreeHostPlatform.patch
-rebuild-Linux-frame-button-cache-when-activation.patch
-chromium-widevine.patch
-chromium-skia-harmony.patch)
-sha256sums=('a2cf3fd07a66330b189724cdcb4549ddac72705fba6adb33020bc6444efb1a44'
-'04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
-'ae3bf107834bd8eda9a3ec7899fe35fde62e6111062e5def7d24bf49b53db3db'
-'46f7fc9768730c460b27681ccf3dc2685c7e1fd22d70d3a82d9e57e3389bb014'
-'709e2fddba3c1f2ed4deb3a239fc0479bfa50c46e054e7f32db4fb1365fed070'
-'771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1')
-
-# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
-# Keys are the names in the above script; values are the dependencies in Arch
-declare -gA _system_libs=(
-  [ffmpeg]=ffmpeg
-  [flac]=flac
-  [fontconfig]=fontconfig
-  [freetype]=freetype2
-  [harfbuzz-ng]=harfbuzz
-  [icu]=icu
-  [libdrm]=
-  [libjpeg]=libjpeg
-  #[libpng]=libpng# https://crbug.com/752403#c10
-  [libvpx]=libvpx
-  [libwebp]=libwebp
-  [libxml]=libxml2
-  [libxslt]=libxslt
-  [opus]=opus
-  [re2]=re2
-  [snappy]=snappy
-  [yasm]=
-  [zlib]=minizip
-)
-_unwanted_bundled_libs=(
-  $(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
-)
-depends+=(${_system_libs[@]})
-
-# Google API keys (see https://www.chromium.org/developers/how-tos/api-keys)
-# Note: These are for Arch Linux use ONLY. For your own distribution, please
-# get your own set of keys.
-_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM

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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 03:08:10
  Author: foutrelis
Revision: 380417

upgpkg: chromium 81.0.4044.113-1: new upstream release

Modified:
  chromium/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 01:21:57 UTC (rev 380416)
+++ PKGBUILD2020-04-16 03:08:10 UTC (rev 380417)
@@ -4,7 +4,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=81.0.4044.92
+pkgver=81.0.4044.113
 pkgrel=1
 _launcher_ver=6
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -28,7 +28,7 @@
 rebuild-Linux-frame-button-cache-when-activation.patch
 chromium-widevine.patch
 chromium-skia-harmony.patch)
-sha256sums=('a2cf3fd07a66330b189724cdcb4549ddac72705fba6adb33020bc6444efb1a44'
+sha256sums=('27cce807a91919211821c4d25be5be8ce48d362166615d4779e886ea0eef5d43'
 '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
 'ae3bf107834bd8eda9a3ec7899fe35fde62e6111062e5def7d24bf49b53db3db'
 '46f7fc9768730c460b27681ccf3dc2685c7e1fd22d70d3a82d9e57e3389bb014'


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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 01:58:28
  Author: foutrelis
Revision: 615113

archrelease: copy trunk to community-testing-x86_64

Added:
  ponyc/repos/community-testing-x86_64/
  ponyc/repos/community-testing-x86_64/PKGBUILD
(from rev 615112, ponyc/trunk/PKGBUILD)

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

Copied: ponyc/repos/community-testing-x86_64/PKGBUILD (from rev 615112, 
ponyc/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-16 01:58:28 UTC (rev 615113)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgname=ponyc
+pkgver=0.33.2
+pkgrel=2
+pkgdesc='An actor model, capabilities, high performance programming language'
+url='https://ponylang.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('llvm9-libs')
+makedepends=('llvm9')
+checkdepends=('pcre2')
+options=('!strip')
+optdepends=('pcre2: Needed for the regex package')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz;)
+sha512sums=('cc02bdac029325689fbe7a5c9e8c9f8a8adf9346e17a6c626c9eca8dcae110c3cf4fb9af348b603e9804dff97183e02687f092d76b62e4bb13e571cd1c7585e8')
+
+prepare() {
+  cd ponyc-$pkgver
+  sed -i 's/-Werror //' Makefile
+}
+
+build() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic
+
+  mkdir docs
+  build/release/ponyc packages/stdlib -rexpr -g -o docs
+}
+
+check() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic test
+}
+
+package() {
+  cd ponyc-$pkgver
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic ponydir=/usr/lib/pony/"$pkgver" 
DESTDIR="$pkgdir" install
+
+  # Ponyc is designed to read its standard packages from the same directory.
+  install -dm755 "$pkgdir"/usr/bin
+  ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin
+
+  # Let's include the examples as documentation is scarce.
+  install -dm755 "$pkgdir"/usr/share/doc/pony
+  cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony
+
+  cp -dr docs/* "$pkgdir"/usr/share/doc/pony
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 01:58:24
  Author: foutrelis
Revision: 615112

upgpkg: ponyc 0.33.2-2: switch to llvm9; add link=llvm-dynamic

Modified:
  ponyc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 01:18:35 UTC (rev 615111)
+++ PKGBUILD2020-04-16 01:58:24 UTC (rev 615112)
@@ -2,13 +2,13 @@
 
 pkgname=ponyc
 pkgver=0.33.2
-pkgrel=1
+pkgrel=2
 pkgdesc='An actor model, capabilities, high performance programming language'
 url='https://ponylang.org/'
 arch=('x86_64')
 license=('BSD')
-depends=('llvm7-libs')
-makedepends=('llvm7')
+depends=('llvm9-libs')
+makedepends=('llvm9')
 checkdepends=('pcre2')
 options=('!strip')
 optdepends=('pcre2: Needed for the regex package')
@@ -22,7 +22,7 @@
 
 build() {
   cd ponyc-$pkgver
-  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic
 
   mkdir docs
   build/release/ponyc packages/stdlib -rexpr -g -o docs
@@ -30,12 +30,12 @@
 
 check() {
   cd ponyc-$pkgver
-  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 test
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic test
 }
 
 package() {
   cd ponyc-$pkgver
-  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 ponydir=/usr/lib/pony/"$pkgver" DESTDIR="$pkgdir" 
install
+  make config=release prefix=/usr arch=x86-64 verbose= default_pic=true 
default_ssl=openssl_1.1.0 link=llvm-dynamic ponydir=/usr/lib/pony/"$pkgver" 
DESTDIR="$pkgdir" install
 
   # Ponyc is designed to read its standard packages from the same directory.
   install -dm755 "$pkgdir"/usr/bin


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

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 01:18:35
  Author: archange
Revision: 615111

Some PKGBUILD linting

Modified:
  beignet/trunk/PKGBUILD

--+
 PKGBUILD |   31 ---
 1 file changed, 16 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 01:17:50 UTC (rev 615110)
+++ PKGBUILD2020-04-16 01:18:35 UTC (rev 615111)
@@ -15,17 +15,20 @@
 provides=(opencl-intel opencl-driver)
 conflicts=(opencl-intel)
 _commit=fc5f430cb7b7a8f694d86acbb038bd5b38ec389c  # master as of 2018-08-20
-source=("git+https://anongit.freedesktop.org/git/beignet.git#commit=$_commit;
-'llvm8.patch'
-'llvm9.patch'
-'llvm10.patch')
-sha256sums=('SKIP'
-'d24e4d8a1a791dc02c91117f900143789dd6f01eaa89292ad67c4fb4eaf84328'
-'5913a93fe6ef77b91480bb6d27c7875673294c0a8a924b2ac66756d0d3577908'
-'2eb9b0801e24f4e537033b41a6bc462e4082f6216d62933240ca3010020ea779')
+source=(
+"git+https://anongit.freedesktop.org/git/beignet.git#commit=$_commit;
+llvm8.patch
+llvm9.patch
+llvm10.patch
+)
+sha256sums=(
+SKIP
+d24e4d8a1a791dc02c91117f900143789dd6f01eaa89292ad67c4fb4eaf84328
+5913a93fe6ef77b91480bb6d27c7875673294c0a8a924b2ac66756d0d3577908
+2eb9b0801e24f4e537033b41a6bc462e4082f6216d62933240ca3010020ea779
+)
 
 prepare() {
-mkdir -p build
 cd ${pkgname}
 
 # Remove implementation of cl_intel_device_side_avc_motion_estimation
@@ -42,18 +45,16 @@
 }
 
 build() {
-cd build
-cmake ../${pkgname} \
+cmake -B build -S ${pkgname} \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
 -DCMAKE_BUILD_TYPE=RELEASE
-make
+make -C build
 }
 
 package() {
-cd build
-make DESTDIR="${pkgdir}" install
+make -C build DESTDIR="${pkgdir}" install
 # Remove headers already provided by 'opencl-headers'
-cd "${pkgdir}/usr/include/CL"
+cd "${pkgdir}"/usr/include/CL
 rm cl.h cl_egl.h cl_ext.h cl_gl.h cl_gl_ext.h cl_platform.h opencl.h
 }


[arch-commits] Commit in intel-compute-runtime/trunk (PKGBUILD)

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 01:12:08
  Author: archange
Revision: 615089

upgpkg: intel-compute-runtime 20.14.16441-1

Update + rebuild for LLVM 10 stack.
Changes credit to dbermond.

Modified:
  intel-compute-runtime/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 01:04:17 UTC (rev 615088)
+++ PKGBUILD2020-04-16 01:12:08 UTC (rev 615089)
@@ -2,25 +2,28 @@
 # Maintainer: Bruno Pagani 
 
 pkgname=intel-compute-runtime
-pkgver=20.13.16352
+pkgver=20.14.16441
 pkgrel=1
-pkgdesc="Intel(R) Graphics Compute Runtime for OpenCL(TM). Replaces Beignet 
for Gen8 (Broadwell) and beyond."
+pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and 
OpenCL(TM) Driver"
 arch=(x86_64)
 url="https://01.org/compute-runtime;
 license=(MIT)
 depends=(gcc-libs intel-gmmlib intel-graphics-compiler)
-makedepends=(cmake libva)
+makedepends=(cmake libva level-zero-headers)
 optdepends=('libva: for cl_intel_va_api_media_sharing'
 'libdrm: for cl_intel_va_api_media_sharing')
-provides=(opencl-driver)
+provides=(opencl-driver level-zero-driver)
 
source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('a0eff6a612e2711ae8a1f19746a53699abecc22bc0f8605ef22a7e176372b4d0')
+sha256sums=('169e7833121beea8ec69ff9249ca06f3bae981e14593c7a62f363d4991acb7e2')
 
 build() {
+export CFLAGS+=" ${CPPFLAGS}"
+export CXXFLAGS+=" ${CPPFLAGS}"
 cmake -B build -S compute-runtime-${pkgver} \
 -DCMAKE_BUILD_TYPE=Release \
 -DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib
+-DCMAKE_INSTALL_LIBDIR=lib \
+-Wno-dev
 make -C build
 }
 
@@ -28,4 +31,11 @@
 make -C build DESTDIR="${pkgdir}" install
 install -Dm755 build/bin/libocloc.so -t "${pkgdir}"/usr/lib/intel-opencl
 install -Dm644 compute-runtime-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+
+local _lz_sover
+local _lz_major
+_lz_sover=$(find "${pkgdir}"/usr/lib -type f -name 
'libze_intel_gpu.so.*.*.*' | sed 's/^.*\.so\.//')
+_lz_major=${_lz_sover%%.*}
+ln -s libze_intel_gpu.so.${_lz_sover} 
"${pkgdir}"/usr/lib/libze_intel_gpu.so
+ln -s libze_intel_gpu.so.${_lz_sover} 
"${pkgdir}"/usr/lib/libze_intel_gpu.so.${_lz_major}
 }


[arch-commits] Commit in intel-compute-runtime/repos (2 files)

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 01:12:16
  Author: archange
Revision: 615090

archrelease: copy trunk to community-staging-x86_64

Added:
  intel-compute-runtime/repos/community-staging-x86_64/
  intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD
(from rev 615089, intel-compute-runtime/trunk/PKGBUILD)

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

Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 
615089, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 01:12:16 UTC (rev 615090)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=20.14.16441
+pkgrel=1
+pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and 
OpenCL(TM) Driver"
+arch=(x86_64)
+url="https://01.org/compute-runtime;
+license=(MIT)
+depends=(gcc-libs intel-gmmlib intel-graphics-compiler)
+makedepends=(cmake libva level-zero-headers)
+optdepends=('libva: for cl_intel_va_api_media_sharing'
+'libdrm: for cl_intel_va_api_media_sharing')
+provides=(opencl-driver level-zero-driver)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('169e7833121beea8ec69ff9249ca06f3bae981e14593c7a62f363d4991acb7e2')
+
+build() {
+export CFLAGS+=" ${CPPFLAGS}"
+export CXXFLAGS+=" ${CPPFLAGS}"
+cmake -B build -S compute-runtime-${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-Wno-dev
+make -C build
+}
+
+package() {
+make -C build DESTDIR="${pkgdir}" install
+install -Dm755 build/bin/libocloc.so -t "${pkgdir}"/usr/lib/intel-opencl
+install -Dm644 compute-runtime-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+
+local _lz_sover
+local _lz_major
+_lz_sover=$(find "${pkgdir}"/usr/lib -type f -name 
'libze_intel_gpu.so.*.*.*' | sed 's/^.*\.so\.//')
+_lz_major=${_lz_sover%%.*}
+ln -s libze_intel_gpu.so.${_lz_sover} 
"${pkgdir}"/usr/lib/libze_intel_gpu.so
+ln -s libze_intel_gpu.so.${_lz_sover} 
"${pkgdir}"/usr/lib/libze_intel_gpu.so.${_lz_major}
+}


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

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 01:04:17
  Author: archange
Revision: 615088

archrelease: copy trunk to community-x86_64

Added:
  nlopt/repos/community-x86_64/PKGBUILD
(from rev 615087, nlopt/trunk/PKGBUILD)
Deleted:
  nlopt/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   66 +++--
 1 file changed, 30 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-16 01:03:48 UTC (rev 615087)
+++ PKGBUILD2020-04-16 01:04:17 UTC (rev 615088)
@@ -1,36 +0,0 @@
-# Maintainer: Bruno Pagani 
-
-pkgname=nlopt
-pkgver=2.6.1
-pkgrel=2
-pkgdesc="Nonlinear optimization library"
-arch=(x86_64)
-url="https://nlopt.readthedocs.io/en/latest/;
-license=(LGPL)
-depends=(gcc-libs)
-makedepends=(cmake python-numpy octave guile swig)
-optdepends=('python-numpy: to use with python')
-source=("https://github.com/stevengj/nlopt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz;)
-sha256sums=('66d63a505187fb6f98642703bd0ef006fedcae2f9a6d1efa4f362ea919a02650')
-
-prepare () {
-mkdir -p build
-}
-
-build() {
-cd build
-cmake ../${pkgname}-${pkgver} \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib
-make
-}
-
-check() {
-cd build
-ctest --output-on-failure
-}
-
-package() {
-cd build
-make DESTDIR="${pkgdir}" install
-}

Copied: nlopt/repos/community-x86_64/PKGBUILD (from rev 615087, 
nlopt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-16 01:04:17 UTC (rev 615088)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani 
+
+pkgname=nlopt
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="Nonlinear optimization library"
+arch=(x86_64)
+url="https://nlopt.readthedocs.io/en/latest/;
+license=(LGPL)
+depends=(gcc-libs)
+makedepends=(cmake python-numpy octave guile swig)
+optdepends=('python-numpy: to use with python')
+source=("https://github.com/stevengj/nlopt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha256sums=('cfa5981736dd60d0109c534984c4e13c615314d3584cf1c392a155bfe1a3b17e')
+
+build() {
+cmake -B build -S ${pkgname}-${pkgver} \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib
+make -C build
+}
+
+check() {
+cd build
+ctest --output-on-failure
+}
+
+package() {
+make -C build DESTDIR="${pkgdir}" install
+}


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

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 01:03:48
  Author: archange
Revision: 615087

upgpkg: nlopt 2.6.2-1

Modified:
  nlopt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 01:03:06 UTC (rev 615086)
+++ PKGBUILD2020-04-16 01:03:48 UTC (rev 615087)
@@ -1,8 +1,8 @@
 # Maintainer: Bruno Pagani 
 
 pkgname=nlopt
-pkgver=2.6.1
-pkgrel=2
+pkgver=2.6.2
+pkgrel=1
 pkgdesc="Nonlinear optimization library"
 arch=(x86_64)
 url="https://nlopt.readthedocs.io/en/latest/;
@@ -11,18 +11,13 @@
 makedepends=(cmake python-numpy octave guile swig)
 optdepends=('python-numpy: to use with python')
 
source=("https://github.com/stevengj/nlopt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz;)
-sha256sums=('66d63a505187fb6f98642703bd0ef006fedcae2f9a6d1efa4f362ea919a02650')
+sha256sums=('cfa5981736dd60d0109c534984c4e13c615314d3584cf1c392a155bfe1a3b17e')
 
-prepare () {
-mkdir -p build
-}
-
 build() {
-cd build
-cmake ../${pkgname}-${pkgver} \
+cmake -B build -S ${pkgname}-${pkgver} \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DCMAKE_INSTALL_LIBDIR=lib
-make
+make -C build
 }
 
 check() {
@@ -31,6 +26,5 @@
 }
 
 package() {
-cd build
-make DESTDIR="${pkgdir}" install
+make -C build DESTDIR="${pkgdir}" install
 }


[arch-commits] Commit in beignet/trunk (PKGBUILD llvm10.patch llvm8.patch llvm9.patch)

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 01:02:53
  Author: foutrelis
Revision: 615085

upgpkg: beignet 1.3.2+12+gfc5f430c-4: LLVM 10 rebuild

Also replace LLVM 8/9 patches with ones from Debian which include a fix.

Added:
  beignet/trunk/llvm10.patch
Modified:
  beignet/trunk/PKGBUILD
  beignet/trunk/llvm8.patch
  beignet/trunk/llvm9.patch

--+
 PKGBUILD |   20 ++-
 llvm10.patch |  358 +
 llvm8.patch  |   63 ++
 llvm9.patch  |  115 +++---
 4 files changed, 433 insertions(+), 123 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 00:54:41 UTC (rev 615084)
+++ PKGBUILD2020-04-16 01:02:53 UTC (rev 615085)
@@ -5,7 +5,7 @@
 
 pkgname=beignet
 pkgver=1.3.2+12+gfc5f430c
-pkgrel=3
+pkgrel=4
 pkgdesc="An open source OpenCL implementation for Intel IvyBridge & Haswell 
iGPUs"
 arch=(x86_64)
 url="https://01.org/${pkgname};
@@ -17,10 +17,12 @@
 _commit=fc5f430cb7b7a8f694d86acbb038bd5b38ec389c  # master as of 2018-08-20
 source=("git+https://anongit.freedesktop.org/git/beignet.git#commit=$_commit;
 'llvm8.patch'
-'llvm9.patch')
+'llvm9.patch'
+'llvm10.patch')
 sha256sums=('SKIP'
-'f16b13a3263b5042081094cd20c9e09c20a3a6d6e1dd796f460e4f447cfbb598'
-'2a0229629ad228b54fdb930d18a94c6879024a41b43ed5265c758bf508cd4bc6')
+'d24e4d8a1a791dc02c91117f900143789dd6f01eaa89292ad67c4fb4eaf84328'
+'5913a93fe6ef77b91480bb6d27c7875673294c0a8a924b2ac66756d0d3577908'
+'2eb9b0801e24f4e537033b41a6bc462e4082f6216d62933240ca3010020ea779')
 
 prepare() {
 mkdir -p build
@@ -30,9 +32,13 @@
 # (conflicts with the implemention in Clang 8)
 git revert -n 9b7ca443cf7b 9cb7ff4c285d
 
-# Patches from FreeBSD to build with newer LLVM
-patch -Np0 -i ../llvm8.patch
-patch -Np0 -i ../llvm9.patch
+# Patches from FreeBSD + Debian to build with newer LLVM
+patch -Np1 -i ../llvm8.patch
+patch -Np1 -i ../llvm9.patch
+
+# https://lists.freedesktop.org/archives/beignet/2020-January/009251.html
+# https://github.com/intel/opencl-clang/commit/77ae1114c7bf79d724f5129461
+patch -Np1 -i ../llvm10.patch
 }
 
 build() {

Added: llvm10.patch
===
--- llvm10.patch(rev 0)
+++ llvm10.patch2020-04-16 01:02:53 UTC (rev 615085)
@@ -0,0 +1,358 @@
+diff -upr beignet.orig/backend/src/backend/program.cpp 
beignet/backend/src/backend/program.cpp
+--- beignet.orig/backend/src/backend/program.cpp   2020-04-16 
03:44:21.153955099 +0300
 beignet/backend/src/backend/program.cpp2020-04-16 03:47:50.369205839 
+0300
+@@ -694,9 +694,14 @@ namespace gbe {
+ #endif
+ );
+ 
++llvm::cl::ResetAllOptionOccurrences();
+ clang::CompilerInvocation::CreateFromArgs(*CI,
++#if LLVM_VERSION_MAJOR < 10
+   [0],
+   [0] + args.size(),
++#else
++  clang::ArrayRef(args),
++#endif
+   Diags);
+ // Create the compiler instance
+ clang::CompilerInstance Clang;
+@@ -1242,8 +1247,12 @@ EXTEND_QUOTE:
+   // Create the compiler invocation
+   std::unique_ptr CI(new 
clang::CompilerInvocation);
+   return clang::CompilerInvocation::CreateFromArgs(*CI,
++#if LLVM_VERSION_MAJOR < 10
+[0],
+[0] + args.size(),
++#else
++   clang::ArrayRef(args),
++#endif
+Diags);
+ }
+ #endif
+Only in beignet/backend/src/backend: program.cpp.orig
+Only in beignet.orig/backend/src: CMakeLists.txt.orig
+diff -upr beignet.orig/backend/src/llvm/llvm_gen_backend.cpp 
beignet/backend/src/llvm/llvm_gen_backend.cpp
+--- beignet.orig/backend/src/llvm/llvm_gen_backend.cpp 2020-04-16 
03:44:21.783970632 +0300
 beignet/backend/src/llvm/llvm_gen_backend.cpp  2020-04-16 
03:45:04.141685867 +0300
+@@ -575,11 +575,13 @@ namespace gbe
+ has_errors(false),
+ legacyMode(true)
+ {
++#if LLVM_VERSION_MAJOR < 10
+ #if LLVM_VERSION_MAJOR * 10 + LLVM_VERSION_MINOR >= 37
+   initializeLoopInfoWrapperPassPass(*PassRegistry::getPassRegistry());
+ #else
+   initializeLoopInfoPass(*PassRegistry::getPassRegistry());
+ #endif
++#endif
+   pass = PASS_EMIT_REGISTERS;
+ }
+ 
+diff -upr beignet.orig/backend/src/llvm/llvm_gen_backend.hpp 
beignet/backend/src/llvm/llvm_gen_backend.hpp
+--- beignet.orig/backend/src/llvm/llvm_gen_backend.hpp 2020-04-16 
03:44:21.177289008 +0300
 beignet/backend/src/llvm/llvm_gen_backend.hpp  2020-04-16 
03:45:04.135019035 +0300
+@@ 

[arch-commits] Commit in beignet/repos (5 files)

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 16, 2020 @ 01:03:06
  Author: foutrelis
Revision: 615086

archrelease: copy trunk to community-staging-x86_64

Added:
  beignet/repos/community-staging-x86_64/
  beignet/repos/community-staging-x86_64/PKGBUILD
(from rev 615085, beignet/trunk/PKGBUILD)
  beignet/repos/community-staging-x86_64/llvm10.patch
(from rev 615085, beignet/trunk/llvm10.patch)
  beignet/repos/community-staging-x86_64/llvm8.patch
(from rev 615085, beignet/trunk/llvm8.patch)
  beignet/repos/community-staging-x86_64/llvm9.patch
(from rev 615085, beignet/trunk/llvm9.patch)

--+
 PKGBUILD |   59 +
 llvm10.patch |  358 +
 llvm8.patch  |   71 +++
 llvm9.patch  |  113 +
 4 files changed, 601 insertions(+)

Copied: beignet/repos/community-staging-x86_64/PKGBUILD (from rev 615085, 
beignet/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 01:03:06 UTC (rev 615086)
@@ -0,0 +1,59 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Antoine Lubineau 
+# Contributor: Leopold Bloom 
+# Contributor: Michal Krenek (a.k.a. Mikos) 
+
+pkgname=beignet
+pkgver=1.3.2+12+gfc5f430c
+pkgrel=4
+pkgdesc="An open source OpenCL implementation for Intel IvyBridge & Haswell 
iGPUs"
+arch=(x86_64)
+url="https://01.org/${pkgname};
+license=(LGPL)
+depends=(glu llvm-libs clang mesa opencl-headers)
+makedepends=(git llvm cmake python ocl-icd)
+provides=(opencl-intel opencl-driver)
+conflicts=(opencl-intel)
+_commit=fc5f430cb7b7a8f694d86acbb038bd5b38ec389c  # master as of 2018-08-20
+source=("git+https://anongit.freedesktop.org/git/beignet.git#commit=$_commit;
+'llvm8.patch'
+'llvm9.patch'
+'llvm10.patch')
+sha256sums=('SKIP'
+'d24e4d8a1a791dc02c91117f900143789dd6f01eaa89292ad67c4fb4eaf84328'
+'5913a93fe6ef77b91480bb6d27c7875673294c0a8a924b2ac66756d0d3577908'
+'2eb9b0801e24f4e537033b41a6bc462e4082f6216d62933240ca3010020ea779')
+
+prepare() {
+mkdir -p build
+cd ${pkgname}
+
+# Remove implementation of cl_intel_device_side_avc_motion_estimation
+# (conflicts with the implemention in Clang 8)
+git revert -n 9b7ca443cf7b 9cb7ff4c285d
+
+# Patches from FreeBSD + Debian to build with newer LLVM
+patch -Np1 -i ../llvm8.patch
+patch -Np1 -i ../llvm9.patch
+
+# https://lists.freedesktop.org/archives/beignet/2020-January/009251.html
+# https://github.com/intel/opencl-clang/commit/77ae1114c7bf79d724f5129461
+patch -Np1 -i ../llvm10.patch
+}
+
+build() {
+cd build
+cmake ../${pkgname} \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DCMAKE_BUILD_TYPE=RELEASE
+make
+}
+
+package() {
+cd build
+make DESTDIR="${pkgdir}" install
+# Remove headers already provided by 'opencl-headers'
+cd "${pkgdir}/usr/include/CL"
+rm cl.h cl_egl.h cl_ext.h cl_gl.h cl_gl_ext.h cl_platform.h opencl.h
+}

Copied: beignet/repos/community-staging-x86_64/llvm10.patch (from rev 615085, 
beignet/trunk/llvm10.patch)
===
--- community-staging-x86_64/llvm10.patch   (rev 0)
+++ community-staging-x86_64/llvm10.patch   2020-04-16 01:03:06 UTC (rev 
615086)
@@ -0,0 +1,358 @@
+diff -upr beignet.orig/backend/src/backend/program.cpp 
beignet/backend/src/backend/program.cpp
+--- beignet.orig/backend/src/backend/program.cpp   2020-04-16 
03:44:21.153955099 +0300
 beignet/backend/src/backend/program.cpp2020-04-16 03:47:50.369205839 
+0300
+@@ -694,9 +694,14 @@ namespace gbe {
+ #endif
+ );
+ 
++llvm::cl::ResetAllOptionOccurrences();
+ clang::CompilerInvocation::CreateFromArgs(*CI,
++#if LLVM_VERSION_MAJOR < 10
+   [0],
+   [0] + args.size(),
++#else
++  clang::ArrayRef(args),
++#endif
+   Diags);
+ // Create the compiler instance
+ clang::CompilerInstance Clang;
+@@ -1242,8 +1247,12 @@ EXTEND_QUOTE:
+   // Create the compiler invocation
+   std::unique_ptr CI(new 
clang::CompilerInvocation);
+   return clang::CompilerInvocation::CreateFromArgs(*CI,
++#if LLVM_VERSION_MAJOR < 10
+[0],
+[0] + args.size(),
++#else
++   clang::ArrayRef(args),
++#endif
+Diags);
+ }
+ #endif
+Only in beignet/backend/src/backend: program.cpp.orig
+Only in beignet.orig/backend/src: CMakeLists.txt.orig
+diff -upr 

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

2020-04-15 Thread Kpcyrd via arch-commits
Date: Thursday, April 16, 2020 @ 00:54:22
  Author: kpcyrd
Revision: 615083

upgpkg: signal-desktop 1.33.1-1

Modified:
  signal-desktop/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 00:45:40 UTC (rev 615082)
+++ PKGBUILD2020-04-16 00:54:22 UTC (rev 615083)
@@ -3,7 +3,7 @@
 
 pkgname=signal-desktop
 _pkgname=Signal-Desktop
-pkgver=1.33.0
+pkgver=1.33.1
 pkgrel=1
 pkgdesc="Electron application that links with Signal on mobile"
 license=('GPL3')
@@ -21,12 +21,12 @@
   # See https://github.com/atom/node-spellchecker/issues/127
   
"https://github.com/atom/node-spellchecker/archive/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz;
 )
-sha512sums=('fcfc91cc1dbe2fda94492b91548debd7d12045cf5d91b65d7c62ed26bb5a127d86fce1e80b5d843a43e7c3819168c2a2ff02782449ec17ed73c118cf0e722dbd'
+sha512sums=('1e5f4e5975ea02d450d17606e70e052aad21400f5831c62573d0e1746d7dc1e3155faefe64c9c4b8bb4374a84b3214e42c1b1f75f321a15625a201580e42626c'
 
'c5ec0bf524e527ecf94207ef6aa1f2671346e115ec15de6d063cde0960151813752a1814e003705fc1a99d4e2eae1b3ca4d03432a50790957186e240527cc361'
 
'6b846fdf70dae6c4657de523ec133d2f08325740863660b86e75d032bb07a4b97834ba0eeea4c77000c2c20b11739b8e8deaf06584f9279638e640c4b7633dd5'
 
'6673066172d6c367961f3e2d762dd483e51a9f733d52e27d0569b333ad397375fd41d61b8a414b8c9e8dbba560a6c710678b3d105f8d285cb94d70561368d5a2'
 
'42f57802fa91dafb6dbfb5a3f613c4c07df65e97f8da84c9a54292c97a4d170f8455461aac8f6f7819d1ffbea4bf6c28488f8950056ba988776d060be3f107dd')
-b2sums=('db9f50cbec5e484d40a0725a039f39e8acb512e9f892fc0d9ccf3399559293a6ff7375dc1c755cf46480266e64361c82cb86846f1c743ca66e3fdf5c2939f154'
+b2sums=('0a16311cb9b939a0e24ad4af94d6f05656e9e4c1196043c64505d7bc3e376fb0296b93302a750bd614d649508824fc05a03d58ab48960377e25b621e12c00a79'
 
'c0ceb5b903965727714b1848c818877f4b740c4734deafcfaf777046002a445d79cd4d86bbbf3d763dbda8e8d542b60605ae2ca43196ea76b089f2e808926dbc'
 
'91fe76cd2ef32bd523aa857a219209f93ca5a6a3f5caa35f67c489a8eb79c8e1e404f453bed9e866e543ed48b9df8e17b45ad2ea8891b48d1502a97589a144af'
 
'b8171e6d881a6ffd5588d1cae00ed81412eff1602670003fc1f48b7e6cb2d680340d464b7b38ee8886a8bd8193166ad71e3ad10b0de8b2a397b383b72434e289'


[arch-commits] Commit in signal-desktop/repos/community-x86_64 (10 files)

2020-04-15 Thread Kpcyrd via arch-commits
Date: Thursday, April 16, 2020 @ 00:54:41
  Author: kpcyrd
Revision: 615084

archrelease: copy trunk to community-x86_64

Added:
  signal-desktop/repos/community-x86_64/PKGBUILD
(from rev 615083, signal-desktop/trunk/PKGBUILD)
  signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt
(from rev 615083, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
  signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch
(from rev 615083, signal-desktop/trunk/expire-from-source-date-epoch.patch)
  signal-desktop/repos/community-x86_64/openssl-linking.patch
(from rev 615083, signal-desktop/trunk/openssl-linking.patch)
  signal-desktop/repos/community-x86_64/signal-desktop.desktop
(from rev 615083, signal-desktop/trunk/signal-desktop.desktop)
Deleted:
  signal-desktop/repos/community-x86_64/PKGBUILD
  signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt
  signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch
  signal-desktop/repos/community-x86_64/openssl-linking.patch
  signal-desktop/repos/community-x86_64/signal-desktop.desktop

-+
 PKGBUILD|  186 +-
 expire-from-source-date-epoch.patch |   26 ++--
 openssl-linking.patch   |   38 +++---
 signal-desktop.desktop  |   18 +--
 4 files changed, 134 insertions(+), 134 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-16 00:54:22 UTC (rev 615083)
+++ PKGBUILD2020-04-16 00:54:41 UTC (rev 615084)
@@ -1,93 +0,0 @@
-# Maintainer: kpcyrd 
-# Contributor: Jean Lucas 
-
-pkgname=signal-desktop
-_pkgname=Signal-Desktop
-pkgver=1.33.0
-pkgrel=1
-pkgdesc="Electron application that links with Signal on mobile"
-license=('GPL3')
-replaces=('signal-desktop-bin')
-arch=('x86_64')
-url="https://signal.org;
-depends=('electron' 'libvips')
-makedepends=('yarn' 'git' 'nodejs' 'npm' 'python')
-source=(
-  
"${pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/v${pkgver}.tar.gz;
-  "${pkgname}.desktop"
-  "openssl-linking.patch"
-  "expire-from-source-date-epoch.patch"
-  # Cherry-pick a specific commit for the node-spellchecker dependency
-  # See https://github.com/atom/node-spellchecker/issues/127
-  
"https://github.com/atom/node-spellchecker/archive/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz;
-)
-sha512sums=('fcfc91cc1dbe2fda94492b91548debd7d12045cf5d91b65d7c62ed26bb5a127d86fce1e80b5d843a43e7c3819168c2a2ff02782449ec17ed73c118cf0e722dbd'
-
'c5ec0bf524e527ecf94207ef6aa1f2671346e115ec15de6d063cde0960151813752a1814e003705fc1a99d4e2eae1b3ca4d03432a50790957186e240527cc361'
-
'6b846fdf70dae6c4657de523ec133d2f08325740863660b86e75d032bb07a4b97834ba0eeea4c77000c2c20b11739b8e8deaf06584f9279638e640c4b7633dd5'
-
'6673066172d6c367961f3e2d762dd483e51a9f733d52e27d0569b333ad397375fd41d61b8a414b8c9e8dbba560a6c710678b3d105f8d285cb94d70561368d5a2'
-
'42f57802fa91dafb6dbfb5a3f613c4c07df65e97f8da84c9a54292c97a4d170f8455461aac8f6f7819d1ffbea4bf6c28488f8950056ba988776d060be3f107dd')
-b2sums=('db9f50cbec5e484d40a0725a039f39e8acb512e9f892fc0d9ccf3399559293a6ff7375dc1c755cf46480266e64361c82cb86846f1c743ca66e3fdf5c2939f154'
-
'c0ceb5b903965727714b1848c818877f4b740c4734deafcfaf777046002a445d79cd4d86bbbf3d763dbda8e8d542b60605ae2ca43196ea76b089f2e808926dbc'
-
'91fe76cd2ef32bd523aa857a219209f93ca5a6a3f5caa35f67c489a8eb79c8e1e404f453bed9e866e543ed48b9df8e17b45ad2ea8891b48d1502a97589a144af'
-
'b8171e6d881a6ffd5588d1cae00ed81412eff1602670003fc1f48b7e6cb2d680340d464b7b38ee8886a8bd8193166ad71e3ad10b0de8b2a397b383b72434e289'
-
'53ad39f0bed69c5c5635d2e581f4ce56e3080fee16f184add08adee1164c2d68059d52071478a05cdacf04186f9964250f46f09e80553bf35e1f2f4cd1976d1b')
-
-prepare() {
-  cd "${_pkgname}-${pkgver}"
-
-  # Fix SpellChecker build with imminent Node 13
-  # See https://github.com/atom/node-spellchecker/issues/127
-  sed -r 's#("spellchecker": 
").*"#\1file:'"${srcdir}"'/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz"#' 
-i package.json
-
-  # Set system Electron version for ABI compatibility
-  sed -r 's#("electron": ").*"#\1'$(cat /usr/lib/electron/version)'"#' -i 
package.json
-
-  # Allow higher Node versions
-  sed 's#"node": "#&>=#' -i package.json
-
-  # Select node-gyp versions with python3 support
-  sed 's#"node-gyp": "5.0.3"#"node-gyp": "6.1.0"#' -i package.json
-  # https://github.com/sass/node-sass/pull/2841
-  # https://github.com/sass/node-sass/issues/2716
-  sed 's#"resolutions": {#"resolutions": {"node-sass/node-gyp": "^6.0.0",#' -i 
package.json
-
-  yarn install
-
-  # Have SQLCipher dynamically link from OpenSSL
-  # See https://github.com/signalapp/Signal-Desktop/issues/2634
-  patch --forward --strip=1 --input="${srcdir}/openssl-linking.patch"
-
-  # We can't read the release date from git so we use SOURCE_DATE_EPOCH instead
-  patch 

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

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 00:45:40
  Author: archange
Revision: 615082

archrelease: copy trunk to community-staging-x86_64

Added:
  level-zero/repos/community-staging-x86_64/
  level-zero/repos/community-staging-x86_64/PKGBUILD
(from rev 615081, level-zero/trunk/PKGBUILD)

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

Copied: level-zero/repos/community-staging-x86_64/PKGBUILD (from rev 615081, 
level-zero/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 00:45:40 UTC (rev 615082)
@@ -0,0 +1,51 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgbase=level-zero
+pkgname=(level-zero-headers level-zero-loader)
+pkgver=0.91.10
+pkgrel=3
+pkgdesc="API for accessing low level interfaces in oneAPI platform devices"
+arch=(x86_64)
+url="https://spec.oneapi.com/versions/latest/elements/l0/source/index.html;
+license=(MIT)
+makedepends=(cmake opencl-headers)
+source=(https://github.com/oneapi-src/level-zero/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('9193d8cc57cd63f9b0f44bbc51c9d099c6e899781edb33f9869a850865c64d3d')
+
+prepare() {
+printf '%s\n' ${pkgver##*.} > ${pkgbase}-${pkgver}/VERSION_PATCH
+}
+
+build() {
+export CFLAGS+=" ${CPPFLAGS}"
+export CXXFLAGS+=" ${CPPFLAGS}"
+cmake -B build -S ${pkgbase}-${pkgver} \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-Wno-dev
+make -C build
+}
+
+package_level-zero-headers() {
+pkgdesc+=" (headers)"
+#arch=(any) # Not supported for now, maybe later
+
+make -C build DESTDIR="${pkgdir}" install
+install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+
+# remove loader files
+[ -d 'loader' ] && rm -rf loader
+mkdir -p loader
+mv "${pkgdir}"/usr/lib loader
+}
+
+package_level-zero-loader() {
+pkgdesc+=" (loader)"
+depends=(gcc-libs)
+optdepends=('level-zero-driver: for packaged Level Zero driver')
+
+mv loader "${pkgdir}"/usr
+install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+}
+


[arch-commits] Commit in (4 files)

2020-04-15 Thread Bruno Pagani via arch-commits
Date: Thursday, April 16, 2020 @ 00:45:00
  Author: archange
Revision: 615081

Initial addition of level-zero

Added:
  level-zero/
  level-zero/repos/
  level-zero/trunk/
  level-zero/trunk/PKGBUILD

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

Added: level-zero/trunk/PKGBUILD
===
--- level-zero/trunk/PKGBUILD   (rev 0)
+++ level-zero/trunk/PKGBUILD   2020-04-16 00:45:00 UTC (rev 615081)
@@ -0,0 +1,51 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgbase=level-zero
+pkgname=(level-zero-headers level-zero-loader)
+pkgver=0.91.10
+pkgrel=3
+pkgdesc="API for accessing low level interfaces in oneAPI platform devices"
+arch=(x86_64)
+url="https://spec.oneapi.com/versions/latest/elements/l0/source/index.html;
+license=(MIT)
+makedepends=(cmake opencl-headers)
+source=(https://github.com/oneapi-src/level-zero/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('9193d8cc57cd63f9b0f44bbc51c9d099c6e899781edb33f9869a850865c64d3d')
+
+prepare() {
+printf '%s\n' ${pkgver##*.} > ${pkgbase}-${pkgver}/VERSION_PATCH
+}
+
+build() {
+export CFLAGS+=" ${CPPFLAGS}"
+export CXXFLAGS+=" ${CPPFLAGS}"
+cmake -B build -S ${pkgbase}-${pkgver} \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-Wno-dev
+make -C build
+}
+
+package_level-zero-headers() {
+pkgdesc+=" (headers)"
+#arch=(any) # Not supported for now, maybe later
+
+make -C build DESTDIR="${pkgdir}" install
+install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+
+# remove loader files
+[ -d 'loader' ] && rm -rf loader
+mkdir -p loader
+mv "${pkgdir}"/usr/lib loader
+}
+
+package_level-zero-loader() {
+pkgdesc+=" (loader)"
+depends=(gcc-libs)
+optdepends=('level-zero-driver: for packaged Level Zero driver')
+
+mv loader "${pkgdir}"/usr
+install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+}
+


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

2020-04-15 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, April 16, 2020 @ 00:21:48
  Author: svenstaro
Revision: 615080

archrelease: copy trunk to community-x86_64

Added:
  tiled/repos/community-x86_64/PKGBUILD
(from rev 615079, tiled/trunk/PKGBUILD)
Deleted:
  tiled/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   54 +++---
 1 file changed, 27 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-16 00:21:26 UTC (rev 615079)
+++ PKGBUILD2020-04-16 00:21:48 UTC (rev 615080)
@@ -1,27 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Collaborator: Jonathan Fine (were.Vire AT gmail DOT com)
-pkgname=tiled
-pkgver=1.3.3
-pkgrel=1
-pkgdesc='A general purpose tile map editor, built to be flexible and easy to 
use'
-arch=('x86_64')
-url='http://www.mapeditor.org'
-license=('GPL')
-replaces=('tiled-qt')
-depends=('qt5-base' 'libgl' 'gtk-update-icon-cache' 'shared-mime-info' 
'desktop-file-utils' 'libxkbcommon-x11' 'qt5-declarative' 'qt5-quickcontrols2' 
'zstd')
-makedepends=('mesa' 'qt5-tools' 'python3')
-optdepends=('python3: Python plugin')
-source=($pkgname-$pkgver.tar.gz::https://github.com/bjorn/tiled/archive/v${pkgver}.tar.gz)
-sha512sums=('61207f2634ee841207598d06bc4bb97cd25182e25228c97b6a369b88e3a79ddf63c91786eb80254a658380f54b08d4f0bef1891ff7437aedc29f6344a405ee08')
-
-build() {
-  cd $pkgname-$pkgver
-  qmake -r INSTALL_HEADERS=yes RPATH=no PREFIX=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make install INSTALL_ROOT="$pkgdir"
-}

Copied: tiled/repos/community-x86_64/PKGBUILD (from rev 615079, 
tiled/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-16 00:21:48 UTC (rev 615080)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase 
+# Collaborator: Jonathan Fine (were.Vire AT gmail DOT com)
+pkgname=tiled
+pkgver=1.3.4
+pkgrel=1
+pkgdesc='A general purpose tile map editor, built to be flexible and easy to 
use'
+arch=('x86_64')
+url='http://www.mapeditor.org'
+license=('GPL')
+replaces=('tiled-qt')
+depends=('qt5-base' 'libgl' 'gtk-update-icon-cache' 'shared-mime-info' 
'desktop-file-utils' 'libxkbcommon-x11' 'qt5-declarative' 'qt5-quickcontrols2' 
'zstd')
+makedepends=('mesa' 'qt5-tools' 'python3')
+optdepends=('python3: Python plugin')
+source=($pkgname-$pkgver.tar.gz::https://github.com/bjorn/tiled/archive/v${pkgver}.tar.gz)
+sha512sums=('f78772f74d9f7a241ff9191ed6152f965b7a5342db877fa63a2d84f266d956cb2fa487776cf503db36bc5da9aa825c8bab87e13293e43a129f560020e323bd61')
+
+build() {
+  cd $pkgname-$pkgver
+  qmake -r INSTALL_HEADERS=yes RPATH=no PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make install INSTALL_ROOT="$pkgdir"
+}


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

2020-04-15 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, April 16, 2020 @ 00:21:26
  Author: svenstaro
Revision: 615079

upgpkg: tiled 1.3.4-1

Modified:
  tiled/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 22:59:24 UTC (rev 615078)
+++ PKGBUILD2020-04-16 00:21:26 UTC (rev 615079)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 # Collaborator: Jonathan Fine (were.Vire AT gmail DOT com)
 pkgname=tiled
-pkgver=1.3.3
+pkgver=1.3.4
 pkgrel=1
 pkgdesc='A general purpose tile map editor, built to be flexible and easy to 
use'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('mesa' 'qt5-tools' 'python3')
 optdepends=('python3: Python plugin')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/bjorn/tiled/archive/v${pkgver}.tar.gz)
-sha512sums=('61207f2634ee841207598d06bc4bb97cd25182e25228c97b6a369b88e3a79ddf63c91786eb80254a658380f54b08d4f0bef1891ff7437aedc29f6344a405ee08')
+sha512sums=('f78772f74d9f7a241ff9191ed6152f965b7a5342db877fa63a2d84f266d956cb2fa487776cf503db36bc5da9aa825c8bab87e13293e43a129f560020e323bd61')
 
 build() {
   cd $pkgname-$pkgver


[arch-commits] Commit in libclc/repos (staging-any staging-any/PKGBUILD)

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 15, 2020 @ 23:09:09
  Author: foutrelis
Revision: 380399

archrelease: copy trunk to staging-any

Added:
  libclc/repos/staging-any/
  libclc/repos/staging-any/PKGBUILD
(from rev 380398, libclc/trunk/PKGBUILD)

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

Copied: libclc/repos/staging-any/PKGBUILD (from rev 380398, 
libclc/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2020-04-15 23:09:09 UTC (rev 380399)
@@ -0,0 +1,33 @@
+# Maintainer: Laurent Carlier 
+
+pkgname=libclc
+pkgver=0.2.0+589+9aa6f35
+pkgrel=2
+pkgdesc="Library requirements of the OpenCL C programming language"
+arch=('any')
+url="https://libclc.llvm.org/;
+license=('MIT')
+makedepends=('clang' 'llvm' 'python' 'git')
+options=('staticlibs')
+source=('git+https://llvm.org/git/libclc.git#commit=9aa6f35')
+md5sums=('SKIP')
+
+pkgver() {
+  cd libclc
+
+  echo 0.2.0+$(git rev-list --count HEAD)+$(git describe --always)
+}
+
+build() {
+  cd libclc
+   ./configure.py --prefix=/usr
+  make
+}
+
+package() {
+  cd libclc
+  
+  make install DESTDIR="$pkgdir"
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+


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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 15, 2020 @ 23:09:04
  Author: foutrelis
Revision: 380398

upgpkg: libclc 0.2.0+589+9aa6f35-2: LLVM 10 rebuild

Modified:
  libclc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:38:20 UTC (rev 380397)
+++ PKGBUILD2020-04-15 23:09:04 UTC (rev 380398)
@@ -2,7 +2,7 @@
 
 pkgname=libclc
 pkgver=0.2.0+589+9aa6f35
-pkgrel=1
+pkgrel=2
 pkgdesc="Library requirements of the OpenCL C programming language"
 arch=('any')
 url="https://libclc.llvm.org/;


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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 15, 2020 @ 22:59:21
  Author: foutrelis
Revision: 615077

upgpkg: pocl 1.5-2: LLVM 10 rebuild

Modified:
  pocl/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 22:53:04 UTC (rev 615076)
+++ PKGBUILD2020-04-15 22:59:21 UTC (rev 615077)
@@ -5,7 +5,7 @@
 
 pkgname=pocl
 pkgver=1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Portable OpenCL is an open-source implementation of OpenCL which can 
be easily adapted for new targets"
 arch=('x86_64')
 url="http://portablecl.org/;


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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 15, 2020 @ 22:59:24
  Author: foutrelis
Revision: 615078

archrelease: copy trunk to community-staging-x86_64

Added:
  pocl/repos/community-staging-x86_64/
  pocl/repos/community-staging-x86_64/PKGBUILD
(from rev 615077, pocl/trunk/PKGBUILD)

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

Copied: pocl/repos/community-staging-x86_64/PKGBUILD (from rev 615077, 
pocl/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 22:59:24 UTC (rev 615078)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: spider-mario 
+# Contributor: Olaf Leidinger 
+# Contributor: fabien Cellier 
+
+pkgname=pocl
+pkgver=1.5
+pkgrel=2
+pkgdesc="Portable OpenCL is an open-source implementation of OpenCL which can 
be easily adapted for new targets"
+arch=('x86_64')
+url="http://portablecl.org/;
+license=('GPL')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz;)
+depends=('clang' 'hwloc' 'opencl-icd-loader')
+makedepends=('llvm' 'cmake' 'opencl-headers' 'ocl-icd')
+sha512sums=('a9c2879b6f0c0d9a78035ba8ed7531b8fa795074864ee5bab265d7dafedac9637025f994719f00f8d9e25bf5068bd9b074d95b964e5d2c0eddb8d8837e6e5da3')
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_BUILD_TYPE=Release \
+"$srcdir/$pkgname-$pkgver"
+  make
+}
+
+check() {
+  cd build
+  make check
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir"/ install
+}


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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 15, 2020 @ 22:53:00
  Author: foutrelis
Revision: 615075

upgpkg: openshadinglanguage 1.10.9-4: LLVM 10 rebuild

Added:
  openshadinglanguage/trunk/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch
Modified:
  openshadinglanguage/trunk/PKGBUILD

-+
 0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch |   85 ++
 PKGBUILD|   13 +-
 2 files changed, 94 insertions(+), 4 deletions(-)

Added: 0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch
===
--- 0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch 
(rev 0)
+++ 0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch 2020-04-15 22:53:00 UTC 
(rev 615075)
@@ -0,0 +1,85 @@
+From 2f9093ed2aedc008ba6e0a0b3ba0ff1839d73ac1 Mon Sep 17 00:00:00 2001
+From: Christopher Kulla 
+Date: Thu, 12 Mar 2020 13:16:19 -0700
+Subject: [PATCH] Allow OSL to compile with LLVM 10.x (#1128)
+
+---
+ src/liboslexec/backendllvm.cpp |  4 
+ src/liboslexec/llvm_util.cpp   | 27 +--
+ 2 files changed, 25 insertions(+), 6 deletions(-)
+
+diff --git a/src/liboslexec/backendllvm.cpp b/src/liboslexec/backendllvm.cpp
+index 263d8cab..93e091b0 100644
+--- a/src/liboslexec/backendllvm.cpp
 b/src/liboslexec/backendllvm.cpp
+@@ -368,7 +368,11 @@ BackendLLVM::addCUDAVariable(const std::string& name, int 
size, int alignment,
+ 
+ ASSERT (g_var && "Unable to create GlobalVariable");
+ 
++#if OSL_LLVM_VERSION >= 100
++g_var->setAlignment  (llvm::MaybeAlign(alignment));
++#else
+ g_var->setAlignment  (alignment);
++#endif
+ g_var->setLinkage(llvm::GlobalValue::ExternalLinkage);
+ g_var->setVisibility (llvm::GlobalValue::DefaultVisibility);
+ g_var->setInitializer(constant);
+diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
+index 8fa915fe..dde2f1e6 100644
+--- a/src/liboslexec/llvm_util.cpp
 b/src/liboslexec/llvm_util.cpp
+@@ -1160,8 +1160,12 @@ LLVM_Util::op_return (llvm::Value *retval)
+ void
+ LLVM_Util::op_memset (llvm::Value *ptr, int val, int len, int align)
+ {
+-builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val),
+-uint64_t(len), (unsigned)align);
++builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val), 
uint64_t(len),
++#if OSL_LLVM_VERSION >= 100
++llvm::MaybeAlign(align));
++#else
++unsigned(align));
++#endif
+ }
+ 
+ 
+@@ -1169,8 +1173,12 @@ LLVM_Util::op_memset (llvm::Value *ptr, int val, int 
len, int align)
+ void
+ LLVM_Util::op_memset (llvm::Value *ptr, int val, llvm::Value *len, int align)
+ {
+-builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val),
+-len, (unsigned)align);
++builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val), len,
++#if OSL_LLVM_VERSION >= 100
++llvm::MaybeAlign(align));
++#else
++unsigned(align));
++#endif
+ }
+ 
+ 
+@@ -1187,7 +1195,10 @@ void
+ LLVM_Util::op_memcpy (llvm::Value *dst, int dstalign,
+   llvm::Value *src, int srcalign, int len)
+ {
+-#if OSL_LLVM_VERSION >= 70
++#if OSL_LLVM_VERSION >= 100
++builder().CreateMemCpy (dst, llvm::MaybeAlign(dstalign), src, 
llvm::MaybeAlign(srcalign),
++uint64_t(len));
++#elif OSL_LLVM_VERSION >= 70
+ builder().CreateMemCpy (dst, (unsigned)dstalign, src, (unsigned)srcalign,
+ uint64_t(len));
+ #else
+@@ -1588,7 +1599,11 @@ LLVM_Util::ptx_compile_group (llvm::Module* lib_module, 
const std::string& name,
+ llvm::raw_svector_ostream assembly_stream (assembly);
+ 
+ // TODO: Make sure rounding modes, etc., are set correctly
+-#if OSL_LLVM_VERSION >= 70
++#if OSL_LLVM_VERSION >= 100
++target_machine->addPassesToEmitFile (mod_pm, assembly_stream,
++ nullptr,  // FIXME: Correct?
++ llvm::CGFT_AssemblyFile);
++#elif OSL_LLVM_VERSION >= 70
+ target_machine->addPassesToEmitFile (mod_pm, assembly_stream,
+  nullptr,  // FIXME: Correct?
+  
llvm::TargetMachine::CGFT_AssemblyFile);

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 22:38:22 UTC (rev 615074)
+++ PKGBUILD2020-04-15 22:53:00 UTC (rev 615075)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=openshadinglanguage
 pkgver=1.10.9
-pkgrel=3
+pkgrel=4
 pkgdesc="Advanced shading language for production GI renderers"
 arch=(x86_64)
 url="https://github.com/imageworks/OpenShadingLanguage;
@@ -9,11 +9,15 @@
 depends=('boost-libs' 'openimageio' 'openexr' 'intel-tbb' 'freetype2' 'libpng'
  'libtiff' 'zlib' 'ncurses')
 makedepends=('boost' 'cmake' 'python' 'llvm' 'clang')

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

2020-04-15 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 15, 2020 @ 22:53:04
  Author: foutrelis
Revision: 615076

archrelease: copy trunk to community-staging-x86_64

Added:
  openshadinglanguage/repos/community-staging-x86_64/
  
openshadinglanguage/repos/community-staging-x86_64/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch
(from rev 615075, 
openshadinglanguage/trunk/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch)
  openshadinglanguage/repos/community-staging-x86_64/PKGBUILD
(from rev 615075, openshadinglanguage/trunk/PKGBUILD)

-+
 0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch |   85 ++
 PKGBUILD|   46 +
 2 files changed, 131 insertions(+)

Copied: 
openshadinglanguage/repos/community-staging-x86_64/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch
 (from rev 615075, 
openshadinglanguage/trunk/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch)
===
--- 
community-staging-x86_64/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch
(rev 0)
+++ 
community-staging-x86_64/0001-Allow-OSL-to-compile-with-LLVM-10.x-1128.patch
2020-04-15 22:53:04 UTC (rev 615076)
@@ -0,0 +1,85 @@
+From 2f9093ed2aedc008ba6e0a0b3ba0ff1839d73ac1 Mon Sep 17 00:00:00 2001
+From: Christopher Kulla 
+Date: Thu, 12 Mar 2020 13:16:19 -0700
+Subject: [PATCH] Allow OSL to compile with LLVM 10.x (#1128)
+
+---
+ src/liboslexec/backendllvm.cpp |  4 
+ src/liboslexec/llvm_util.cpp   | 27 +--
+ 2 files changed, 25 insertions(+), 6 deletions(-)
+
+diff --git a/src/liboslexec/backendllvm.cpp b/src/liboslexec/backendllvm.cpp
+index 263d8cab..93e091b0 100644
+--- a/src/liboslexec/backendllvm.cpp
 b/src/liboslexec/backendllvm.cpp
+@@ -368,7 +368,11 @@ BackendLLVM::addCUDAVariable(const std::string& name, int 
size, int alignment,
+ 
+ ASSERT (g_var && "Unable to create GlobalVariable");
+ 
++#if OSL_LLVM_VERSION >= 100
++g_var->setAlignment  (llvm::MaybeAlign(alignment));
++#else
+ g_var->setAlignment  (alignment);
++#endif
+ g_var->setLinkage(llvm::GlobalValue::ExternalLinkage);
+ g_var->setVisibility (llvm::GlobalValue::DefaultVisibility);
+ g_var->setInitializer(constant);
+diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
+index 8fa915fe..dde2f1e6 100644
+--- a/src/liboslexec/llvm_util.cpp
 b/src/liboslexec/llvm_util.cpp
+@@ -1160,8 +1160,12 @@ LLVM_Util::op_return (llvm::Value *retval)
+ void
+ LLVM_Util::op_memset (llvm::Value *ptr, int val, int len, int align)
+ {
+-builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val),
+-uint64_t(len), (unsigned)align);
++builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val), 
uint64_t(len),
++#if OSL_LLVM_VERSION >= 100
++llvm::MaybeAlign(align));
++#else
++unsigned(align));
++#endif
+ }
+ 
+ 
+@@ -1169,8 +1173,12 @@ LLVM_Util::op_memset (llvm::Value *ptr, int val, int 
len, int align)
+ void
+ LLVM_Util::op_memset (llvm::Value *ptr, int val, llvm::Value *len, int align)
+ {
+-builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val),
+-len, (unsigned)align);
++builder().CreateMemSet (ptr, builder().getInt8((unsigned char)val), len,
++#if OSL_LLVM_VERSION >= 100
++llvm::MaybeAlign(align));
++#else
++unsigned(align));
++#endif
+ }
+ 
+ 
+@@ -1187,7 +1195,10 @@ void
+ LLVM_Util::op_memcpy (llvm::Value *dst, int dstalign,
+   llvm::Value *src, int srcalign, int len)
+ {
+-#if OSL_LLVM_VERSION >= 70
++#if OSL_LLVM_VERSION >= 100
++builder().CreateMemCpy (dst, llvm::MaybeAlign(dstalign), src, 
llvm::MaybeAlign(srcalign),
++uint64_t(len));
++#elif OSL_LLVM_VERSION >= 70
+ builder().CreateMemCpy (dst, (unsigned)dstalign, src, (unsigned)srcalign,
+ uint64_t(len));
+ #else
+@@ -1588,7 +1599,11 @@ LLVM_Util::ptx_compile_group (llvm::Module* lib_module, 
const std::string& name,
+ llvm::raw_svector_ostream assembly_stream (assembly);
+ 
+ // TODO: Make sure rounding modes, etc., are set correctly
+-#if OSL_LLVM_VERSION >= 70
++#if OSL_LLVM_VERSION >= 100
++target_machine->addPassesToEmitFile (mod_pm, assembly_stream,
++ nullptr,  // FIXME: Correct?
++ llvm::CGFT_AssemblyFile);
++#elif OSL_LLVM_VERSION >= 70
+ target_machine->addPassesToEmitFile (mod_pm, assembly_stream,
+  nullptr,  // FIXME: Correct?
+  
llvm::TargetMachine::CGFT_AssemblyFile);

Copied: openshadinglanguage/repos/community-staging-x86_64/PKGBUILD (from rev 
615075, openshadinglanguage/trunk/PKGBUILD)

[arch-commits] Commit in lutris/repos/community-any (4 files)

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 22:38:22
  Author: ffy00
Revision: 615074

archrelease: copy trunk to community-any

Added:
  lutris/repos/community-any/PKGBUILD
(from rev 615073, lutris/trunk/PKGBUILD)
  lutris/repos/community-any/sort_new_with_model_fix.patch
(from rev 615073, lutris/trunk/sort_new_with_model_fix.patch)
Deleted:
  lutris/repos/community-any/PKGBUILD
  lutris/repos/community-any/sort_new_with_model_fix.patch

---+
 PKGBUILD  |   86 
 sort_new_with_model_fix.patch |   52 
 2 files changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-15 22:38:17 UTC (rev 615073)
+++ PKGBUILD2020-04-15 22:38:22 UTC (rev 615074)
@@ -1,43 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Frederik “Freso” S. Olesen 
-# Contributor: Maxime Gauduin 
-
-pkgname=lutris
-pkgver=0.5.5
-pkgrel=3
-pkgdesc='Open Gaming Platform'
-arch=('any')
-url='https://lutris.net'
-license=('GPL3')
-depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 
'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr'
- 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 
'mesa-demos' 'python-dbus')
-makedepends=('python-setuptools')
-checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm')
-optdepends=('wine: Windows support'
-'vulkan-icd-loader: Vulkan support'
-'lib32-vulkan-icd-loader: Vulkan support'
-'vkd3d: Vulkan 3D support'
-'lib32-vkd3d: Vulkan 3D support'
-'gvfs: GVFS backend')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz;)
-sha512sums=('d63b9c79f55238d01b6a8c8fe62a0c70d7334c023a51e92d1c99a91cfc9336d3d071d13394c49d0a26bc04549ab7b7122aa8f133da00ed5aa8ae3a7bcc63848f')
-
-build() {
-  cd $pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml 
--with-coverage --cover-package=lutris --cover-xml-file=coverage.xml
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-

Copied: lutris/repos/community-any/PKGBUILD (from rev 615073, 
lutris/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-15 22:38:22 UTC (rev 615074)
@@ -0,0 +1,43 @@
+# Maintainer: Filipe Laíns (FFY00) 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Maxime Gauduin 
+
+pkgname=lutris
+pkgver=0.5.6
+pkgrel=1
+pkgdesc='Open Gaming Platform'
+arch=('any')
+url='https://lutris.net'
+license=('GPL3')
+depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 
'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr'
+ 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 
'mesa-demos' 'python-dbus')
+makedepends=('python-setuptools')
+checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm')
+optdepends=('wine: Windows support'
+'vulkan-icd-loader: Vulkan support'
+'lib32-vulkan-icd-loader: Vulkan support'
+'vkd3d: Vulkan 3D support'
+'lib32-vkd3d: Vulkan 3D support'
+'gvfs: GVFS backend')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz;)
+sha512sums=('eae67a36372128fa0d512ad5569d79fd6eed4a62d4b05450f99b42b1f00c3715b9a56a4eb21fe83be75401cc9777fc6d1df76629f3916b2fd378a376cb8ca973')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml 
--with-coverage --cover-package=lutris --cover-xml-file=coverage.xml
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+

Deleted: sort_new_with_model_fix.patch
===
--- sort_new_with_model_fix.patch   2020-04-15 22:38:17 UTC (rev 615073)
+++ sort_new_with_model_fix.patch   2020-04-15 22:38:22 UTC (rev 615074)
@@ -1,26 +0,0 @@
-From 12a458db3c590c3f1972594e091a24cb4d65b610 Mon Sep 17 00:00:00 2001
-From: Mathieu Comandon 
-Date: Wed, 1 Jan 2020 12:47:55 -0800
-Subject: [PATCH] Support both sort_new_with_model and new_with_model
-

- lutris/gui/views/store.py | 6 +-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/lutris/gui/views/store.py b/lutris/gui/views/store.py
-index 9e843e9e4..8fe5decf5 100644
 a/lutris/gui/views/store.py
-+++ b/lutris/gui/views/store.py
-@@ -140,7 +140,11 @@ def __init__(
- self.prevent_sort_update = False  # prevent recursion with signals
-

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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 22:38:17
  Author: ffy00
Revision: 615073

upgpkg: lutris 0.5.6-1

Modified:
  lutris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 22:36:04 UTC (rev 615072)
+++ PKGBUILD2020-04-15 22:38:17 UTC (rev 615073)
@@ -3,8 +3,8 @@
 # Contributor: Maxime Gauduin 
 
 pkgname=lutris
-pkgver=0.5.5
-pkgrel=3
+pkgver=0.5.6
+pkgrel=1
 pkgdesc='Open Gaming Platform'
 arch=('any')
 url='https://lutris.net'
@@ -21,7 +21,7 @@
 'gvfs: GVFS backend')
 makedepends=('python-setuptools')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz;)
-sha512sums=('d63b9c79f55238d01b6a8c8fe62a0c70d7334c023a51e92d1c99a91cfc9336d3d071d13394c49d0a26bc04549ab7b7122aa8f133da00ed5aa8ae3a7bcc63848f')
+sha512sums=('eae67a36372128fa0d512ad5569d79fd6eed4a62d4b05450f99b42b1f00c3715b9a56a4eb21fe83be75401cc9777fc6d1df76629f3916b2fd378a376cb8ca973')
 
 build() {
   cd $pkgname-$pkgver


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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 22:36:04
  Author: ffy00
Revision: 615072

archrelease: copy trunk to community-x86_64

Added:
  yubioath-desktop/repos/community-x86_64/PKGBUILD
(from rev 615071, yubioath-desktop/trunk/PKGBUILD)
Deleted:
  yubioath-desktop/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-15 22:35:50 UTC (rev 615071)
+++ PKGBUILD2020-04-15 22:36:04 UTC (rev 615072)
@@ -1,40 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) 
-
-pkgname=yubioath-desktop
-pkgdesc='Yubico Authenticator for Desktop'
-pkgver=5.0.2
-pkgrel=1
-arch=('x86_64')
-url='https://github.com/Yubico/yubioath-desktop'
-license=('BSD')
-depends=('qt5-base' 'qt5-declarative' 'qt5-quickcontrols2'
- 'python-pyotherside' 'qt5-graphicaleffects' 'ccid' 'pcsclite'
- 'yubikey-manager')
-makedepends=('git' 'python')
-source=("git+$url.git#tag=$pkgname-$pkgver?signed")
-validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3'# Dag Heyman 

-  '57A9DEED4C6D962A923BB691816F3ED99921835E')   # Emil 
Lundberg 
-sha512sums=('SKIP')
-
-build() {
-  cd $pkgname
-
-  qmake . \
-PREFIX=/usr \
-QMAKE_CFLAGS_RELEASE="$CFLAGS" \
-QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS"
-
-  make
-}
-
-package() {
-cd $pkgname
-
-make INSTALL_ROOT="$pkgdir" install
-
-install -Dm 644 debian/copyright 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-install -Dm 644 resources/icons/com.yubico.yubioath.svg 
"$pkgdir"/usr/share/pixmaps/com.yubico.yubioath.svg
-install -Dm 755 resources/yubioath-desktop.desktop 
"$pkgdir"/usr/share/applications/yubioath-desktop.desktop
-}
-

Copied: yubioath-desktop/repos/community-x86_64/PKGBUILD (from rev 615071, 
yubioath-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-15 22:36:04 UTC (rev 615072)
@@ -0,0 +1,41 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+pkgname=yubioath-desktop
+pkgdesc='Yubico Authenticator for Desktop'
+pkgver=5.0.3
+pkgrel=1
+arch=('x86_64')
+url='https://github.com/Yubico/yubioath-desktop'
+license=('BSD')
+depends=('qt5-base' 'qt5-declarative' 'qt5-quickcontrols2'
+ 'python-pyotherside' 'qt5-graphicaleffects' 'ccid' 'pcsclite'
+ 'yubikey-manager')
+makedepends=('git' 'python')
+source=("git+$url.git#tag=$pkgname-$pkgver?signed")
+validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3'# Dag Heyman 

+  '57A9DEED4C6D962A923BB691816F3ED99921835E')   # Emil 
Lundberg 
+sha512sums=('SKIP')
+
+build() {
+  cd $pkgname
+
+  qmake . \
+PREFIX=/usr \
+QMAKE_CFLAGS_RELEASE="$CFLAGS" \
+QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS"
+
+  make
+}
+
+package() {
+cd $pkgname
+
+make INSTALL_ROOT="$pkgdir" install
+
+install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+install -Dm 644 resources/icons/com.yubico.yubioath.svg 
"$pkgdir"/usr/share/pixmaps/com.yubico.yubioath.svg
+install -Dm 755 resources/com.yubico.yubioath.desktop 
"$pkgdir"/usr/share/applications/com.yubico.yubioath.desktop
+install -Dm 755 resources/com.yubico.yubioath.appdata.xml 
"$pkgdir"/usr/share/metainfo/com.yubico.yubioath.appdata.xml
+}
+


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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 22:35:50
  Author: ffy00
Revision: 615071

upgpkg: yubioath-desktop 5.0.3-1

Modified:
  yubioath-desktop/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 22:05:58 UTC (rev 615070)
+++ PKGBUILD2020-04-15 22:35:50 UTC (rev 615071)
@@ -2,7 +2,7 @@
 
 pkgname=yubioath-desktop
 pkgdesc='Yubico Authenticator for Desktop'
-pkgver=5.0.2
+pkgver=5.0.3
 pkgrel=1
 arch=('x86_64')
 url='https://github.com/Yubico/yubioath-desktop'
@@ -32,9 +32,10 @@
 
 make INSTALL_ROOT="$pkgdir" install
 
-install -Dm 644 debian/copyright 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
 install -Dm 644 resources/icons/com.yubico.yubioath.svg 
"$pkgdir"/usr/share/pixmaps/com.yubico.yubioath.svg
-install -Dm 755 resources/yubioath-desktop.desktop 
"$pkgdir"/usr/share/applications/yubioath-desktop.desktop
+install -Dm 755 resources/com.yubico.yubioath.desktop 
"$pkgdir"/usr/share/applications/com.yubico.yubioath.desktop
+install -Dm 755 resources/com.yubico.yubioath.appdata.xml 
"$pkgdir"/usr/share/metainfo/com.yubico.yubioath.appdata.xml
 }
 


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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 22:05:58
  Author: ffy00
Revision: 615070

archrelease: copy trunk to community-x86_64

Added:
  urjtag/repos/community-x86_64/
  urjtag/repos/community-x86_64/PKGBUILD
(from rev 615069, urjtag/trunk/PKGBUILD)

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

Copied: urjtag/repos/community-x86_64/PKGBUILD (from rev 615069, 
urjtag/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-04-15 22:05:58 UTC (rev 615070)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+pkgname=urjtag
+pkgver=2019.12
+pkgrel=1
+pkgdesc='Enhanced, modern tool for communicating over JTAG with flash chips, 
CPUs, and many more'
+arch=('x86_64')
+url='http://openocd.org'
+license=('GPL')
+depends=('libftdi-compat' 'libusb-compat')
+makedepends=('python')
+optdepends=('python: Python bindings')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz;)
+sha512sums=('e149e53410a6591bdadc2c0138c6f81dac0fd6e35601461e19d356decdb820ec8e6bd53d59a1fd9781dfa1fee88d23dcafbd8df9adc0f8e51256c626d2ee0f36')
+
+build() {
+  cd $pkgname-$pkgver
+
+  autoreconf -vif
+
+  ./configure \
+--prefix=/usr \
+--enable-svf \
+--enable-bsdl \
+--enable-stapl \
+--enable-python
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}


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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 22:05:47
  Author: ffy00
Revision: 615069

upgpkg: urjtag 2019.12-1

Added:
  urjtag/trunk/PKGBUILD

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

Added: PKGBUILD
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-15 22:05:47 UTC (rev 615069)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+pkgname=urjtag
+pkgver=2019.12
+pkgrel=1
+pkgdesc='Enhanced, modern tool for communicating over JTAG with flash chips, 
CPUs, and many more'
+arch=('x86_64')
+url='http://openocd.org'
+license=('GPL')
+depends=('libftdi-compat' 'libusb-compat')
+makedepends=('python')
+optdepends=('python: Python bindings')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz;)
+sha512sums=('e149e53410a6591bdadc2c0138c6f81dac0fd6e35601461e19d356decdb820ec8e6bd53d59a1fd9781dfa1fee88d23dcafbd8df9adc0f8e51256c626d2ee0f36')
+
+build() {
+  cd $pkgname-$pkgver
+
+  autoreconf -vif
+
+  ./configure \
+--prefix=/usr \
+--enable-svf \
+--enable-bsdl \
+--enable-stapl \
+--enable-python
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (urjtag urjtag/repos urjtag/trunk)

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 21:43:06
  Author: ffy00
Revision: 615068

add root structure

Added:
  urjtag/
  urjtag/repos/
  urjtag/trunk/


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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 21:41:23
  Author: ffy00
Revision: 615067

archrelease: copy trunk to community-x86_64

Added:
  openocd/repos/community-x86_64/PKGBUILD
(from rev 615066, openocd/trunk/PKGBUILD)
Deleted:
  openocd/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-15 21:41:13 UTC (rev 615066)
+++ PKGBUILD2020-04-15 21:41:23 UTC (rev 615067)
@@ -1,47 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Sergej Pupykin 
-# Contributor: Bartłomiej Piotrowski 
-# Contributor: Matthias Bauch 
-# Contributor: Laszlo Papp 
-# Contributor: Samuel Tardieu 
-
-pkgname=openocd
-pkgver=0.10.0
-epoch=1
-pkgrel=2
-pkgdesc='Debugging, in-system programming and boundary-scan testing for 
embedded target devices'
-arch=('x86_64')
-url='http://openocd.org'
-license=('GPL')
-depends=('libftdi' 'libftdi-compat' 'libusb' 'libusb-compat' 'hidapi')
-options=(!strip)
-_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace
- opendous osbdm parport presto_libftdi remote-bitbang rlink stlink ti-icdi 
ulink usbprog vsllink
- aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 usb_blaster_libftdi)
-source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2;)
-sha512sums=('6c890c86c3339da49bd529e8674ca62bc7fce4a2a17798dcc5d70b4f7628b640d856651170a3f7e2e2a120989066e84d8439b56ff42ff2bd72446f9af0f28ba2')
-
-prepare() {
-  sed -i 's|ftdi_new();|(void*)12345;|g' $pkgname-$pkgver/configure{,.ac}
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  libtoolize
-  autoreconf
-  ./configure \
-   --prefix=/usr \
-   --disable-werror \
-   ${_features[@]/#/--enable-}
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-
-  cd "$pkgdir"/usr/share/openocd/scripts/target && mv 1986*.cfg 1986be1t.cfg
-}

Copied: openocd/repos/community-x86_64/PKGBUILD (from rev 615066, 
openocd/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-15 21:41:23 UTC (rev 615067)
@@ -0,0 +1,47 @@
+# Maintainer: Filipe Laíns (FFY00) 
+# Contributor: Sergej Pupykin 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Matthias Bauch 
+# Contributor: Laszlo Papp 
+# Contributor: Samuel Tardieu 
+
+_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace 
opendous osbdm
+   parport presto_libftdi remote-bitbang rlink stlink ti-icdi ulink 
usbprog vsllink
+   aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 
usb_blaster_libftdi)
+
+pkgname=openocd
+pkgver=0.10.0
+pkgrel=3
+epoch=1
+pkgdesc='Debugging, in-system programming and boundary-scan testing for 
embedded target devices'
+arch=('x86_64')
+url='http://openocd.org'
+license=('GPL')
+depends=('libftdi-compat' 'libusb-compat' 'hidapi')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2;)
+sha512sums=('6c890c86c3339da49bd529e8674ca62bc7fce4a2a17798dcc5d70b4f7628b640d856651170a3f7e2e2a120989066e84d8439b56ff42ff2bd72446f9af0f28ba2')
+
+prepare() {
+  sed -i 's|GROUP="plugdev", ||g' $pkgname-$pkgver/contrib/60-openocd.rules
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  libtoolize -vif
+  autoreconf -vif
+  ./configure \
+   --prefix=/usr \
+   --disable-werror \
+   ${_features[@]/#/--enable-}
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm 644 contrib/60-openocd.rules 
"$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
+}


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

2020-04-15 Thread Filipe Laíns via arch-commits
Date: Wednesday, April 15, 2020 @ 21:41:13
  Author: ffy00
Revision: 615066

upgpkg: openocd 1:0.10.0-3 (refactor and install UDEV rules)

Fixes FS#66267

Modified:
  openocd/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:25:43 UTC (rev 615065)
+++ PKGBUILD2020-04-15 21:41:13 UTC (rev 615066)
@@ -5,31 +5,31 @@
 # Contributor: Laszlo Papp 
 # Contributor: Samuel Tardieu 
 
+_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace 
opendous osbdm
+   parport presto_libftdi remote-bitbang rlink stlink ti-icdi ulink 
usbprog vsllink
+   aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 
usb_blaster_libftdi)
+
 pkgname=openocd
 pkgver=0.10.0
+pkgrel=3
 epoch=1
-pkgrel=2
 pkgdesc='Debugging, in-system programming and boundary-scan testing for 
embedded target devices'
 arch=('x86_64')
 url='http://openocd.org'
 license=('GPL')
-depends=('libftdi' 'libftdi-compat' 'libusb' 'libusb-compat' 'hidapi')
-options=(!strip)
-_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace
- opendous osbdm parport presto_libftdi remote-bitbang rlink stlink ti-icdi 
ulink usbprog vsllink
- aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 usb_blaster_libftdi)
+depends=('libftdi-compat' 'libusb-compat' 'hidapi')
 
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2;)
 
sha512sums=('6c890c86c3339da49bd529e8674ca62bc7fce4a2a17798dcc5d70b4f7628b640d856651170a3f7e2e2a120989066e84d8439b56ff42ff2bd72446f9af0f28ba2')
 
 prepare() {
-  sed -i 's|ftdi_new();|(void*)12345;|g' $pkgname-$pkgver/configure{,.ac}
+  sed -i 's|GROUP="plugdev", ||g' $pkgname-$pkgver/contrib/60-openocd.rules
 }
 
 build() {
   cd $pkgname-$pkgver
 
-  libtoolize
-  autoreconf
+  libtoolize -vif
+  autoreconf -vif
   ./configure \
--prefix=/usr \
--disable-werror \
@@ -43,5 +43,5 @@
 
   make DESTDIR="$pkgdir" install
 
-  cd "$pkgdir"/usr/share/openocd/scripts/target && mv 1986*.cfg 1986be1t.cfg
+  install -Dm 644 contrib/60-openocd.rules 
"$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
 }


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

2020-04-15 Thread Christian Hesse via arch-commits
Date: Wednesday, April 15, 2020 @ 21:38:16
  Author: eworm
Revision: 380396

upgpkg: iucode-tool 2.3.1-3

rebuild old package

Modified:
  iucode-tool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 20:25:56 UTC (rev 380395)
+++ PKGBUILD2020-04-15 21:38:16 UTC (rev 380396)
@@ -3,7 +3,7 @@
 
 pkgname=iucode-tool
 pkgver=2.3.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Tool to manipulate Intel® IA-32/X86-64 microcode bundles'
 arch=('x86_64')
 url='https://gitlab.com/iucode-tool/iucode-tool/wikis/home'


[arch-commits] Commit in iucode-tool/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-04-15 Thread Christian Hesse via arch-commits
Date: Wednesday, April 15, 2020 @ 21:38:20
  Author: eworm
Revision: 380397

archrelease: copy trunk to extra-x86_64

Added:
  iucode-tool/repos/extra-x86_64/PKGBUILD
(from rev 380396, iucode-tool/trunk/PKGBUILD)
Deleted:
  iucode-tool/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |   59 +--
 1 file changed, 29 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-15 21:38:16 UTC (rev 380396)
+++ PKGBUILD2020-04-15 21:38:20 UTC (rev 380397)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: Andreas Bosch 
-
-pkgname=iucode-tool
-pkgver=2.3.1
-pkgrel=2
-pkgdesc='Tool to manipulate Intel® IA-32/X86-64 microcode bundles'
-arch=('x86_64')
-url='https://gitlab.com/iucode-tool/iucode-tool/wikis/home'
-license=('GPL')
-validpgpkeys=('C467A717507BBAFED3C160920BD9E81139CB4807') # Henrique de Moraes 
Holschuh 
-source=("https://gitlab.com/iucode-tool/releases/raw/master/${pkgname}_${pkgver}.tar.xz"{,.asc})
-sha256sums=('12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95'
-'SKIP')
-
-build() {
-   cd "$srcdir/${pkgname}-$pkgver"
-
-   ./configure \
-   --prefix=/usr \
-   --sbindir=/usr/bin
-   make
-}
-
-package() {
-   cd "$srcdir/${pkgname}-$pkgver"
-
-   make DESTDIR="$pkgdir/" install
-}

Copied: iucode-tool/repos/extra-x86_64/PKGBUILD (from rev 380396, 
iucode-tool/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-15 21:38:20 UTC (rev 380397)
@@ -0,0 +1,29 @@
+# Maintainer: Christian Hesse 
+# Contributor: Andreas Bosch 
+
+pkgname=iucode-tool
+pkgver=2.3.1
+pkgrel=3
+pkgdesc='Tool to manipulate Intel® IA-32/X86-64 microcode bundles'
+arch=('x86_64')
+url='https://gitlab.com/iucode-tool/iucode-tool/wikis/home'
+license=('GPL')
+validpgpkeys=('C467A717507BBAFED3C160920BD9E81139CB4807') # Henrique de Moraes 
Holschuh 
+source=("https://gitlab.com/iucode-tool/releases/raw/master/${pkgname}_${pkgver}.tar.xz"{,.asc})
+sha256sums=('12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95'
+'SKIP')
+
+build() {
+   cd "$srcdir/${pkgname}-$pkgver"
+
+   ./configure \
+   --prefix=/usr \
+   --sbindir=/usr/bin
+   make
+}
+
+package() {
+   cd "$srcdir/${pkgname}-$pkgver"
+
+   make DESTDIR="$pkgdir/" install
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:25:43
  Author: felixonmars
Revision: 615065

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 615064, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:25:43 UTC (rev 615065)
@@ -0,0 +1,63 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.33
+pkgrel=35
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('BSD')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-stm' 'haskell-parsec' 
'haskell-parsec-numbers'
+ 'haskell-mtl' 'haskell-regex-base' 'haskell-regex-compat'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal' 
'haskell-netlink'
+ 'haskell-text' 'haskell-async' 'haskell-aeson'
+ 'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
+ 'haskell-extensible-exceptions' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-alsa-core' 'haskell-alsa-mixer')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('3a85a7c68d905dc88e181a921299d30adbb300f190a91e93d83b4fdf7a4f78f0646ec976bc405c0a82ca5547f159e5d64073d28a6a36ed83f5c831c1919c44b9')
+
+prepare() {
+  cd xmobar-$pkgver
+  sed -e 's/&& <.*,/,/g' -e 's/==.*,/,/g' -i xmobar.cabal
+}
+
+build() {
+  cd xmobar-${pkgver}
+
+  _flags=(with_xft with_utf8 with_inotify with_mpd with_alsa with_nl80211
+  with_datezone with_mpris with_dbus with_xpm with_threaded
+  with_rtsopts with_weather)
+
+  runhaskell setup configure -O \
+--enable-shared \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--prefix=/usr \
+--dynlibdir=/usr/lib \
+--libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+--flags="${_flags[*]}" \
+--enable-tests
+  runhaskell setup build
+}
+
+check() {
+  cd xmobar-${pkgver}
+  runhaskell setup test
+}
+
+package() {
+  cd xmobar-${pkgver}
+  runhaskell setup copy --destdir="${pkgdir}"
+  install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:25:33
  Author: felixonmars
Revision: 615064

upgpkg: xmobar 0.33-35: rebuild with lens 4.19.2

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:24:19 UTC (rev 615063)
+++ PKGBUILD2020-04-15 21:25:33 UTC (rev 615064)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.33
-pkgrel=34
+pkgrel=35
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')


[arch-commits] Commit in yubico-c-client/trunk (2 files)

2020-04-15 Thread Christian Hesse via arch-commits
Date: Wednesday, April 15, 2020 @ 21:24:10
  Author: eworm
Revision: 615061

upgpkg: yubico-c-client 2.15-5

fix `make check`

Added:
  yubico-c-client/trunk/0001-https-ify-urls-and-drop-v1-selftest.patch
Modified:
  yubico-c-client/trunk/PKGBUILD

+
 0001-https-ify-urls-and-drop-v1-selftest.patch |  145 +++
 PKGBUILD   |   14 +-
 2 files changed, 156 insertions(+), 3 deletions(-)

Added: 0001-https-ify-urls-and-drop-v1-selftest.patch
===
--- 0001-https-ify-urls-and-drop-v1-selftest.patch  
(rev 0)
+++ 0001-https-ify-urls-and-drop-v1-selftest.patch  2020-04-15 21:24:10 UTC 
(rev 615061)
@@ -0,0 +1,145 @@
+commit 0d45452e7fbe47e77e78ff23b480c77fd9c06f2b
+Author: Klas Lindfors 
+Date:   Thu Nov 22 13:48:19 2018 +0100
+
+https-ify urls and drop v1 selftest
+
+diff --git a/tests/selftest.c b/tests/selftest.c
+index 78ae43e..1f3747e 100644
+--- a/tests/selftest.c
 b/tests/selftest.c
+@@ -39,52 +39,6 @@
+   printf xX; \
+   printf ("\n")
+ 
+-void
+-test_v1_validation(int client_id, char *client_b64key)
+-{
+-  ykclient_t *ykc;
+-  int ret;
+-
+-  TEST(("init self"));
+-  ret = ykclient_init ();
+-  printf ("ykclient_init (%d): %s\n", ret, ykclient_strerror (ret));
+-  assert(ret == YKCLIENT_OK);
+-
+-  ykclient_set_url_template
+-(ykc, "http://api.yubico.com/wsapi/verify?id=%d=%s;);
+-
+-  TEST(("null client_id, expect REPLAYED_OTP"));
+-  ykclient_set_verify_signature(ykc, 0);
+-  ykclient_set_client (ykc, client_id, 0, NULL);
+-
+-#ifndef TEST_WITHOUT_INTERNET
+-  ret = ykclient_request (ykc, 
"ccbchvthlivuitriujjifivbvtrjkjfirllluurj");
+-  printf ("ykclient_request (%d): %s\n", ret, ykclient_strerror (ret));
+-  printf ("used url: %s\n", ykclient_get_last_url (ykc));
+-  assert(ret == YKCLIENT_REPLAYED_OTP);
+-#else
+-  printf ("Test SKIPPED\n");
+-#endif
+-
+-  /* Test signed request. When signing requests to a v1 service, we must 
clear the nonce first. */
+-
+-  TEST(("signed request, expect REPLAYED_OTP"));
+-  ykclient_set_verify_signature(ykc, 1);
+-  ykclient_set_client_b64 (ykc, client_id, client_b64key);
+-  ykclient_set_nonce(ykc, NULL);
+-
+-#ifndef TEST_WITHOUT_INTERNET
+-  ret = ykclient_request (ykc, 
"ccbchvthlivuitriujjifivbvtrjkjfirllluurj");
+-  printf ("ykclient_request (%d): %s\n", ret, ykclient_strerror (ret));
+-  printf ("used url: %s\n", ykclient_get_last_url (ykc));
+-  assert(ret == YKCLIENT_REPLAYED_OTP);
+-#else
+-  printf ("Test SKIPPED\n");
+-#endif
+-
+-  ykclient_done ();
+-}
+-
+ #if 0
+ void
+ test_base64 (void)
+@@ -366,7 +320,7 @@ main (void)
+   TEST(("set WS 2.0 URL template"));
+   /* Set one URL and run tests with that. */
+   ykclient_set_url_template
+-(ykc, "http://api.yubico.com/wsapi/2.0/verify?id=%d=%s;);
++(ykc, "https://api.yubico.com/wsapi/2.0/verify?id=%d=%s;);
+ 
+ #ifndef TEST_WITHOUT_INTERNET
+   TEST(("validation request, expect REPLAYED_OTP"));
+@@ -406,11 +360,11 @@ main (void)
+ 
+   TEST(("Set and use several OLD V2.0 URLs"));
+   const char *templates[] = {
+-"http://api.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api2.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api3.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api4.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api5.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api2.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api3.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api4.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api5.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+   };
+   ykclient_set_url_templates(ykc, 5, templates);
+   ykclient_set_client (ykc, client_id, 20, client_key);
+@@ -425,11 +379,11 @@ main (void)
+ 
+   TEST(("Set and use several NEW V2.0 URLs"));
+   const char *bases[] = {
+-"http://api.yubico.com/wsapi/2.0/verify;,
+-"http://api2.yubico.com/wsapi/2.0/verify;,
+-"http://api3.yubico.com/wsapi/2.0/verify;,
+-"http://api4.yubico.com/wsapi/2.0/verify;,
+-"http://api5.yubico.com/wsapi/2.0/verify;,
++"https://api.yubico.com/wsapi/2.0/verify;,
++"https://api2.yubico.com/wsapi/2.0/verify;,
++"https://api3.yubico.com/wsapi/2.0/verify;,
++"https://api4.yubico.com/wsapi/2.0/verify;,
++"https://api5.yubico.com/wsapi/2.0/verify;,
+   };
+   ykclient_set_url_bases(ykc, 5, bases);
+   ykclient_set_client (ykc, client_id, 20, client_key);
+@@ -444,11 +398,11 @@ main (void)
+ 
+   TEST(("Set a mix of bad and good URLs"));
+   const char *bad_bases[] = {
+-"http://api.example.com/wsapi/2.0/verify;,
+-"http://api2.example.com/wsapi/2.0/verify;,
+-"http://api3.example.com/wsapi/2.0/verify;,
+-"http://api4.example.com/wsapi/2.0/verify;,
+-"http://api5.yubico.com/wsapi/2.0/verify;,
++

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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:24:16
  Author: felixonmars
Revision: 615062

archrelease: copy trunk to community-staging-x86_64

Added:
  taskell/repos/community-staging-x86_64/
  taskell/repos/community-staging-x86_64/PKGBUILD
(from rev 615061, taskell/trunk/PKGBUILD)

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 615061, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:24:16 UTC (rev 615062)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa https://hackage.haskell.org/package/$pkgname;
+depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick 
haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client 
haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty 
haskell-classy-prelude)
+makedepends=(ghc)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('4c55922ad9f6c529a8c8ca73602b9f42fa3cda4945fe8edaa554909334445e089db0b7a5ba7f6804bdf618274543fd6598d19802907a0ae661571ed48366376b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's/== *0.50/==0.52/' -e 's/== *5.26/==5.28/' -e 's/< *4/<5/' -e 
's/< *2/<3/' -e 's/< *1/<2/' $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 \
+--datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runghc Setup.hs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Doc only contains the license
+  rm -rf "$pkgdir/usr/share/doc"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in yubico-c-client/repos/community-x86_64 (3 files)

2020-04-15 Thread Christian Hesse via arch-commits
Date: Wednesday, April 15, 2020 @ 21:24:19
  Author: eworm
Revision: 615063

archrelease: copy trunk to community-x86_64

Added:
  
yubico-c-client/repos/community-x86_64/0001-https-ify-urls-and-drop-v1-selftest.patch
(from rev 615062, 
yubico-c-client/trunk/0001-https-ify-urls-and-drop-v1-selftest.patch)
  yubico-c-client/repos/community-x86_64/PKGBUILD
(from rev 615062, yubico-c-client/trunk/PKGBUILD)
Deleted:
  yubico-c-client/repos/community-x86_64/PKGBUILD

+
 0001-https-ify-urls-and-drop-v1-selftest.patch |  145 +++
 PKGBUILD   |   90 +++---
 2 files changed, 194 insertions(+), 41 deletions(-)

Copied: 
yubico-c-client/repos/community-x86_64/0001-https-ify-urls-and-drop-v1-selftest.patch
 (from rev 615062, 
yubico-c-client/trunk/0001-https-ify-urls-and-drop-v1-selftest.patch)
===
--- 0001-https-ify-urls-and-drop-v1-selftest.patch  
(rev 0)
+++ 0001-https-ify-urls-and-drop-v1-selftest.patch  2020-04-15 21:24:19 UTC 
(rev 615063)
@@ -0,0 +1,145 @@
+commit 0d45452e7fbe47e77e78ff23b480c77fd9c06f2b
+Author: Klas Lindfors 
+Date:   Thu Nov 22 13:48:19 2018 +0100
+
+https-ify urls and drop v1 selftest
+
+diff --git a/tests/selftest.c b/tests/selftest.c
+index 78ae43e..1f3747e 100644
+--- a/tests/selftest.c
 b/tests/selftest.c
+@@ -39,52 +39,6 @@
+   printf xX; \
+   printf ("\n")
+ 
+-void
+-test_v1_validation(int client_id, char *client_b64key)
+-{
+-  ykclient_t *ykc;
+-  int ret;
+-
+-  TEST(("init self"));
+-  ret = ykclient_init ();
+-  printf ("ykclient_init (%d): %s\n", ret, ykclient_strerror (ret));
+-  assert(ret == YKCLIENT_OK);
+-
+-  ykclient_set_url_template
+-(ykc, "http://api.yubico.com/wsapi/verify?id=%d=%s;);
+-
+-  TEST(("null client_id, expect REPLAYED_OTP"));
+-  ykclient_set_verify_signature(ykc, 0);
+-  ykclient_set_client (ykc, client_id, 0, NULL);
+-
+-#ifndef TEST_WITHOUT_INTERNET
+-  ret = ykclient_request (ykc, 
"ccbchvthlivuitriujjifivbvtrjkjfirllluurj");
+-  printf ("ykclient_request (%d): %s\n", ret, ykclient_strerror (ret));
+-  printf ("used url: %s\n", ykclient_get_last_url (ykc));
+-  assert(ret == YKCLIENT_REPLAYED_OTP);
+-#else
+-  printf ("Test SKIPPED\n");
+-#endif
+-
+-  /* Test signed request. When signing requests to a v1 service, we must 
clear the nonce first. */
+-
+-  TEST(("signed request, expect REPLAYED_OTP"));
+-  ykclient_set_verify_signature(ykc, 1);
+-  ykclient_set_client_b64 (ykc, client_id, client_b64key);
+-  ykclient_set_nonce(ykc, NULL);
+-
+-#ifndef TEST_WITHOUT_INTERNET
+-  ret = ykclient_request (ykc, 
"ccbchvthlivuitriujjifivbvtrjkjfirllluurj");
+-  printf ("ykclient_request (%d): %s\n", ret, ykclient_strerror (ret));
+-  printf ("used url: %s\n", ykclient_get_last_url (ykc));
+-  assert(ret == YKCLIENT_REPLAYED_OTP);
+-#else
+-  printf ("Test SKIPPED\n");
+-#endif
+-
+-  ykclient_done ();
+-}
+-
+ #if 0
+ void
+ test_base64 (void)
+@@ -366,7 +320,7 @@ main (void)
+   TEST(("set WS 2.0 URL template"));
+   /* Set one URL and run tests with that. */
+   ykclient_set_url_template
+-(ykc, "http://api.yubico.com/wsapi/2.0/verify?id=%d=%s;);
++(ykc, "https://api.yubico.com/wsapi/2.0/verify?id=%d=%s;);
+ 
+ #ifndef TEST_WITHOUT_INTERNET
+   TEST(("validation request, expect REPLAYED_OTP"));
+@@ -406,11 +360,11 @@ main (void)
+ 
+   TEST(("Set and use several OLD V2.0 URLs"));
+   const char *templates[] = {
+-"http://api.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api2.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api3.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api4.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+-"http://api5.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api2.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api3.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api4.yubico.com/wsapi/2.0/verify?id=%d=%s;,
++"https://api5.yubico.com/wsapi/2.0/verify?id=%d=%s;,
+   };
+   ykclient_set_url_templates(ykc, 5, templates);
+   ykclient_set_client (ykc, client_id, 20, client_key);
+@@ -425,11 +379,11 @@ main (void)
+ 
+   TEST(("Set and use several NEW V2.0 URLs"));
+   const char *bases[] = {
+-"http://api.yubico.com/wsapi/2.0/verify;,
+-"http://api2.yubico.com/wsapi/2.0/verify;,
+-"http://api3.yubico.com/wsapi/2.0/verify;,
+-"http://api4.yubico.com/wsapi/2.0/verify;,
+-"http://api5.yubico.com/wsapi/2.0/verify;,
++"https://api.yubico.com/wsapi/2.0/verify;,
++"https://api2.yubico.com/wsapi/2.0/verify;,
++"https://api3.yubico.com/wsapi/2.0/verify;,
++"https://api4.yubico.com/wsapi/2.0/verify;,
++"https://api5.yubico.com/wsapi/2.0/verify;,
+   };
+   ykclient_set_url_bases(ykc, 5, bases);
+   ykclient_set_client (ykc, client_id, 20, client_key);
+@@ -444,11 

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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:24:06
  Author: felixonmars
Revision: 615060

upgpkg: taskell 1.9.2.0-78: rebuild with lens 4.19.2

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:23:00 UTC (rev 615059)
+++ PKGBUILD2020-04-15 21:24:06 UTC (rev 615060)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.9.2.0
-pkgrel=77
+pkgrel=78
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:23:00
  Author: felixonmars
Revision: 615059

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   79 
 stack.install |4 ++
 2 files changed, 83 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 615058, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:23:00 UTC (rev 615059)
@@ -0,0 +1,79 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.1.3.20200310
+_commit=95aaf2bc2c969622679c2a8233e7bb637e43210d
+pkgrel=51
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' '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-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
+ 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-terminal-size' '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')
+makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#commit=$_commit;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  hpack
+  sed -i -e '/semigroups/d' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  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 \
+  --ghc-option='-pie'
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname
+  # 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 $pkgname
+
+  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 615058, 
stack/trunk/stack.install)

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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:22:48
  Author: felixonmars
Revision: 615058

upgpkg: stack 2.1.3.20200310-51: rebuild with lens 4.19.2

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:18:31 UTC (rev 615057)
+++ PKGBUILD2020-04-15 21:22:48 UTC (rev 615058)
@@ -4,7 +4,7 @@
 pkgname=stack
 pkgver=2.1.3.20200310
 _commit=95aaf2bc2c969622679c2a8233e7bb637e43210d
-pkgrel=50
+pkgrel=51
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:18:31
  Author: felixonmars
Revision: 615057

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 615056, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:18:31 UTC (rev 615057)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.0
+pkgrel=222
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 
'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;
+
shellcheck-cabal3.patch::https://github.com/koalaman/shellcheck/commit/2c026f1ec7c205c731ff2a0ccd85365f37245758.patch)
+sha512sums=('46ef486dff09bd51bdc5f053b1dda9e3f2943c66bbf6788824ddf8fcf3b69b7a3a9c00bf98bca0dee9d57ee6df833ca4088252dbf773815248be0fa667f35215'
+
'88b7101a536598ecbf4d1c48cfd4eb10b1a6424a2344e4b1be6f6a814dcf1c3d00e78390070242369bc55ed9c20defd4cc7337854da71761fb08e13240619684')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../shellcheck-cabal3.patch
+
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+
+./manpage
+}
+
+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 shellcheck/trunk (PKGBUILD)

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:18:21
  Author: felixonmars
Revision: 615056

upgpkg: shellcheck 0.7.0-222: rebuild with lens 4.19.2

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:15:42 UTC (rev 615055)
+++ PKGBUILD2020-04-15 21:18:21 UTC (rev 615056)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.0
-pkgrel=221
+pkgrel=222
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:15:42
  Author: felixonmars
Revision: 615055

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 615054, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:15:42 UTC (rev 615055)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.0
+pkgrel=9
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-parsec' 'haskell-protolude' '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-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
+sha512sums=('e52bca7c4ab37909b57b8d004244e7b0471464141cea5193ed01e39a60f7adb551064d3d3dd4230042b04730fdf8d6b8151bb3789b90c413680e6a3e496c383c')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *4.19/<5/' $pkgname.cabal
+sed -i -e '/ fail /d' src/PostgREST/Config.hs
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+}
+
+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 --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createdb postgrest_test
+
+# TODO: user authentication issue?
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || warning 
"Tests failed"
+
+# 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)

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:15:32
  Author: felixonmars
Revision: 615054

upgpkg: postgrest 7.0.0-9: rebuild with lens 4.19.2

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:12:29 UTC (rev 615053)
+++ PKGBUILD2020-04-15 21:15:32 UTC (rev 615054)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.0
-pkgrel=8
+pkgrel=9
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:12:18
  Author: felixonmars
Revision: 615052

upgpkg: pandoc-crossref 0.3.6.2-73: rebuild with lens 4.19.2

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:10:54 UTC (rev 615051)
+++ PKGBUILD2020-04-15 21:12:18 UTC (rev 615052)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.6.2
-pkgrel=72
+pkgrel=73
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:12:29
  Author: felixonmars
Revision: 615053

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 615052, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
615052, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:12:29 UTC (rev 615053)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.6.2
+pkgrel=73
+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-gitrev' 
'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=('4b0443348ff3fa2e9f2366afee1a58c96466d395be9458e63b4741ffe0dba250d35e55de19b62c5a9231030bf658f2628f934667effcaad52891c94d63dbf168')
+
+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-enable_flaky_tests
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:10:44
  Author: felixonmars
Revision: 615050

upgpkg: haskell-hakyll 4.13.2.0-53: rebuild with lens 4.19.2

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:09:11 UTC (rev 615049)
+++ PKGBUILD2020-04-15 21:10:44 UTC (rev 615050)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.13.2.0
-pkgrel=52
+pkgrel=53
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:10:54
  Author: felixonmars
Revision: 615051

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 615050, haskell-hakyll/trunk/PKGBUILD)

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
615050, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:10:54 UTC (rev 615051)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.13.2.0
+pkgrel=53
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'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=('93dbf4fc35db6c2c65bd8c3d5d0cc2e78b30ea8e01dfd0a596aa2119a56efb7c6c3fab56c111d8c7cdb08ac3a48191e782035344d16c1a69fe263b93788ebc7b')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/< *0.17/<1/;s/< *3.3/<4/;s/< *2.14/<3/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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 || warning 
"https://github.com/jaspervdj/hakyll/issues/682;
+}
+
+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 pandoc-citeproc/repos (2 files)

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:09:11
  Author: felixonmars
Revision: 615049

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 615048, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
615048, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:09:11 UTC (rev 615049)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.17
+pkgrel=77
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-base-compat' 'haskell-data-default' 'haskell-hs-bibutils' 
'haskell-libyaml'
+ 'haskell-network' 'haskell-old-locale' 'pandoc' 
'haskell-pandoc-types' 'haskell-rfc5051'
+ 'haskell-safe' 'haskell-setenv' 'haskell-split' 'haskell-syb' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-icu' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-xml-conduit' 'haskell-yaml' 'haskell-hsyaml' 
'haskell-hsyaml-aeson')
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('65bc510c1208d5c76884c1b5898d033abd06ebce040c36e1ec2f11fd0107fbb6ac838e0be6d97c40c9b2893ba6bdc38d2bf5c12fec7db069bbabd37d6d07b4e7')
+
+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
+# https://github.com/jgm/pandoc-citeproc/issues/342
+runhaskell Setup test || warning "Tests failed"
+}
+
+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)

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:09:01
  Author: felixonmars
Revision: 615048

upgpkg: pandoc-citeproc 0.17-77: rebuild with lens 4.19.2

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:07:52 UTC (rev 615047)
+++ PKGBUILD2020-04-15 21:09:01 UTC (rev 615048)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.17
-pkgrel=76
+pkgrel=77
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


[arch-commits] Commit in yubikey-touch-detector/repos/community-x86_64 (2 files)

2020-04-15 Thread Maxim Baz via arch-commits
Date: Wednesday, April 15, 2020 @ 21:07:52
  Author: maximbaz
Revision: 615047

archrelease: copy trunk to community-x86_64

Added:
  yubikey-touch-detector/repos/community-x86_64/PKGBUILD
(from rev 615046, yubikey-touch-detector/trunk/PKGBUILD)
Deleted:
  yubikey-touch-detector/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-15 21:07:49 UTC (rev 615046)
+++ PKGBUILD2020-04-15 21:07:52 UTC (rev 615047)
@@ -1,31 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=yubikey-touch-detector
-pkgver=1.5.2
-pkgrel=1
-pkgdesc='A tool that can detect when your YubiKey is waiting for a touch'
-arch=('x86_64')
-url='https://github.com/maximbaz/yubikey-touch-detector'
-license=('MIT')
-depends=('glibc')
-makedepends=('go' 'git')
-optdepends=('gnupg: for GPG'
-'openssh: for SSH'
-'libnotify: for desktop notifications')
-source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
-
"${url}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz.asc")
-sha256sums=('cc45efff441a482145c5ec6e64089fbc6b2cf00621823e8caac5734055852237'
-'SKIP')
-validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
-
-build() {
-cd "${pkgname}-${pkgver}"
-make build
-}
-
-package() {
-cd "${pkgname}-${pkgver}"
-make DESTDIR="${pkgdir}" install
-}
-
-# vim:set ts=4 sw=4 et:

Copied: yubikey-touch-detector/repos/community-x86_64/PKGBUILD (from rev 
615046, yubikey-touch-detector/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-15 21:07:52 UTC (rev 615047)
@@ -0,0 +1,31 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=yubikey-touch-detector
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='A tool that can detect when your YubiKey is waiting for a touch'
+arch=('x86_64')
+url='https://github.com/maximbaz/yubikey-touch-detector'
+license=('MIT')
+depends=('glibc')
+makedepends=('go' 'git')
+optdepends=('gnupg: for GPG'
+'openssh: for SSH'
+'libnotify: for desktop notifications')
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+
"${url}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz.asc")
+sha256sums=('cc85ba9e61fc1f26ffa49290c4f10d4deada65d2cdac49010ae70ff264df7360'
+'SKIP')
+validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
+
+build() {
+cd "${pkgname}-${pkgver}"
+make build
+}
+
+package() {
+cd "${pkgname}-${pkgver}"
+make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=4 sw=4 et:


[arch-commits] Commit in yubikey-touch-detector/trunk (PKGBUILD)

2020-04-15 Thread Maxim Baz via arch-commits
Date: Wednesday, April 15, 2020 @ 21:07:49
  Author: maximbaz
Revision: 615046

upgpkg: yubikey-touch-detector 1.6.0-1

Modified:
  yubikey-touch-detector/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 21:06:07 UTC (rev 615045)
+++ PKGBUILD2020-04-15 21:07:49 UTC (rev 615046)
@@ -1,7 +1,7 @@
 # Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
 
 pkgname=yubikey-touch-detector
-pkgver=1.5.2
+pkgver=1.6.0
 pkgrel=1
 pkgdesc='A tool that can detect when your YubiKey is waiting for a touch'
 arch=('x86_64')
@@ -14,7 +14,7 @@
 'libnotify: for desktop notifications')
 source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
 
"${url}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz.asc")
-sha256sums=('cc45efff441a482145c5ec6e64089fbc6b2cf00621823e8caac5734055852237'
+sha256sums=('cc85ba9e61fc1f26ffa49290c4f10d4deada65d2cdac49010ae70ff264df7360'
 'SKIP')
 validpgpkeys=('EB4F9E5A60D32232BB52150C12C87A28FEAC6B20')
 


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:06:07
  Author: felixonmars
Revision: 615045

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 615044, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 21:06:07 UTC (rev 615045)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.9.2.1
+pkgrel=17
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-attoparsec' 'haskell-base-compat' 
'haskell-base-noprelude'
+ 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-blaze-markup'
+ 'haskell-case-insensitive' 'haskell-cmark-gfm' 'haskell-data-default' 
'haskell-doclayout'
+ 'haskell-doctemplates' 'haskell-emojis' 'haskell-exceptions' 
'haskell-glob'
+ 'haskell-haddock-library' 'haskell-ipynb' 'haskell-jira-wiki-markup' 
'haskell-skylighting'
+ 'haskell-skylighting-core' 'haskell-hslua' 
'haskell-hslua-module-system'
+ 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 
'haskell-hsyaml'
+ '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-text-conversions'
+ 'haskell-network-uri' 'haskell-unicode-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-vector' 'haskell-xml' '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-lua'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-golden' 
'haskell-quickcheck'
+ 'haskell-executable-path')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('35ac491a7e0a2f6d8fe0f2c2ffe265748b13920904e974f88c92b3f82edb2f1c03e28ebef1bc344ead13d566117a5e50707a68edc49f95159157f974210b23b2')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+sed -i 's/< 1.1/< 1.2/;s/< *2.14/<3/' $pkgname.cabal
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+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 \
+-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 || warning "Tests failed"
+}
+
+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 "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+install -Dm644 man/pandoc.1 "${pkgdir}"/usr/share/man/man1/pandoc.1
+}


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 21:05:57
  Author: felixonmars
Revision: 615044

upgpkg: pandoc 2.9.2.1-17: rebuild with lens 4.19.2

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 20:49:04 UTC (rev 615043)
+++ PKGBUILD2020-04-15 21:05:57 UTC (rev 615044)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.9.2.1
-pkgrel=16
+pkgrel=17
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 20:49:04
  Author: felixonmars
Revision: 615043

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 615042, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
615042, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 20:49:04 UTC (rev 615043)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.1
+pkgrel=22
+pkgdesc="hOpenPGP-based command-line tools"
+url="https://salsa.debian.org/clint/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=('325a188af92587b84e453e73a40ed11cf6682632fed514c8971ebd2e684b949fb71cb5942b6efa93f95199f76a065a751ae82ad246c15c5593fecdee1ec0f533')
+
+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)

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 20:48:54
  Author: felixonmars
Revision: 615042

upgpkg: hopenpgp-tools 0.23.1-22: rebuild with lens 4.19.2

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 20:47:40 UTC (rev 615041)
+++ PKGBUILD2020-04-15 20:48:54 UTC (rev 615042)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.1
-pkgrel=21
+pkgrel=22
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 20:47:29
  Author: felixonmars
Revision: 615040

upgpkg: haskell-mustache 2.3.1-84: rebuild with lens 4.19.2

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-15 20:46:29 UTC (rev 615039)
+++ PKGBUILD2020-04-15 20:47:29 UTC (rev 615040)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=83
+pkgrel=84
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')


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

2020-04-15 Thread Felix Yan via arch-commits
Date: Wednesday, April 15, 2020 @ 20:47:40
  Author: felixonmars
Revision: 615041

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
615040, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-15 20:47:40 UTC (rev 615041)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=84
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3')
+
+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
+}


  1   2   3   4   5   >