[arch-commits] Commit in qca/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:55:19
  Author: arojas
Revision: 434778

archrelease: copy trunk to staging-x86_64

Added:
  qca/repos/staging-x86_64/
  qca/repos/staging-x86_64/PKGBUILD
(from rev 434777, qca/trunk/PKGBUILD)

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

Copied: qca/repos/staging-x86_64/PKGBUILD (from rev 434777, qca/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-01-20 07:55:19 UTC (rev 434778)
@@ -0,0 +1,50 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+# Contributor: Pierre Schmitz 
+
+pkgbase=qca
+pkgname=(qca-qt5 qca-qt6)
+pkgver=2.3.4
+pkgrel=2
+pkgdesc='Qt Cryptographic Architecture'
+arch=(x86_64)
+url='https://userbase.kde.org/QCA'
+license=(LGPL)
+optdepends=('pkcs11-helper: PKCS-11 plugin' 'botan: botan plugin')
+makedepends=(cmake doxygen pkcs11-helper botan qt5-base qt6-5compat)
+source=(https://download.kde.org/stable/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig})
+sha256sums=('6b695881a7e3fd95f73aaee6eaeab96f6ad17e515e9c2b3d4b3272d7862ff5c4'
+'SKIP')
+validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter 

+
+build() {
+  cmake -B build-qt5 -S $pkgbase-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_TESTS=OFF \
+-DQCA_INSTALL_IN_QT_PREFIX=ON \
+-DQCA_MAN_INSTALL_DIR=/usr/share/man
+  cmake --build build-qt5
+
+  cmake -B build-qt6 -S $pkgbase-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DQT6=ON \
+-DBUILD_TESTS=OFF \
+-DQCA_INSTALL_IN_QT_PREFIX=ON \
+-DQCA_MAN_INSTALL_DIR=/usr/share/man
+  cmake --build build-qt6
+}
+
+package_qca-qt5() {
+  depends=(qt5-base nss ca-certificates)
+  conflicts=(qca)
+  provides=(qca)
+  replaces=(qca)
+
+  DESTDIR="$pkgdir" cmake --install build-qt5
+}
+
+package_qca-qt6() {
+  depends=(qt6-5compat nss ca-certificates)
+
+  DESTDIR="$pkgdir" cmake --install build-qt6
+}



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:55:10
  Author: arojas
Revision: 434777

botan 2.19 rebuild

Modified:
  qca/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 07:51:15 UTC (rev 434776)
+++ PKGBUILD2022-01-20 07:55:10 UTC (rev 434777)
@@ -5,7 +5,7 @@
 pkgbase=qca
 pkgname=(qca-qt5 qca-qt6)
 pkgver=2.3.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt Cryptographic Architecture'
 arch=(x86_64)
 url='https://userbase.kde.org/QCA'



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:51:15
  Author: arojas
Revision: 434776

archrelease: copy trunk to staging-x86_64

Added:
  botan/repos/staging-x86_64/
  botan/repos/staging-x86_64/PKGBUILD
(from rev 434775, botan/trunk/PKGBUILD)
  botan/repos/staging-x86_64/botan.key
(from rev 434775, botan/trunk/botan.key)

---+
 PKGBUILD  |   48 
 botan.key |   35 +++
 2 files changed, 83 insertions(+)

Copied: botan/repos/staging-x86_64/PKGBUILD (from rev 434775, 
botan/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-01-20 07:51:15 UTC (rev 434776)
@@ -0,0 +1,48 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Angel Velasquez 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: d'Ronin 
+# Contributor: Hexchain Tong 
+# Contributor: Jack Lloyd 
+
+pkgname=botan
+pkgver=2.19.0
+pkgrel=1
+pkgdesc='Crypto library written in C++'
+arch=(x86_64)
+url='https://botan.randombit.net/'
+license=(BSD)
+depends=(xz sqlite)
+makedepends=(python boost openssl)
+optdepends=('python: for using botan2.py' 'boost-libs: for the botan 
executable')
+source=(https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz{,.asc})
+sha256sums=('240d9e56e6acb91ef4cf06a8a1c6c0f101c61d40cf48cccf139faef821d7040b'
+'SKIP')
+validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution 
Key
+
+build() {
+  cd ${pkgname^}-$pkgver
+
+  ./configure.py \
+--prefix=/usr \
+--with-bzip \
+--with-lzma \
+--with-zlib \
+--with-boost \
+--with-openssl \
+--with-sqlite3 \
+--with-os-feature=getrandom
+  make
+}
+
+check() {
+  cd ${pkgname^}-$pkgver
+
+  LD_LIBRARY_PATH="$PWD" ./botan-test
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C ${pkgname^}-$pkgver install
+  install -Dm644 ${pkgname^}-$pkgver/license.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: botan/repos/staging-x86_64/botan.key (from rev 434775, 
botan/trunk/botan.key)
===
--- staging-x86_64/botan.key(rev 0)
+++ staging-x86_64/botan.key2022-01-20 07:51:15 UTC (rev 434776)
@@ -0,0 +1,35 @@
+pub   2048R/EFBADFBC 2004-10-30
+  Key fingerprint = 621D AF64 11E1 851C 4CF9  A2E1 6211 EBF1 EFBA DFBC
+uid  Botan Distribution Key
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+mQELBEGD1j0BCADHxPJkPcjJE+4Dlisx2hVc0Dj6JI1MSLrkM8R+2bOhVUSferxP
+T1EMPhfrAdOHTAloyvRThJztnZsNKqfLL49GGcBLdEGAVNks1pG37Teze5Lx1XIu
+zJFrozL2sqBy5C6nHpFgd1tcD68Rah2wp0u2cR9owXf1IqKdEfuo661+MTv7wTB1
+4hKV75nB7ZO6676SEZRILYM+7RJwKAKEmEPJc6hEf94VXn9ecNzaTlHgYkjhz9db
+LOd3od9XvuUw+LMR1dwBqMxbvR90MiXjbedDEkbArcZB9YOAIvEX/lC3qaW4XJt4
+iwHWl/YVZEfALcvQywe2CDrH5hO794wd9MpBAAYptBZCb3RhbiBEaXN0cmlidXRp
+b24gS2V5iQEqBBMBAgAUAhsDAh4BAheABQJKfFpnBBUKCQgACgkQYhHr8e+637xk
+PQf/aOi78XenwwvFrwXOVIVTdZIf8rK1zJksf26h09UD8uVV6z5iiTcpn86+eN9p
+6Ar8IH3tD+JuFnPSwZ/r9MNC2XZwenYo4Gb14jqM6/9hBe328vmeM4Y1G7bD4HrL
+kgV5WEyokqm3zbp3FBLr3Vh68TAC5JB9aHevra+cCA2u3vBNI3YUM5z4TdO150P3
+J00whkqImQEUni8bgxvllBLFM+uhucsX3HZWkoDEpotbg8yd0bqMkiPEyMr1OnJq
+eDVDMrB5wnyLgLFfRAAw3mopM0C1PNOAHr/BIYiaDHX2OwnOfep8rMDoRVf2Ge0D
+DBgsJJ6LduQHLeg403SHWL2F6YkCHAQTAQIABgUCQYPWUgAKCRBcD5boTsFta+r9
+EACWVis7YcaGkKKgRB/5ox8rM36XVhMXdh/hnnGHt5rapbbRRkRHRcWU8WIcFO1A
+59+TfwNNd8gN1MEt/5aX5KHWVKHBDexJgIxm6Dm1pisYHf/dnYQPM18hmqqwNlKY
+97hFkPpHd7enrtc/SvGbQhhLXYlpwBrdMl76e9xJLnnrRQksxegGPo8cr+C9HTs1
+Lwa8zzBxyBwYBYX+0moDkDShEhuXx6mEOXrGvQanJuIvpoIwGH+62E65MbJGlwWp
+w/MAtm2jFhBIhGV0bqJCFp9zIgdNgfskBaPr0oilbuJQZqP0Iqe/6CCt4XkS51yW
+ZqxjLAFpEpvDec4PGw3witKf/koGon9X8C035+nEjLBrWy18Q91vw2USyLI+mm9d
+iMAS8pY2gomfxBO2VwYHJryZykjCYQkccRA1tHteRj4gqTObo0Ak47y5MnplTWwi
+40oP7K2cfhCRBmMioxmYES4xsHEupfRBo3xr1Jq9q0t688WTT1NXHPMPoueF9mKZ
+Cf2pa9aHsqBmWTm3sCaNQKGubCDBEUmJUyndmSatJyYM7NVYoUp6EfqMACFuTNdB
+sjKMh7aWVikQpbJDfA1BIU3lZeqgjgrghVAWkEOBfhG0IVZj+RVCJpsqoTJ8asY2
+VreArSCyr/VnLEnfuH/QpgvCiCbepo3E34DJt4SaAOO2ZohGBBARAgAGBQJMGVc1
+AAoJEKY/LL36AvvMgsoAn2G7kXd09BF7ffk1Sfh174SVrvM9AKC7+R7x0+yV3SCd
+JkkUOo3xR5cOxw==
+=1QuR
+-END PGP PUBLIC KEY BLOCK-



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:51:01
  Author: arojas
Revision: 434775

Update to 2.19.0

Modified:
  botan/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 07:47:16 UTC (rev 434774)
+++ PKGBUILD2022-01-20 07:51:01 UTC (rev 434775)
@@ -7,8 +7,8 @@
 # Contributor: Jack Lloyd 
 
 pkgname=botan
-pkgver=2.18.2
-pkgrel=3
+pkgver=2.19.0
+pkgrel=1
 pkgdesc='Crypto library written in C++'
 arch=(x86_64)
 url='https://botan.randombit.net/'
@@ -16,13 +16,13 @@
 depends=(xz sqlite)
 makedepends=(python boost openssl)
 optdepends=('python: for using botan2.py' 'boost-libs: for the botan 
executable')
-source=("https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz"{,.asc})
-sha256sums=('541a3b13f1b9d30f977c6c1ae4c7bfdfda763cda6e44de807369dce79f42307e'
+source=(https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz{,.asc})
+sha256sums=('240d9e56e6acb91ef4cf06a8a1c6c0f101c61d40cf48cccf139faef821d7040b'
 'SKIP')
 validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution 
Key
 
 build() {
-  cd "${pkgname^}-$pkgver"
+  cd ${pkgname^}-$pkgver
 
   ./configure.py \
 --prefix=/usr \
@@ -37,13 +37,12 @@
 }
 
 check() {
-  cd "${pkgname^}-$pkgver"
+  cd ${pkgname^}-$pkgver
 
   LD_LIBRARY_PATH="$PWD" ./botan-test
 }
 
 package() {
-  DESTDIR="$pkgdir" make -C "${pkgname^}-$pkgver" install
-  install -Dm644 "${pkgname^}-$pkgver/license.txt" \
-"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  DESTDIR="$pkgdir" make -C ${pkgname^}-$pkgver install
+  install -Dm644 ${pkgname^}-$pkgver/license.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



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

2022-01-19 Thread Christian Hesse via arch-commits
Date: Thursday, January 20, 2022 @ 07:45:56
  Author: eworm
Revision: 434773

archrelease: copy trunk to testing-x86_64

Added:
  lpeg/repos/testing-x86_64/
  lpeg/repos/testing-x86_64/LICENSE
(from rev 434772, lpeg/trunk/LICENSE)
  lpeg/repos/testing-x86_64/PKGBUILD
(from rev 434772, lpeg/trunk/PKGBUILD)

--+
 LICENSE  |7 
 PKGBUILD |   96 +
 2 files changed, 103 insertions(+)

Copied: lpeg/repos/testing-x86_64/LICENSE (from rev 434772, lpeg/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2022-01-20 07:45:56 UTC (rev 434773)
@@ -0,0 +1,7 @@
+Copyright © 2008 Lua.org, PUC-Rio.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to deal 
in the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE. 

Copied: lpeg/repos/testing-x86_64/PKGBUILD (from rev 434772, 
lpeg/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-01-20 07:45:56 UTC (rev 434773)
@@ -0,0 +1,96 @@
+# Maintainer: Christian Hesse 
+# Contributor: Gustavo Alvarez 
+
+pkgbase=lpeg
+pkgname=(lua-lpeg lua51-lpeg lua52-lpeg lua53-lpeg)
+pkgver=1.0.2
+pkgrel=4
+arch=('x86_64')
+url='http://www.inf.puc-rio.br/~roberto/lpeg'
+license=('MIT')
+makedepends=('lua' 'lua51' 'lua52' 'lua53')
+source=("http://www.inf.puc-rio.br/~roberto/${pkgbase}/${pkgbase}-${pkgver}.tar.gz;
+'LICENSE')
+sha256sums=('48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe'
+'6be7688c9c648e7c7cde693081be938c869a10aa4de09fe0a4c4c1d66b3cf03d')
+
+prepare() {
+  sed 's/^CFLAGS =/CFLAGS +=/' -i "${pkgbase}-${pkgver}"/makefile
+  sed 's/^COPT =/# COPT =/' -i "${pkgbase}-${pkgver}"/makefile
+
+  cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}"-51
+  cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}"-52
+  cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}"-53
+}
+
+build() {
+  cd "${pkgbase}-${pkgver}"
+  make LUADIR=/usr/include
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-51"
+  make LUADIR=/usr/include/lua5.1
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-52"
+  make LUADIR=/usr/include/lua5.2
+  
+  cd "${srcdir}/${pkgbase}-${pkgver}-53"
+  make LUADIR=/usr/include/lua5.3
+}
+
+check() {
+  echo "Testing with Lua 5.4"
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  lua test.lua
+
+  echo "Testing with Lua 5.1"
+  cd "${srcdir}/${pkgbase}-${pkgver}-51"
+  lua5.1 test.lua
+
+  echo "Testing with Lua 5.2"
+  cd "${srcdir}/${pkgbase}-${pkgver}-52"
+  lua5.2 test.lua
+  
+  echo "Testing with Lua 5.3"
+  cd "${srcdir}/${pkgbase}-${pkgver}-53"
+  lua5.3 test.lua
+}
+
+package_lua-lpeg() {
+  pkgdesc='Pattern-matching library for Lua 5.4'
+  depends=('lua')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  install -Dm0755 ${pkgbase}.so "${pkgdir}"/usr/lib/lua/5.4/${pkgbase}.so
+  install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.4/re.lua
+  install -Dm0644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_lua51-lpeg() {
+  pkgdesc='Pattern-matching library for Lua 5.1'
+  depends=('lua51')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-51"
+  install -Dm0755 ${pkgbase}.so "${pkgdir}"/usr/lib/lua/5.1/${pkgbase}.so
+  install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.1/re.lua
+  install -Dm0644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_lua52-lpeg() {
+  pkgdesc='Pattern-matching library for Lua 5.2'
+  depends=('lua52')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-52"
+  install -Dm0755 ${pkgbase}.so "${pkgdir}"/usr/lib/lua/5.2/${pkgbase}.so
+  install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.2/re.lua
+  install -Dm0644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_lua53-lpeg() {
+  pkgdesc='Pattern-matching library for Lua 5.3'
+  depends=('lua53')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-53"
+  install -Dm0755 ${pkgbase}.so 

[arch-commits] Commit in jmol/repos/community-any (PKGBUILD PKGBUILD)

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:45:07
  Author: arojas
Revision: 253

archrelease: copy trunk to community-any

Added:
  jmol/repos/community-any/PKGBUILD
(from rev 252, jmol/trunk/PKGBUILD)
Deleted:
  jmol/repos/community-any/PKGBUILD

--+
 PKGBUILD |   68 ++---
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-20 07:44:56 UTC (rev 252)
+++ PKGBUILD2022-01-20 07:45:07 UTC (rev 253)
@@ -1,34 +0,0 @@
-# Maintainer: Antonio Rojas 
-# Contributor: James Spencer 
-
-pkgbase=jmol
-pkgname=(jmol jsmol)
-pkgver=14.32.13
-pkgrel=1
-arch=(any)
-url='https://jmol.sourceforge.net'
-license=(LGPL)
-makedepends=(unzip)
-source=(https://sourceforge.net/projects/jmol/files/Jmol/Version%20${pkgver%.*}/Jmol%20$pkgver/Jmol-$pkgver-binary.tar.gz)
-sha256sums=('10d261768cca1c0a00581505f4a747365193a808e452bb856c64e400e97d24df')
-
-package_jmol() {
-  pkgdesc='A Java 3D viewer for chemical structures'
-  depends=(java-runtime)
-
-  cd $pkgbase-$pkgver
-
-  mkdir -p "$pkgdir"/usr/share/$pkgname
-  mkdir -p "$pkgdir"/usr/bin
-
-  cp *.jar jmol.sh "$pkgdir"/usr/share/$pkgname
-  ln -s /usr/share/$pkgname/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
-}
-
-package_jsmol() {
-  pkgdesc='A JavaScript 3D viewer for chemical structures'
-  cd $pkgbase-$pkgver
-
-  mkdir -p "$pkgdir"/usr/share
-  unzip jsmol.zip -d "$pkgdir"/usr/share/
-}

Copied: jmol/repos/community-any/PKGBUILD (from rev 252, 
jmol/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-20 07:45:07 UTC (rev 253)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas 
+# Contributor: James Spencer 
+
+pkgbase=jmol
+pkgname=(jmol jsmol)
+pkgver=14.32.14
+pkgrel=1
+arch=(any)
+url='https://jmol.sourceforge.net'
+license=(LGPL)
+makedepends=(unzip)
+source=(https://sourceforge.net/projects/jmol/files/Jmol/Version%20${pkgver%.*}/Jmol%20$pkgver/Jmol-$pkgver-binary.tar.gz)
+sha256sums=('e260226d7677a97368a67bd583edf9ccbb25fce66f2235b81804fa0fe591c0d2')
+
+package_jmol() {
+  pkgdesc='A Java 3D viewer for chemical structures'
+  depends=(java-runtime)
+
+  cd $pkgbase-$pkgver
+
+  mkdir -p "$pkgdir"/usr/share/$pkgname
+  mkdir -p "$pkgdir"/usr/bin
+
+  cp *.jar jmol.sh "$pkgdir"/usr/share/$pkgname
+  ln -s /usr/share/$pkgname/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
+}
+
+package_jsmol() {
+  pkgdesc='A JavaScript 3D viewer for chemical structures'
+  cd $pkgbase-$pkgver
+
+  mkdir -p "$pkgdir"/usr/share
+  unzip jsmol.zip -d "$pkgdir"/usr/share/
+}



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

2022-01-19 Thread Christian Hesse via arch-commits
Date: Thursday, January 20, 2022 @ 07:45:52
  Author: eworm
Revision: 434772

upgpkg: lpeg 1.0.2-4: general cleanups

Modified:
  lpeg/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 07:18:19 UTC (rev 434771)
+++ PKGBUILD2022-01-20 07:45:52 UTC (rev 434772)
@@ -4,54 +4,54 @@
 pkgbase=lpeg
 pkgname=(lua-lpeg lua51-lpeg lua52-lpeg lua53-lpeg)
 pkgver=1.0.2
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 url='http://www.inf.puc-rio.br/~roberto/lpeg'
 license=('MIT')
 makedepends=('lua' 'lua51' 'lua52' 'lua53')
-source=("http://www.inf.puc-rio.br/~roberto/$pkgbase/$pkgbase-$pkgver.tar.gz;
+source=("http://www.inf.puc-rio.br/~roberto/${pkgbase}/${pkgbase}-${pkgver}.tar.gz;
 'LICENSE')
 sha256sums=('48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe'
 '6be7688c9c648e7c7cde693081be938c869a10aa4de09fe0a4c4c1d66b3cf03d')
 
 prepare() {
-  sed 's/^CFLAGS =/CFLAGS +=/' -i $pkgbase-$pkgver/makefile
-  sed 's/^COPT =/# COPT =/' -i $pkgbase-$pkgver/makefile
+  sed 's/^CFLAGS =/CFLAGS +=/' -i "${pkgbase}-${pkgver}"/makefile
+  sed 's/^COPT =/# COPT =/' -i "${pkgbase}-${pkgver}"/makefile
 
-  cp -r $pkgbase-$pkgver $pkgbase-$pkgver-51
-  cp -r $pkgbase-$pkgver $pkgbase-$pkgver-52
-  cp -r $pkgbase-$pkgver $pkgbase-$pkgver-53
+  cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}"-51
+  cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}"-52
+  cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}"-53
 }
 
 build() {
-  cd $pkgbase-$pkgver
+  cd "${pkgbase}-${pkgver}"
   make LUADIR=/usr/include
 
-  cd "$srcdir"/$pkgbase-$pkgver-51
+  cd "${srcdir}/${pkgbase}-${pkgver}-51"
   make LUADIR=/usr/include/lua5.1
 
-  cd "$srcdir"/$pkgbase-$pkgver-52
+  cd "${srcdir}/${pkgbase}-${pkgver}-52"
   make LUADIR=/usr/include/lua5.2
   
-  cd "$srcdir"/$pkgbase-$pkgver-53
+  cd "${srcdir}/${pkgbase}-${pkgver}-53"
   make LUADIR=/usr/include/lua5.3
 }
 
 check() {
-  msg2 "Testing with Lua 5.4"
-  cd $srcdir/$pkgbase-$pkgver
+  echo "Testing with Lua 5.4"
+  cd "${srcdir}/${pkgbase}-${pkgver}"
   lua test.lua
 
-  msg2 "Testing with Lua 5.1"
-  cd $srcdir/$pkgbase-$pkgver-51
+  echo "Testing with Lua 5.1"
+  cd "${srcdir}/${pkgbase}-${pkgver}-51"
   lua5.1 test.lua
 
-  msg2 "Testing with Lua 5.2"
-  cd $srcdir/$pkgbase-$pkgver-52
+  echo "Testing with Lua 5.2"
+  cd "${srcdir}/${pkgbase}-${pkgver}-52"
   lua5.2 test.lua
   
-  msg2 "Testing with Lua 5.3"
-  cd $srcdir/$pkgbase-$pkgver-53
+  echo "Testing with Lua 5.3"
+  cd "${srcdir}/${pkgbase}-${pkgver}-53"
   lua5.3 test.lua
 }
 
@@ -59,10 +59,10 @@
   pkgdesc='Pattern-matching library for Lua 5.4'
   depends=('lua')
 
-  cd $pkgbase-$pkgver
-  install -Dm755 $pkgbase.so "$pkgdir"/usr/lib/lua/5.4/$pkgbase.so
-  install -Dm644 re.lua "$pkgdir"/usr/share/lua/5.4/re.lua
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  install -Dm0755 ${pkgbase}.so "${pkgdir}"/usr/lib/lua/5.4/${pkgbase}.so
+  install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.4/re.lua
+  install -Dm0644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 package_lua51-lpeg() {
@@ -69,10 +69,10 @@
   pkgdesc='Pattern-matching library for Lua 5.1'
   depends=('lua51')
 
-  cd $pkgbase-$pkgver-51
-  install -Dm755 $pkgbase.so "$pkgdir"/usr/lib/lua/5.1/$pkgbase.so
-  install -Dm644 re.lua "$pkgdir"/usr/share/lua/5.1/re.lua
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  cd "${srcdir}/${pkgbase}-${pkgver}-51"
+  install -Dm0755 ${pkgbase}.so "${pkgdir}"/usr/lib/lua/5.1/${pkgbase}.so
+  install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.1/re.lua
+  install -Dm0644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 package_lua52-lpeg() {
@@ -79,10 +79,10 @@
   pkgdesc='Pattern-matching library for Lua 5.2'
   depends=('lua52')
 
-  cd $pkgbase-$pkgver-52
-  install -Dm755 $pkgbase.so "$pkgdir"/usr/lib/lua/5.2/$pkgbase.so
-  install -Dm644 re.lua "$pkgdir"/usr/share/lua/5.2/re.lua
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  cd "${srcdir}/${pkgbase}-${pkgver}-52"
+  install -Dm0755 ${pkgbase}.so "${pkgdir}"/usr/lib/lua/5.2/${pkgbase}.so
+  install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.2/re.lua
+  install -Dm0644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 package_lua53-lpeg() {
@@ -89,8 +89,8 @@
   pkgdesc='Pattern-matching library for Lua 5.3'
   depends=('lua53')
 
-  cd $pkgbase-$pkgver-53
-  install -Dm755 $pkgbase.so "$pkgdir"/usr/lib/lua/5.3/$pkgbase.so
-  install -Dm644 re.lua "$pkgdir"/usr/share/lua/5.3/re.lua
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  cd "${srcdir}/${pkgbase}-${pkgver}-53"
+  install -Dm0755 ${pkgbase}.so 

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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:44:56
  Author: arojas
Revision: 252

Update to 14.32.14

Modified:
  jmol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 07:28:27 UTC (rev 251)
+++ PKGBUILD2022-01-20 07:44:56 UTC (rev 252)
@@ -3,7 +3,7 @@
 
 pkgbase=jmol
 pkgname=(jmol jsmol)
-pkgver=14.32.13
+pkgver=14.32.14
 pkgrel=1
 arch=(any)
 url='https://jmol.sourceforge.net'
@@ -10,7 +10,7 @@
 license=(LGPL)
 makedepends=(unzip)
 
source=(https://sourceforge.net/projects/jmol/files/Jmol/Version%20${pkgver%.*}/Jmol%20$pkgver/Jmol-$pkgver-binary.tar.gz)
-sha256sums=('10d261768cca1c0a00581505f4a747365193a808e452bb856c64e400e97d24df')
+sha256sums=('e260226d7677a97368a67bd583edf9ccbb25fce66f2235b81804fa0fe591c0d2')
 
 package_jmol() {
   pkgdesc='A Java 3D viewer for chemical structures'



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:28:27
  Author: arojas
Revision: 251

archrelease: copy trunk to community-x86_64

Added:
  libblastrampoline/repos/community-x86_64/PKGBUILD
(from rev 250, libblastrampoline/trunk/PKGBUILD)
Deleted:
  libblastrampoline/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-20 07:28:16 UTC (rev 250)
+++ PKGBUILD2022-01-20 07:28:27 UTC (rev 251)
@@ -1,23 +0,0 @@
-# Maintainer: Antonio Rojas 
-
-pkgname=libblastrampoline
-pkgver=3.1.0
-pkgrel=2
-pkgdesc='Using PLT trampolines to provide a BLAS and LAPACK demuxing library'
-arch=(x86_64)
-url='https://github.com/JuliaLinearAlgebra/libblastrampoline'
-license=(MIT)
-depends=(glibc)
-source=(https://github.com/JuliaLinearAlgebra/libblastrampoline/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('f6136cc2b5d090ceca67cffa55b4c8af4bcee874333d49297c867abdb0749b5f')
-
-build() {
-  cd $pkgname-$pkgver/src
-  make F2C_AUTODETECTION=0 CFLAGS="$CFLAGS -fPIC" LDFLAGS="-shared $LDFLAGS"
-}
-
-package() {
-  cd $pkgname-$pkgver/src
-  make F2C_AUTODETECTION=0 prefix="$pkgdir"/usr install
-  install -Dm644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: libblastrampoline/repos/community-x86_64/PKGBUILD (from rev 250, 
libblastrampoline/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-20 07:28:27 UTC (rev 251)
@@ -0,0 +1,23 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=libblastrampoline
+pkgver=4.0.0
+pkgrel=1
+pkgdesc='Using PLT trampolines to provide a BLAS and LAPACK demuxing library'
+arch=(x86_64)
+url='https://github.com/JuliaLinearAlgebra/libblastrampoline'
+license=(MIT)
+depends=(glibc)
+source=(https://github.com/JuliaLinearAlgebra/libblastrampoline/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('8816dfba6f0c547bca5fba9d83e63062387def3089622a9514babf79e1737310')
+
+build() {
+  cd $pkgname-$pkgver/src
+  make F2C_AUTODETECTION=0 CFLAGS="$CFLAGS -fPIC" LDFLAGS="-shared $LDFLAGS"
+}
+
+package() {
+  cd $pkgname-$pkgver/src
+  make F2C_AUTODETECTION=0 prefix="$pkgdir"/usr install
+  install -Dm644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:28:16
  Author: arojas
Revision: 250

Update to 4.0.0

Modified:
  libblastrampoline/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 07:27:12 UTC (rev 249)
+++ PKGBUILD2022-01-20 07:28:16 UTC (rev 250)
@@ -1,8 +1,8 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=libblastrampoline
-pkgver=3.1.0
-pkgrel=2
+pkgver=4.0.0
+pkgrel=1
 pkgdesc='Using PLT trampolines to provide a BLAS and LAPACK demuxing library'
 arch=(x86_64)
 url='https://github.com/JuliaLinearAlgebra/libblastrampoline'
@@ -9,7 +9,7 @@
 license=(MIT)
 depends=(glibc)
 
source=(https://github.com/JuliaLinearAlgebra/libblastrampoline/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('f6136cc2b5d090ceca67cffa55b4c8af4bcee874333d49297c867abdb0749b5f')
+sha256sums=('8816dfba6f0c547bca5fba9d83e63062387def3089622a9514babf79e1737310')
 
 build() {
   cd $pkgname-$pkgver/src



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:27:12
  Author: arojas
Revision: 249

archrelease: copy trunk to community-x86_64

Added:
  openlibm/repos/community-x86_64/PKGBUILD
(from rev 248, openlibm/trunk/PKGBUILD)
Deleted:
  openlibm/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-20 07:27:00 UTC (rev 248)
+++ PKGBUILD2022-01-20 07:27:12 UTC (rev 249)
@@ -1,31 +0,0 @@
-# Maintainer: Antonio Rojas 
-# Contributor: Lex Black 
-# Contributor: Arthur Zamarin 
-
-pkgname=openlibm
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='Standalone implementation of C mathematical functions'
-arch=(x86_64)
-url='https://openlibm.org/'
-license=(BSD)
-depends=(glibc)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz;)
-sha256sums=('03620768df4ca526a63dd675c6de95a5c9d167ff59555ce57a61c6bf49e400ee')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -e 's|/usr/local|/usr|' -i Make.inc
-}
-
-build() {
-  cd $pkgname-$pkgver
-  make prefix=/usr
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: openlibm/repos/community-x86_64/PKGBUILD (from rev 248, 
openlibm/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-20 07:27:12 UTC (rev 249)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Lex Black 
+# Contributor: Arthur Zamarin 
+
+pkgname=openlibm
+pkgver=0.8.1
+pkgrel=1
+pkgdesc='Standalone implementation of C mathematical functions'
+arch=(x86_64)
+url='https://openlibm.org/'
+license=(BSD)
+depends=(glibc)
+source=(https://github.com/JuliaLang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('ba8a282ecd92d0033f5656bb20dfc6ea3fb83f90ba69291ac8f7beba42dcffcf')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|/usr/local|/usr|' -i Make.inc
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make prefix=/usr
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



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

2022-01-19 Thread Antonio Rojas via arch-commits
Date: Thursday, January 20, 2022 @ 07:27:00
  Author: arojas
Revision: 248

Update to 0.8.1

Modified:
  openlibm/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 04:12:31 UTC (rev 247)
+++ PKGBUILD2022-01-20 07:27:00 UTC (rev 248)
@@ -3,7 +3,7 @@
 # Contributor: Arthur Zamarin 
 
 pkgname=openlibm
-pkgver=0.8.0
+pkgver=0.8.1
 pkgrel=1
 pkgdesc='Standalone implementation of C mathematical functions'
 arch=(x86_64)
@@ -10,8 +10,8 @@
 url='https://openlibm.org/'
 license=(BSD)
 depends=(glibc)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz;)
-sha256sums=('03620768df4ca526a63dd675c6de95a5c9d167ff59555ce57a61c6bf49e400ee')
+source=(https://github.com/JuliaLang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('ba8a282ecd92d0033f5656bb20dfc6ea3fb83f90ba69291ac8f7beba42dcffcf')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in (archboot-linux-firmware)

2022-01-19 Thread Tobias Powalowski via arch-commits
Date: Thursday, January 20, 2022 @ 07:18:02
  Author: tpowa
Revision: 434769

'remove obsolete package'

Deleted:
  archboot-linux-firmware/



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

2022-01-19 Thread Tobias Powalowski via arch-commits
Date: Thursday, January 20, 2022 @ 06:01:04
  Author: tpowa
Revision: 434767

archrelease: copy trunk to testing-any

Added:
  archboot-arm/repos/testing-any/
  archboot-arm/repos/testing-any/PKGBUILD
(from rev 434766, archboot-arm/trunk/PKGBUILD)
  archboot-arm/repos/testing-any/archboot.install
(from rev 434766, archboot-arm/trunk/archboot.install)

--+
 PKGBUILD |   48 
 archboot.install |   19 +++
 2 files changed, 67 insertions(+)

Copied: archboot-arm/repos/testing-any/PKGBUILD (from rev 434766, 
archboot-arm/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2022-01-20 06:01:04 UTC (rev 434767)
@@ -0,0 +1,48 @@
+# Maintainer : Tobias Powalowski 
+
+pkgname=archboot-arm
+pkgver=2022.01
+pkgrel=58
+pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
+arch=(any)
+license=('GPL')
+url="https://wiki.archlinux.org/title/Archboot;
+depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
+ 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
+ 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
+ 'openssh' 'hwdetect' 'shadow' 'bridge-utils' 'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
+ 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 'b43-fwcutter' 
'wpa_supplicant' 'rsync' 'gzip' 'libarchive'
+'device-mapper' 'screen' 'elfutils' 'pam' 'cracklib' 'nfs-utils' 
'nfsidmap' 'readline' 'acl' 'attr' 'pcre' 'cpio'
+'fuse' 'libusb' 'vim' 'lzo' 'lzop' 'libsasl' 'libldap' 'gpm' 
'libevent' 'gcc-libs' 'sdparm' 'licenses' 'pptpclient' 
+'smbclient'  'dhcpcd' 'openssl' 'dmraid' 'linux-atm' 'netctl' 'parted' 
'tzdata' 'ntp' 'libgcrypt' 'iw' 'crda'
+'libnl' 'iproute2' 'wireless-regdb' 'dhclient' 'mtools' 'fsarchiver' 
'xz' 'libtirpc' 'rpcbind' 'testdisk'
+'wipe' 'ddrescue' 'ifplugd' 'libgssglue' 'mkinitcpio-nfs-utils' 
'gptfdisk' 'nilfs-utils' 'btrfs-progs'
+'iana-etc' 'keyutils' 'libisoburn' 'file' 'curl'  'smartmontools' 
'dnsmasq' 
+'openconnect' 'libxml2' 'libproxy' 'tcpdump' 'nmap' 'lua' 'gnutls' 
'nettle' 'libtasn1' 'expat' 'progsreiserfs'
+'glib2' 'freetype2' 'libssh2' 'libedit' 'talloc' 'libjpeg-turbo' 
'dmidecode' 'gnupg' 'libksba' 'libassuan' 'pinentry'
+'gpgme' 'ldns' 'dnssec-anchors' 'hwdata' 'systemd' 'haveged' 'pambase' 
'traceroute' 'grub' 
+'systemd-sysvcompat' 'arch-install-scripts' 'zsh' 'gdbm' 
'grml-zsh-config' 'cpupower' 'wvdial' 'xl2tpd' 
+'usb_modeswitch' 'efibootmgr' 'f2fs-tools' 'efitools' 'efivar' 
'ethtool' 'exfatprogs' 
+'fuse3' 'flex' 'expac' 'amd-ucode' 'cdrtools' 'mktorrent' 'nvme-cli' 
'fatresize' 'iwd' 'elinks' 'lshw' 
+'sbsigntools' 'openresolv' 'mokutil')
+makedepends=('git')
+optdepends=('linux-firmware: for firmware inclusion on image file'
+'sudo: for running the archboot build server')
+source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)
+backup=('etc/archboot/x86_64.conf'
+'etc/archboot/aarch64.conf'
+'etc/archboot/x86_64-latest.conf'
+'etc/archboot/aarch64-latest.conf'
+'etc/archboot/presets/x86_64'
+'etc/archboot/presets/aarch64'
+'etc/archboot/presets/x86_64-latest'
+'etc/archboot/presets/aarch64-latest')
+install=archboot.install
+sha256sums=('SKIP')
+validgpgkeys=('5B7E3FB71B7F10329A1C03AB771DF6627EDF681F' # Tobias Powalowski 

+ )
+package()
+{
+  cd "$srcdir/archboot"
+  mv etc/ usr/ "$pkgdir/"
+}

Copied: archboot-arm/repos/testing-any/archboot.install (from rev 434766, 
archboot-arm/trunk/archboot.install)
===
--- testing-any/archboot.install(rev 0)
+++ testing-any/archboot.install2022-01-20 06:01:04 UTC (rev 434767)
@@ -0,0 +1,19 @@
+# This is a default template for a post-install scriptlet.  You can
+# remove any functions you don't need (and this header).
+
+# arg 1:  the new package version
+post_install() {
+  cat << EOF
+ARCHBOOT usage:
+---
+--> https://wiki.archlinux.org/title/Archboot
+EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+op=$1
+shift
+$op $*



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

2022-01-19 Thread Tobias Powalowski via arch-commits
Date: Thursday, January 20, 2022 @ 06:00:58
  Author: tpowa
Revision: 434766

upgpkg: archboot-arm 2022.01-58: bump to latest version

Modified:
  archboot-arm/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 05:58:42 UTC (rev 434765)
+++ PKGBUILD2022-01-20 06:00:58 UTC (rev 434766)
@@ -2,7 +2,7 @@
 
 pkgname=archboot-arm
 pkgver=2022.01
-pkgrel=57
+pkgrel=58
 pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
 arch=(any)
 license=('GPL')
@@ -26,8 +26,7 @@
 'fuse3' 'flex' 'expac' 'amd-ucode' 'cdrtools' 'mktorrent' 'nvme-cli' 
'fatresize' 'iwd' 'elinks' 'lshw' 
 'sbsigntools' 'openresolv' 'mokutil')
 makedepends=('git')
-optdepends=('archboot-linux-firmware: for stripped down firmware inclusion on 
image file'
-'linux-firmware: for firmware inclusion on image file'
+optdepends=('linux-firmware: for firmware inclusion on image file'
 'sudo: for running the archboot build server')
 
source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)
 backup=('etc/archboot/x86_64.conf'



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

2022-01-19 Thread Tobias Powalowski via arch-commits
Date: Thursday, January 20, 2022 @ 05:58:42
  Author: tpowa
Revision: 434765

archrelease: copy trunk to testing-any

Added:
  archboot/repos/testing-any/
  archboot/repos/testing-any/PKGBUILD
(from rev 434764, archboot/trunk/PKGBUILD)
  archboot/repos/testing-any/archboot.install
(from rev 434764, archboot/trunk/archboot.install)

--+
 PKGBUILD |   49 +
 archboot.install |   19 +++
 2 files changed, 68 insertions(+)

Copied: archboot/repos/testing-any/PKGBUILD (from rev 434764, 
archboot/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2022-01-20 05:58:42 UTC (rev 434765)
@@ -0,0 +1,49 @@
+# Maintainer : Tobias Powalowski 
+
+pkgname=archboot
+pkgver=2022.01
+pkgrel=58
+pkgdesc="Advanced, modular arch boot/install image creation utility"
+arch=(any)
+license=('GPL')
+url="https://wiki.archlinux.org/title/Archboot;
+depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
+ 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
+ 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
+ 'openssh' 'hwdetect' 'shadow' 'bridge-utils'  'dosfstools' 'glibc' 
'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
+ 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 'b43-fwcutter' 
'wpa_supplicant' 'rsync' 'gzip' 'libarchive'
+'device-mapper' 'screen' 'elfutils' 'pam' 'cracklib' 'nfs-utils' 
'nfsidmap' 'readline' 'acl' 'attr' 'pcre' 'cpio'
+'fuse' 'libusb' 'vim' 'lzo' 'lzop' 'libsasl' 'libldap' 'gpm' 
'libevent' 'gcc-libs' 'sdparm' 'licenses' 'pptpclient' 'ipw2100-fw'
+'ipw2200-fw' 'smbclient'  'dhcpcd' 'openssl' 'dmraid' 'linux-atm' 
'netctl' 'parted' 'tzdata' 'ntp' 'libgcrypt' 'iw' 'crda'
+'libnl' 'iproute2' 'wireless-regdb' 'dhclient' 'mtools' 'fsarchiver' 
'xz' 'libtirpc' 'rpcbind' 'testdisk'
+'wipe' 'ddrescue' 'ifplugd' 'libgssglue' 'mkinitcpio-nfs-utils' 
'gptfdisk' 'nilfs-utils' 'btrfs-progs'
+'iana-etc' 'keyutils' 'libisoburn' 'file' 'curl'  'smartmontools' 
'dnsmasq'
+'openconnect' 'libxml2' 'libproxy' 'tcpdump' 'nmap' 'lua' 'gnutls' 
'nettle' 'libtasn1' 'expat' 'progsreiserfs'
+'glib2' 'freetype2' 'libssh2' 'libedit' 'talloc' 'libjpeg-turbo' 
'dmidecode' 'gnupg' 'libksba' 'libassuan' 'pinentry'
+'gpgme' 'ldns' 'dnssec-anchors' 'hwdata' 'systemd' 'archlinux-keyring' 
'haveged' 'pambase' 'chntpw' 'traceroute' 'grub' 
+'systemd-sysvcompat' 'intel-ucode' 'arch-install-scripts' 'zsh' 'gdbm' 
'grml-zsh-config' 'cpupower' 'wvdial' 'xl2tpd' 
+'usb_modeswitch' 'refind' 'efibootmgr' 'f2fs-tools' 'efitools' 
'efivar' 'ethtool' 'exfatprogs' 'broadcom-wl'
+'fuse3' 'flex' 'expac' 'amd-ucode' 'edk2-shell' 'cdrtools' 'mktorrent' 
'nvme-cli' 'fatresize' 'iwd' 'elinks' 'lshw' 
+'sbsigntools' 'openresolv' 'mokutil')
+makedepends=('git')
+optdepends=('linux-firmware: for firmware inclusion on image file'
+'archboot-qemu-aarch64: for aarch64 image building on x86_64'
+'sudo: for running the archboot build server')
+source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)
+backup=('etc/archboot/x86_64.conf'
+'etc/archboot/aarch64.conf'
+'etc/archboot/x86_64-latest.conf'
+'etc/archboot/aarch64-latest.conf'
+'etc/archboot/presets/x86_64'
+'etc/archboot/presets/aarch64'
+'etc/archboot/presets/x86_64-latest'
+'etc/archboot/presets/aarch64-latest')
+install=archboot.install
+sha256sums=('SKIP')
+validgpgkeys=('5B7E3FB71B7F10329A1C03AB771DF6627EDF681F' # Tobias Powalowski 

+ )
+package()
+{
+  cd "$srcdir/archboot"
+  mv etc/ usr/ "$pkgdir/"
+}

Copied: archboot/repos/testing-any/archboot.install (from rev 434764, 
archboot/trunk/archboot.install)
===
--- testing-any/archboot.install(rev 0)
+++ testing-any/archboot.install2022-01-20 05:58:42 UTC (rev 434765)
@@ -0,0 +1,19 @@
+# This is a default template for a post-install scriptlet.  You can
+# remove any functions you don't need (and this header).
+
+# arg 1:  the new package version
+post_install() {
+  cat << EOF
+ARCHBOOT usage:
+---
+--> https://wiki.archlinux.org/title/Archboot
+EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+op=$1
+shift
+$op $*



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

2022-01-19 Thread Tobias Powalowski via arch-commits
Date: Thursday, January 20, 2022 @ 05:58:37
  Author: tpowa
Revision: 434764

upgpkg: archboot 2022.01-58: bump to latest version

Modified:
  archboot/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 00:38:59 UTC (rev 434763)
+++ PKGBUILD2022-01-20 05:58:37 UTC (rev 434764)
@@ -2,7 +2,7 @@
 
 pkgname=archboot
 pkgver=2022.01
-pkgrel=57
+pkgrel=58
 pkgdesc="Advanced, modular arch boot/install image creation utility"
 arch=(any)
 license=('GPL')
@@ -26,8 +26,7 @@
 'fuse3' 'flex' 'expac' 'amd-ucode' 'edk2-shell' 'cdrtools' 'mktorrent' 
'nvme-cli' 'fatresize' 'iwd' 'elinks' 'lshw' 
 'sbsigntools' 'openresolv' 'mokutil')
 makedepends=('git')
-optdepends=('archboot-linux-firmware: for stripped down firmware inclusion on 
image file'
-'linux-firmware: for firmware inclusion on image file'
+optdepends=('linux-firmware: for firmware inclusion on image file'
 'archboot-qemu-aarch64: for aarch64 image building on x86_64'
 'sudo: for running the archboot build server')
 
source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed;)



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

2022-01-19 Thread George Rawlinson via arch-commits
Date: Thursday, January 20, 2022 @ 04:10:08
  Author: grawlinson
Revision: 245

archrelease: copy trunk to community-x86_64

Added:
  lego/repos/community-x86_64/PKGBUILD
(from rev 244, lego/trunk/PKGBUILD)
Deleted:
  lego/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-20 04:08:51 UTC (rev 244)
+++ PKGBUILD2022-01-20 04:10:08 UTC (rev 245)
@@ -1,53 +0,0 @@
-# Maintainer: George Rawlinson 
-# Contributor: Fernandez Ludovic 
-
-pkgname=lego
-pkgver=4.5.3
-pkgrel=1
-pkgdesc='Lets Encrypt client and ACME library'
-url='https://go-acme.github.io/lego'
-arch=('x86_64')
-license=('MIT')
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/go-acme/lego/archive/v$pkgver.tar.gz;)
-sha512sums=('0de7a9078254a735a7802fb389673bfc4333a048a0d2211a0f76f4469a113ffcd6b0b63e574bdeb3f05c3140a310ce263a75d6ced71597f7b962518d8a762227')
-b2sums=('fe4b726f7fc384c7216bffbe2f39afcccfde2946b8a7c1291ab746bc0769a2829ab633c389e716fea203a2ce2e408bca8f61eb2352e01e2c5d46949a3f2c185b')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod vendor
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
--trimpath \
--buildmode=pie \
--mod=vendor \
--modcacherw \
--ldflags "-linkmode external -extldflags $LDFLAGS -X 
main.version=v${pkgver}" \
--o build \
-./cmd/...
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" build/lego
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: lego/repos/community-x86_64/PKGBUILD (from rev 244, 
lego/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-20 04:10:08 UTC (rev 245)
@@ -0,0 +1,60 @@
+# Maintainer: George Rawlinson 
+# Contributor: Fernandez Ludovic 
+
+pkgname=lego
+pkgver=4.6.0
+pkgrel=1
+pkgdesc='Lets Encrypt client and ACME library'
+url='https://go-acme.github.io/lego'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='3ad2fa7acb6d0d88499e8bf5c4b63cc77838ae87'
+source=("$pkgname::git+https://github.com/go-acme/lego.git#commit=$_commit;)
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-linkmode external -extldflags $LDFLAGS \
+-X main.version=v$pkgver" \
+-o build \
+./cmd/...
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/lego
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



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

2022-01-19 Thread George Rawlinson via arch-commits
Date: Thursday, January 20, 2022 @ 04:08:51
  Author: grawlinson
Revision: 244

upgpkg: lego 4.6.0-1

New upstream release.

Modified:
  lego/trunk/PKGBUILD

--+
 PKGBUILD |   29 ++---
 1 file changed, 18 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:25:18 UTC (rev 243)
+++ PKGBUILD2022-01-20 04:08:51 UTC (rev 244)
@@ -2,7 +2,7 @@
 # Contributor: Fernandez Ludovic 
 
 pkgname=lego
-pkgver=4.5.3
+pkgver=4.6.0
 pkgrel=1
 pkgdesc='Lets Encrypt client and ACME library'
 url='https://go-acme.github.io/lego'
@@ -9,23 +9,29 @@
 arch=('x86_64')
 license=('MIT')
 depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/go-acme/lego/archive/v$pkgver.tar.gz;)
-sha512sums=('0de7a9078254a735a7802fb389673bfc4333a048a0d2211a0f76f4469a113ffcd6b0b63e574bdeb3f05c3140a310ce263a75d6ced71597f7b962518d8a762227')
-b2sums=('fe4b726f7fc384c7216bffbe2f39afcccfde2946b8a7c1291ab746bc0769a2829ab633c389e716fea203a2ce2e408bca8f61eb2352e01e2c5d46949a3f2c185b')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='3ad2fa7acb6d0d88499e8bf5c4b63cc77838ae87'
+source=("$pkgname::git+https://github.com/go-acme/lego.git#commit=$_commit;)
+b2sums=('SKIP')
 
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
 prepare() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   # create directory for build output
   mkdir build
 
   # download dependencies
-  go mod vendor
+  go mod download
 }
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   # set Go flags
   export CGO_CPPFLAGS="${CPPFLAGS}"
@@ -35,15 +41,16 @@
   go build -v \
 -trimpath \
 -buildmode=pie \
--mod=vendor \
+-mod=readonly \
 -modcacherw \
--ldflags "-linkmode external -extldflags $LDFLAGS -X 
main.version=v${pkgver}" \
+-ldflags "-linkmode external -extldflags $LDFLAGS \
+-X main.version=v$pkgver" \
 -o build \
 ./cmd/...
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   # binary
   install -vDm755 -t "$pkgdir/usr/bin" build/lego



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

2022-01-19 Thread George Rawlinson via arch-commits
Date: Thursday, January 20, 2022 @ 04:11:45
  Author: grawlinson
Revision: 246

upgpkg: freeipmi 1.6.9-1

New upstream release.

Modified:
  freeipmi/trunk/PKGBUILD
Deleted:
  freeipmi/trunk/0001-configure-support-with-systemconfigdir-option.patch

--+
 0001-configure-support-with-systemconfigdir-option.patch |  147 -
 PKGBUILD |   36 +--
 2 files changed, 15 insertions(+), 168 deletions(-)

Deleted: 0001-configure-support-with-systemconfigdir-option.patch
===
--- 0001-configure-support-with-systemconfigdir-option.patch2022-01-20 
04:10:08 UTC (rev 245)
+++ 0001-configure-support-with-systemconfigdir-option.patch2022-01-20 
04:11:45 UTC (rev 246)
@@ -1,147 +0,0 @@
-From 2ac272e98690808aa33b5929bf33d4c1653671ae Mon Sep 17 00:00:00 2001
-From: Albert Chu 
-Date: Thu, 27 May 2021 22:44:03 -0700
-Subject: [PATCH] configure: support --with-systemconfigdir option
-

- ChangeLog   |  4 
- configure.ac| 16 
- etc/Makefile.am |  4 ++--
- etc/bmc-watchdog.init.in|  2 +-
- etc/bmc-watchdog.service.in |  2 +-
- freeipmi.spec.in| 14 +-
- 6 files changed, 37 insertions(+), 5 deletions(-)
-
-diff --git a/ChangeLog b/ChangeLog
-index b720fe6cb..edd3c4286 100644
 a/ChangeLog
-+++ b/ChangeLog
-@@ -1,3 +1,7 @@
-+2021-05-28 Albert Chu 
-+
-+  * configure.ac: Support --with-systemconfigdir option.
-+
- 2021-05-29 Heather Lemon 
- 
-   * libfreeipmi/sensor-read/ipmi-sensor-read.c: (LP#1926299)
-diff --git a/configure.ac b/configure.ac
-index 4fe8f6733..695f4b592 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -769,4 +769,20 @@ fi
- AM_CONDITIONAL(WITH_PKG_CONFIG, test -n "${pkgconfigdir}")
- AC_SUBST(pkgconfigdir)
- 
-+dnl Option for alternate system config dir
-+
-+AC_MSG_CHECKING(alternate system config dir)
-+AC_ARG_WITH(systemconfigdir,
-+  AS_HELP_STRING([--with-systemconfigdir=PATH],
-+   [where to install system config file]),
-+   [SYSTEMCONFIGDIR="${withval}"],
-+   [])
-+if test -n "${SYSTEMCONFIGDIR}"; then
-+  AC_MSG_RESULT(using ${SYSTEMCONFIGDIR})
-+else
-+  AC_MSG_RESULT(no)
-+SYSTEMCONFIGDIR="${X_SYSCONFDIR}/sysconfig"
-+fi
-+AC_SUBST(SYSTEMCONFIGDIR)
-+
- AC_OUTPUT
-diff --git a/etc/Makefile.am b/etc/Makefile.am
-index 571a7d5f5..5c023982f 100644
 a/etc/Makefile.am
-+++ b/etc/Makefile.am
-@@ -37,8 +37,8 @@ install-systemd-scripts: install-sysconfig
-   $(INSTALL) -m 644 $(srcdir)/ipmiseld.service 
$(DESTDIR)$(systemdsystemunitdir)/ipmiseld.service
- 
- install-sysconfig:
--  $(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/sysconfig
--  $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig 
$(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog
-+  $(INSTALL) -m 755 -d $(DESTDIR)@SYSTEMCONFIGDIR@
-+  $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig 
$(DESTDIR)@SYSTEMCONFIGDIR@/bmc-watchdog
- 
- uninstall-local: $(UNINSTALL_DAEMON_SCRIPTS)
-   $(RM) -f $(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog
-diff --git a/etc/bmc-watchdog.init.in b/etc/bmc-watchdog.init.in
-index 49cda4c60..a1207e6f7 100755
 a/etc/bmc-watchdog.init.in
-+++ b/etc/bmc-watchdog.init.in
-@@ -16,7 +16,7 @@
- DAEMON=@X_SBINDIR@/bmc-watchdog
- PIDFILE=@X_LOCALSTATEDIR@/run/bmc-watchdog.pid
- LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/bmc-watchdog
--CONFFILE=@X_SYSCONFDIR@/sysconfig/bmc-watchdog
-+CONFFILE=@SYSTEMCONFIGDIR@/bmc-watchdog
- 
- [ -f $DAEMON ] || exit 5
- 
-diff --git a/etc/bmc-watchdog.service.in b/etc/bmc-watchdog.service.in
-index 7044e5fb6..2e9ba6e19 100644
 a/etc/bmc-watchdog.service.in
-+++ b/etc/bmc-watchdog.service.in
-@@ -5,7 +5,7 @@ After=network.target
- [Service]
- Type=forking
- PIDFile=/run/bmc-watchdog.pid
--EnvironmentFile=-@X_SYSCONFDIR@/sysconfig/bmc-watchdog
-+EnvironmentFile=-@SYSTEMCONFIGDIR@/bmc-watchdog
- ExecStart=@X_SBINDIR@/bmc-watchdog $OPTIONS
- 
- [Install]
-diff --git a/freeipmi.spec.in b/freeipmi.spec.in
-index ebc3c950d..5e8ec2c13 100644
 a/freeipmi.spec.in
-+++ b/freeipmi.spec.in
-@@ -75,12 +75,17 @@ IPMI SEL syslog logging daemon.
-   %define _with_systemdsystemunitdir --with-systemdsystemunitdir=%{_unitdir}
- %endif
- 
-+%if %{?_systemconfigdir:0}%{!?_systemconfigdir:1}
-+  %define _systemconfigdir %{_sysconfdir}/sysconfig
-+%endif
-+
- %prep
- %setup -q
- 
- %build
- %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
-  %{?_with_systemdsystemunitdir} \
-+ --with-systemconfigdir=%{_systemconfigdir} \
-%{?_enable_debug} --disable-static
- CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
- 
-@@ -99,6 +104,7 @@ mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ipmidetectd 
$RPM_BUILD_ROOT/%{_initrddi
- mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ipmiseld 

[arch-commits] Commit in freeipmi/repos/community-x86_64 (5 files)

2022-01-19 Thread George Rawlinson via arch-commits
Date: Thursday, January 20, 2022 @ 04:12:31
  Author: grawlinson
Revision: 247

archrelease: copy trunk to community-x86_64

Added:
  freeipmi/repos/community-x86_64/PKGBUILD
(from rev 246, freeipmi/trunk/PKGBUILD)
  freeipmi/repos/community-x86_64/tmpfiles.conf
(from rev 246, freeipmi/trunk/tmpfiles.conf)
Deleted:
  
freeipmi/repos/community-x86_64/0001-configure-support-with-systemconfigdir-option.patch
  freeipmi/repos/community-x86_64/PKGBUILD
  freeipmi/repos/community-x86_64/tmpfiles.conf

--+
 0001-configure-support-with-systemconfigdir-option.patch |  147 -
 PKGBUILD |  144 ++--
 tmpfiles.conf|4 
 3 files changed, 71 insertions(+), 224 deletions(-)

Deleted: 0001-configure-support-with-systemconfigdir-option.patch
===
--- 0001-configure-support-with-systemconfigdir-option.patch2022-01-20 
04:11:45 UTC (rev 246)
+++ 0001-configure-support-with-systemconfigdir-option.patch2022-01-20 
04:12:31 UTC (rev 247)
@@ -1,147 +0,0 @@
-From 2ac272e98690808aa33b5929bf33d4c1653671ae Mon Sep 17 00:00:00 2001
-From: Albert Chu 
-Date: Thu, 27 May 2021 22:44:03 -0700
-Subject: [PATCH] configure: support --with-systemconfigdir option
-

- ChangeLog   |  4 
- configure.ac| 16 
- etc/Makefile.am |  4 ++--
- etc/bmc-watchdog.init.in|  2 +-
- etc/bmc-watchdog.service.in |  2 +-
- freeipmi.spec.in| 14 +-
- 6 files changed, 37 insertions(+), 5 deletions(-)
-
-diff --git a/ChangeLog b/ChangeLog
-index b720fe6cb..edd3c4286 100644
 a/ChangeLog
-+++ b/ChangeLog
-@@ -1,3 +1,7 @@
-+2021-05-28 Albert Chu 
-+
-+  * configure.ac: Support --with-systemconfigdir option.
-+
- 2021-05-29 Heather Lemon 
- 
-   * libfreeipmi/sensor-read/ipmi-sensor-read.c: (LP#1926299)
-diff --git a/configure.ac b/configure.ac
-index 4fe8f6733..695f4b592 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -769,4 +769,20 @@ fi
- AM_CONDITIONAL(WITH_PKG_CONFIG, test -n "${pkgconfigdir}")
- AC_SUBST(pkgconfigdir)
- 
-+dnl Option for alternate system config dir
-+
-+AC_MSG_CHECKING(alternate system config dir)
-+AC_ARG_WITH(systemconfigdir,
-+  AS_HELP_STRING([--with-systemconfigdir=PATH],
-+   [where to install system config file]),
-+   [SYSTEMCONFIGDIR="${withval}"],
-+   [])
-+if test -n "${SYSTEMCONFIGDIR}"; then
-+  AC_MSG_RESULT(using ${SYSTEMCONFIGDIR})
-+else
-+  AC_MSG_RESULT(no)
-+SYSTEMCONFIGDIR="${X_SYSCONFDIR}/sysconfig"
-+fi
-+AC_SUBST(SYSTEMCONFIGDIR)
-+
- AC_OUTPUT
-diff --git a/etc/Makefile.am b/etc/Makefile.am
-index 571a7d5f5..5c023982f 100644
 a/etc/Makefile.am
-+++ b/etc/Makefile.am
-@@ -37,8 +37,8 @@ install-systemd-scripts: install-sysconfig
-   $(INSTALL) -m 644 $(srcdir)/ipmiseld.service 
$(DESTDIR)$(systemdsystemunitdir)/ipmiseld.service
- 
- install-sysconfig:
--  $(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/sysconfig
--  $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig 
$(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog
-+  $(INSTALL) -m 755 -d $(DESTDIR)@SYSTEMCONFIGDIR@
-+  $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig 
$(DESTDIR)@SYSTEMCONFIGDIR@/bmc-watchdog
- 
- uninstall-local: $(UNINSTALL_DAEMON_SCRIPTS)
-   $(RM) -f $(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog
-diff --git a/etc/bmc-watchdog.init.in b/etc/bmc-watchdog.init.in
-index 49cda4c60..a1207e6f7 100755
 a/etc/bmc-watchdog.init.in
-+++ b/etc/bmc-watchdog.init.in
-@@ -16,7 +16,7 @@
- DAEMON=@X_SBINDIR@/bmc-watchdog
- PIDFILE=@X_LOCALSTATEDIR@/run/bmc-watchdog.pid
- LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/bmc-watchdog
--CONFFILE=@X_SYSCONFDIR@/sysconfig/bmc-watchdog
-+CONFFILE=@SYSTEMCONFIGDIR@/bmc-watchdog
- 
- [ -f $DAEMON ] || exit 5
- 
-diff --git a/etc/bmc-watchdog.service.in b/etc/bmc-watchdog.service.in
-index 7044e5fb6..2e9ba6e19 100644
 a/etc/bmc-watchdog.service.in
-+++ b/etc/bmc-watchdog.service.in
-@@ -5,7 +5,7 @@ After=network.target
- [Service]
- Type=forking
- PIDFile=/run/bmc-watchdog.pid
--EnvironmentFile=-@X_SYSCONFDIR@/sysconfig/bmc-watchdog
-+EnvironmentFile=-@SYSTEMCONFIGDIR@/bmc-watchdog
- ExecStart=@X_SBINDIR@/bmc-watchdog $OPTIONS
- 
- [Install]
-diff --git a/freeipmi.spec.in b/freeipmi.spec.in
-index ebc3c950d..5e8ec2c13 100644
 a/freeipmi.spec.in
-+++ b/freeipmi.spec.in
-@@ -75,12 +75,17 @@ IPMI SEL syslog logging daemon.
-   %define _with_systemdsystemunitdir --with-systemdsystemunitdir=%{_unitdir}
- %endif
- 
-+%if %{?_systemconfigdir:0}%{!?_systemconfigdir:1}
-+  %define _systemconfigdir %{_sysconfdir}/sysconfig
-+%endif
-+
- %prep
- %setup -q
- 
- %build
- %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
-  

[arch-commits] Commit in python-cfn-lint/repos/community-any (PKGBUILD PKGBUILD)

2022-01-19 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, January 20, 2022 @ 03:12:06
  Author: yan12125
Revision: 242

archrelease: copy trunk to community-any

Added:
  python-cfn-lint/repos/community-any/PKGBUILD
(from rev 241, python-cfn-lint/trunk/PKGBUILD)
Deleted:
  python-cfn-lint/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-20 03:11:53 UTC (rev 241)
+++ PKGBUILD2022-01-20 03:12:06 UTC (rev 242)
@@ -1,44 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-cfn-lint
-# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
-pkgver=0.56.4
-pkgrel=1
-pkgdesc='CloudFormation Linter'
-arch=(any)
-url='https://github.com/aws-cloudformation/cfn-lint'
-license=('custom:MIT No Attribution')
-depends=(python python-yaml python-six python-aws-sam-translator
- python-jsonpatch python-jsonschema python-networkx
- python-junit-xml python-jschema-to-python python-sarif-om)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-mock python-pydot)
-optdepends=(
-  'python-pydot: for building graphs from templates'
-)
-source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz;)
-sha256sums=('1fffd231feb358e5c93b325beddbe6b41dbc760a1ee9fed26398e45e45980c06')
-
-build() {
-  cd cfn-lint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd cfn-lint-$pkgver
-
-  # Tests in test/integration need the cfn-lint binary
-  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
-
-  export PYTHONPATH="$PWD/src"
-  export PATH="$PATH:$srcdir/tmp_install"
-  # test_update_docs requires cfn-lint as a git repo
-  pytest test -k 'not test_update_docs'
-}
-
-package() {
-  cd cfn-lint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 241, 
python-cfn-lint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-20 03:12:06 UTC (rev 242)
@@ -0,0 +1,45 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-cfn-lint
+# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
+pkgver=0.57.0
+pkgrel=1
+pkgdesc='CloudFormation Linter'
+arch=(any)
+url='https://github.com/aws-cloudformation/cfn-lint'
+license=('custom:MIT No Attribution')
+# python-six may be unnecessary in the next version 
https://github.com/aws-cloudformation/cfn-lint/pull/2204
+depends=(python python-yaml python-six python-aws-sam-translator
+ python-jsonpatch python-jsonschema python-networkx
+ python-junit-xml python-jschema-to-python python-sarif-om)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-pydot)
+optdepends=(
+  'python-pydot: for building graphs from templates'
+)
+source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz;)
+sha256sums=('12fa2816c5e04f1243b81133321aeab7ca8e16f00eba0a5daae24d4b9351156c')
+
+build() {
+  cd cfn-lint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cfn-lint-$pkgver
+
+  # Tests in test/integration need the cfn-lint binary
+  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
+
+  export PYTHONPATH="$PWD/src"
+  export PATH="$PATH:$srcdir/tmp_install"
+  # test_update_docs requires cfn-lint as a git repo
+  pytest test -k 'not test_update_docs'
+}
+
+package() {
+  cd cfn-lint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



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

2022-01-19 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, January 20, 2022 @ 03:11:53
  Author: yan12125
Revision: 241

upgpkg: python-cfn-lint 0.57.0-1

python-mock is no longer necessary after
https://github.com/aws-cloudformation/cfn-lint/pull/2190

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:07:51 UTC (rev 240)
+++ PKGBUILD2022-01-20 03:11:53 UTC (rev 241)
@@ -2,22 +2,23 @@
 
 pkgname=python-cfn-lint
 # https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
-pkgver=0.56.4
+pkgver=0.57.0
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
 url='https://github.com/aws-cloudformation/cfn-lint'
 license=('custom:MIT No Attribution')
+# python-six may be unnecessary in the next version 
https://github.com/aws-cloudformation/cfn-lint/pull/2204
 depends=(python python-yaml python-six python-aws-sam-translator
  python-jsonpatch python-jsonschema python-networkx
  python-junit-xml python-jschema-to-python python-sarif-om)
 makedepends=(python-setuptools)
-checkdepends=(python-pytest python-mock python-pydot)
+checkdepends=(python-pytest python-pydot)
 optdepends=(
   'python-pydot: for building graphs from templates'
 )
 
source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz;)
-sha256sums=('1fffd231feb358e5c93b325beddbe6b41dbc760a1ee9fed26398e45e45980c06')
+sha256sums=('12fa2816c5e04f1243b81133321aeab7ca8e16f00eba0a5daae24d4b9351156c')
 
 build() {
   cd cfn-lint-$pkgver



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:07:51
  Author: felixonmars
Revision: 240

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 239, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:07:51 UTC (rev 240)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.3.0.0
+pkgrel=73
+pkgdesc="LSP server for GHC"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-gitrev'
+ 'haskell-hashable' 'haskell-hie-bios' 'haskell-hiedb'
+ 'haskell-hls-call-hierarchy-plugin' 'haskell-hls-eval-plugin'
+ 'haskell-hls-explicit-imports-plugin' 'haskell-hls-floskell-plugin'
+ 'haskell-hls-fourmolu-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-graph'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin'
+ 'haskell-hls-module-name-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-pragmas-plugin'
+ 'haskell-hls-retrie-plugin' 'haskell-hls-stylish-haskell-plugin'
+ 'haskell-hslogger' 'haskell-lens' 'haskell-lsp' 
'haskell-optparse-applicative'
+ 'haskell-optparse-simple' 'haskell-regex-tdfa' 
'haskell-safe-exceptions'
+ 'haskell-sqlite-simple' 'haskell-temporary' 
'haskell-unordered-containers')
+# Disabled due to not compatible with GHC 9:
+# 'haskell-hls-brittany-plugin' 'haskell-hls-class-plugin' 
'haskell-hls-splice-plugin' 'haskell-hls-tactics-plugin' 
'haskell-hls-refine-imports-plugin'
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 
'haskell-hspec-expectations' 'haskell-lsp-test'
+ 'haskell-lsp-types')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('2938c4eaf8e2fef72ddf0e116e021b109ab69c4cdd48dc678cb93cd08e03e7f2abf3aaf1dea17a51dd8cb70f69db7ceba9823291d847ffe8bd0c990028fd6da4')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+  uusi -u ghc-api-compat $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -f-brittany -f-class -f-refineImports -f-tactic 
-f-splice
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  
PATH="$PWD/dist/build/haskell-language-server:$PWD/dist/build/haskell-language-server-wrapper:$PATH"
 LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-module-name-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:05:33
  Author: felixonmars
Revision: 238

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 237, haskell-hls-module-name-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 237, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:05:33 UTC (rev 238)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.1
+pkgrel=64
+pkgdesc="Module name plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-module-name-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0a4d0171df49d2d417dac00853a9f0c58618efb7a5805ab3b95441f0d8c60872947935ca94b33ca75518e311a136a893f0e3744fc49cdb94fba6f55367f3c0be')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:07:43
  Author: felixonmars
Revision: 239

upgpkg: haskell-language-server 1.3.0.0-73: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:05:33 UTC (rev 238)
+++ PKGBUILD2022-01-20 03:07:43 UTC (rev 239)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.3.0.0
-pkgrel=72
+pkgrel=73
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



[arch-commits] Commit in haskell-hls-call-hierarchy-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:04:53
  Author: felixonmars
Revision: 236

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/
  haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 235, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 235, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:04:53 UTC (rev 236)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-call-hierarchy-plugin
+pkgname=haskell-hls-call-hierarchy-plugin
+pkgver=1.0.0.0
+pkgrel=64
+pkgdesc="Call hierarchy plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hiedb' 'haskell-hls-plugin-api' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-sqlite-simple' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4b3103a98ec57c9f050ffd1c534a0e23b1bfcbe78dda441c351b874939ce34a8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-module-name-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:05:26
  Author: felixonmars
Revision: 237

upgpkg: haskell-hls-module-name-plugin 1.0.0.1-64: rebuild with cabal-doctest 
1.0.9

Modified:
  haskell-hls-module-name-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:04:53 UTC (rev 236)
+++ PKGBUILD2022-01-20 03:05:26 UTC (rev 237)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.1
-pkgrel=63
+pkgrel=64
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-floskell-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:03:59
  Author: felixonmars
Revision: 234

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-floskell-plugin/repos/community-staging-x86_64/
  haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 233, haskell-hls-floskell-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 233, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:03:59 UTC (rev 234)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.1
+pkgrel=64
+pkgdesc="Integration with the Floskell code formatter"
+url="https://hackage.haskell.org/package/hls-floskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-floskell' 'haskell-ghcide' 
'haskell-hls-plugin-api' 'haskell-lsp-types')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0f420355b67447426e77f149a5cf735f613b2c863b08f625e0a0d91a33bcf565684d702f67743ef9d50eaa235551c30c76743fedd78ead9fbed429e838acf113')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-floskell-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:03:51
  Author: felixonmars
Revision: 233

upgpkg: haskell-hls-floskell-plugin 1.0.0.1-64: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-floskell-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:03:18 UTC (rev 232)
+++ PKGBUILD2022-01-20 03:03:51 UTC (rev 233)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.1
-pkgrel=63
+pkgrel=64
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-ormolu-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:03:10
  Author: felixonmars
Revision: 231

upgpkg: haskell-hls-ormolu-plugin 1.0.1.0-67: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-ormolu-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:02:40 UTC (rev 230)
+++ PKGBUILD2022-01-20 03:03:10 UTC (rev 231)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.1.0
-pkgrel=66
+pkgrel=67
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-call-hierarchy-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:04:46
  Author: felixonmars
Revision: 235

upgpkg: haskell-hls-call-hierarchy-plugin 1.0.0.0-64: rebuild with 
cabal-doctest 1.0.9

Modified:
  haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:03:59 UTC (rev 234)
+++ PKGBUILD2022-01-20 03:04:46 UTC (rev 235)
@@ -3,7 +3,7 @@
 _hkgname=hls-call-hierarchy-plugin
 pkgname=haskell-hls-call-hierarchy-plugin
 pkgver=1.0.0.0
-pkgrel=63
+pkgrel=64
 pkgdesc="Call hierarchy plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-fourmolu-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:02:40
  Author: felixonmars
Revision: 230

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/
  haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 229, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 229, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:02:40 UTC (rev 230)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-fourmolu-plugin
+pkgname=haskell-hls-fourmolu-plugin
+pkgver=1.0.0.2
+pkgrel=68
+pkgdesc="Integration with the Fourmolu code formatter"
+url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-fourmolu' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-ghc-api-compat')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('88a92c70c34d14699bcc19e7d1ff061955c4e9a6819f32c5b46d8b31d1d1f06b12be65bb84ede6046601a6d8daafcb8fc65725ceb3fc67e7afeef4097094ed46')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-ormolu-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:03:18
  Author: felixonmars
Revision: 232

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-ormolu-plugin/repos/community-staging-x86_64/
  haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 231, haskell-hls-ormolu-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 231, haskell-hls-ormolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:03:18 UTC (rev 232)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-ormolu-plugin
+pkgname=haskell-hls-ormolu-plugin
+pkgver=1.0.1.0
+pkgrel=67
+pkgdesc="Integration with the Ormolu code formatter"
+url="https://hackage.haskell.org/package/hls-ormolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 
'haskell-ormolu')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('330242298e6c4608d31bb0eac3ef926cfd7d5ff2bd07ab57cd46a1904c133322181e2e35da3beb01f1f97efd466d653d12a3563939fe86e70d820301aca52661')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-fourmolu-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:02:33
  Author: felixonmars
Revision: 229

upgpkg: haskell-hls-fourmolu-plugin 1.0.0.2-68: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-fourmolu-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:02:01 UTC (rev 228)
+++ PKGBUILD2022-01-20 03:02:33 UTC (rev 229)
@@ -3,7 +3,7 @@
 _hkgname=hls-fourmolu-plugin
 pkgname=haskell-hls-fourmolu-plugin
 pkgver=1.0.0.2
-pkgrel=67
+pkgrel=68
 pkgdesc="Integration with the Fourmolu code formatter"
 url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-eval-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:00:44
  Author: felixonmars
Revision: 224

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-eval-plugin/repos/community-staging-x86_64/
  haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 223, haskell-hls-eval-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 223, haskell-hls-eval-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:00:44 UTC (rev 224)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-eval-plugin
+pkgname=haskell-hls-eval-plugin
+pkgver=1.1.2.0
+pkgrel=65
+pkgdesc="Eval plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-ghcide'
+ 'haskell-hashable' 'haskell-hls-plugin-api' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-megaparsec' 'haskell-parser-combinators'
+ 'haskell-pretty-simple' 'haskell-safe-exceptions' 'haskell-temporary' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('8597144404060b56aa84d2a6549306924de6aa99ff8fa121f0a3e6fbf2facc979e36dc9304fd041833201044f59e1745574eb1a1e3459b22baf0fae3f40d96e1')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  # https://github.com/haskell/haskell-language-server/issues/1809
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-haddock-comments-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:01:22
  Author: felixonmars
Revision: 226

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 225, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 225, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:01:22 UTC (rev 226)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.3
+pkgrel=64
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0bc705b51d86d400c2f843330be5ffa9064726da64644cbc1a4c2fead1caaec5812c35ef499877aa9d07417c3854c933187dd227cd8c90f54042ead07f38bcc7')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:02:01
  Author: felixonmars
Revision: 228

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 227, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 03:02:01 UTC (rev 228)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.2
+pkgrel=65
+pkgdesc="Integration with the Stylish Haskell code formatter"
+url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d850d4be6cc746b6279512bb359efda197aeebd467a59a21670f3b95977c6ba086852dedde3c48171f0cff8405c8e340dea44fe3e187e4731a06eb112502ad9c')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:01:54
  Author: felixonmars
Revision: 227

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.2-65: rebuild with 
cabal-doctest 1.0.9

Modified:
  haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:01:22 UTC (rev 226)
+++ PKGBUILD2022-01-20 03:01:54 UTC (rev 227)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.2
-pkgrel=64
+pkgrel=65
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-haddock-comments-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:01:15
  Author: felixonmars
Revision: 225

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.3-64: rebuild with 
cabal-doctest 1.0.9

Modified:
  haskell-hls-haddock-comments-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 03:00:44 UTC (rev 224)
+++ PKGBUILD2022-01-20 03:01:15 UTC (rev 225)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.3
-pkgrel=63
+pkgrel=64
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



[arch-commits] Commit in haskell-hls-pragmas-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:59:37
  Author: felixonmars
Revision: 222

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-pragmas-plugin/repos/community-staging-x86_64/
  haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 221, haskell-hls-pragmas-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 221, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:59:37 UTC (rev 222)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.1.0
+pkgrel=64
+pkgdesc="Pragmas plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-pragmas-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-fuzzy' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bf284033b7d2c3491b655ca32a7a791a4e62c838a4caafea36e28844052b2a192cf39d97ae1415a698ea22d7ffcc5f0290c37a91bba841b93c1ceabe089d7e07')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-eval-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 03:00:36
  Author: felixonmars
Revision: 223

upgpkg: haskell-hls-eval-plugin 1.1.2.0-65: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-eval-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:59:37 UTC (rev 222)
+++ PKGBUILD2022-01-20 03:00:36 UTC (rev 223)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.1.2.0
-pkgrel=64
+pkgrel=65
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:58:07
  Author: felixonmars
Revision: 220

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 219, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:58:07 UTC (rev 220)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=94
+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-fast-logger' 
'haskell-gitrev' 'haskell-hasql'
+ 'haskell-hasql-dynamic-statements' 'haskell-hasql-notifications' 
'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-logger' 
'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u hspec -u lens -u retry $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgrest_test
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test 
--show-details=direct
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+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 haskell-hls-pragmas-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:59:30
  Author: felixonmars
Revision: 221

upgpkg: haskell-hls-pragmas-plugin 1.0.1.0-64: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-pragmas-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:58:07 UTC (rev 220)
+++ PKGBUILD2022-01-20 02:59:30 UTC (rev 221)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.1.0
-pkgrel=63
+pkgrel=64
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin;
 license=("Apache")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:57:59
  Author: felixonmars
Revision: 219

upgpkg: postgrest 8.0.0-94: rebuild with cabal-doctest 1.0.9

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:56:13 UTC (rev 218)
+++ PKGBUILD2022-01-20 02:57:59 UTC (rev 219)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=93
+pkgrel=94
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



[arch-commits] Commit in haskell-hls-explicit-imports-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:56:13
  Author: felixonmars
Revision: 218

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 217, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 217, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:56:13 UTC (rev 218)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.1.0
+pkgrel=64
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghcide'
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('7691ecc341fb511e51ccb6c1f67cd6f3c908f771b62423d7713d05bf13893b7ac53ae9c453ab8b6ca227ed8c9b42191cd30b9745b57f00c51f3f3646954955b8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-explicit-imports-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:56:05
  Author: felixonmars
Revision: 217

upgpkg: haskell-hls-explicit-imports-plugin 1.0.1.0-64: rebuild with 
cabal-doctest 1.0.9

Modified:
  haskell-hls-explicit-imports-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:55:38 UTC (rev 216)
+++ PKGBUILD2022-01-20 02:56:05 UTC (rev 217)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.1.0
-pkgrel=63
+pkgrel=64
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:54:45
  Author: felixonmars
Revision: 213

upgpkg: haskell-hls-hlint-plugin 1.0.1.1-64: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-hlint-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:54:13 UTC (rev 212)
+++ PKGBUILD2022-01-20 02:54:45 UTC (rev 213)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.1
-pkgrel=63
+pkgrel=64
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin;
 license=("Apache")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:54:13
  Author: felixonmars
Revision: 212

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-test-utils/repos/community-staging-x86_64/
  haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 211, haskell-hls-test-utils/trunk/PKGBUILD)

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

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 211, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:54:13 UTC (rev 212)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.1.0.0
+pkgrel=65
+pkgdesc="Utilities used in the tests of Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghcide' 'haskell-hls-graph' 
'haskell-hls-plugin-api'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('08bb01af48a07b37c6d99c6da42341147259ee3f26aef4737a796a62fabbe9600464fdecb3ae4908a4df24e044abf786bcf30103b15b8d7c72f12f9a0c07fcb5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:54:53
  Author: felixonmars
Revision: 214

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 213, haskell-hls-hlint-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 213, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:54:53 UTC (rev 214)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.1.1
+pkgrel=64
+pkgdesc="Hlint integration plugin with Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-hlint-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-apply-refact' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide' 'haskell-hashable'
+ 'hlint' 'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-regex-tdfa' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0bed7570e2b543f482f123e2ce19d4a5c5d712bde7875e97e1c4fc6eda481752e4d65f8cd4a998634ac3e85a7ce737f3ef849959d77e1c9f814ddf039f33b807')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -fhlint33
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:54:05
  Author: felixonmars
Revision: 211

upgpkg: haskell-hls-test-utils 1.1.0.0-65: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-test-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:53:31 UTC (rev 210)
+++ PKGBUILD2022-01-20 02:54:05 UTC (rev 211)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.1.0.0
-pkgrel=64
+pkgrel=65
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



[arch-commits] Commit in haskell-hls-retrie-plugin/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:55:30
  Author: felixonmars
Revision: 215

upgpkg: haskell-hls-retrie-plugin 1.0.1.1-64: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-retrie-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:54:53 UTC (rev 214)
+++ PKGBUILD2022-01-20 02:55:30 UTC (rev 215)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.1
-pkgrel=63
+pkgrel=64
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-retrie-plugin/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:55:38
  Author: felixonmars
Revision: 216

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-retrie-plugin/repos/community-staging-x86_64/
  haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 215, haskell-hls-retrie-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 215, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:55:38 UTC (rev 216)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.1.1
+pkgrel=64
+pkgdesc="Retrie integration plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-retrie-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hashable' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-retrie' 'haskell-safe-exceptions'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d5059c9d1e5af9acf1a9842c76270400076f2eb168a2dfd61961cb5328c72e4aaf14ad9a1543a3729d87800d658b941e1daaa15a1bd628d3d72657499dd47488')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:53:24
  Author: felixonmars
Revision: 209

upgpkg: hledger-web 1.24.1-18: rebuild with cabal-doctest 1.0.9

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:52:33 UTC (rev 208)
+++ PKGBUILD2022-01-20 02:53:24 UTC (rev 209)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.24.1
-pkgrel=17
+pkgrel=18
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:53:31
  Author: felixonmars
Revision: 210

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

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 209, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:53:31 UTC (rev 210)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.24.1
+pkgrel=18
+pkgdesc="Web-based user interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-base64'
+ '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-hspec' 'haskell-http-conduit' 'haskell-http-client' 
'haskell-http-types'
+ 'haskell-megaparsec' 'haskell-network' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' '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' 
'haskell-yesod-test')
+makedepends=('ghc' 'uusi')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('49e6292faad4a1311d1af950a98a546e6ec61f5dfa97539e62a806e63bbd43351861ab4c45f8eb7284e98367fb92e206a217e998c6572ca8b2f37e91bb93daaf')
+
+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" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-dev -f-library-only -fthreaded
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger-web.1 -t "$pkgdir"/usr/share/man/man1/
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:52:25
  Author: felixonmars
Revision: 207

upgpkg: tamarin-prover 1.6.1-71: rebuild with cabal-doctest 1.0.9

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:51:39 UTC (rev 206)
+++ PKGBUILD2022-01-20 02:52:25 UTC (rev 207)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.1
-pkgrel=70
+pkgrel=71
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:52:33
  Author: felixonmars
Revision: 208

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
207, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:52:33 UTC (rev 208)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.6.1
+pkgrel=71
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="https://tamarin-prover.github.io;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 
'haskell-binary-orphans' 'haskell-binary-instances'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-resourcet' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-threads' 'haskell-wai' 'haskell-warp' 
'haskell-yesod-core'
+ 'haskell-yesod-static' 'haskell-tamarin-prover-utils' 
'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory' 'haskell-tamarin-prover-sapic')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml>=4.13.1')
+source=("https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver/tamarin-prover-$pkgver.tar.gz;)
+sha512sums=('dc6b91b1669055913a0aefc9a969812bf252185480fbf67588e7458289b1e1b64bf0729e9bee043513ecd5a57cd0c9477512e80861c6956c08b5e29d90211f62')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+
+cd plugins/sapic
+make -j1
+}
+
+check() {
+cd $pkgname-$pkgver
+LD_LIBRARY_PATH="$PWD"/dist/build dist/build/tamarin-prover/tamarin-prover 
test
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/syntax/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+ln -s spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}



[arch-commits] Commit in haskell-hasql-dynamic-statements/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:48:16
  Author: felixonmars
Revision: 202

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-dynamic-statements/repos/community-staging-x86_64/
  haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD
(from rev 201, haskell-hasql-dynamic-statements/trunk/PKGBUILD)

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

Copied: 
haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD (from 
rev 201, haskell-hasql-dynamic-statements/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:48:16 UTC (rev 202)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-dynamic-statements
+pkgname=haskell-hasql-dynamic-statements
+pkgver=0.3.1
+pkgrel=57
+pkgdesc="Toolkit for constructing Hasql statements dynamically"
+url="https://github.com/nikita-volkov/hasql-dynamic-statements;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-implicits' 'haskell-ptr')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0c7a7c01c9bd01ad15655635e8bbded57198ba0515b1e72391a27930bb5b45bb')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  runhaskell Setup test --show-details=direct
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:51:39
  Author: felixonmars
Revision: 206

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 205, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 205, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:51:39 UTC (rev 206)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20210803
+pkgrel=96
+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-criterion' 'haskell-crypto-api' 'haskell-cryptonite' 
'haskell-data-default'
+ 'haskell-dav' 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist'
+ 'haskell-edit-distance' 'haskell-fdo-notify' 'haskell-feed' 
'haskell-filepath-bytestring'
+ 'haskell-git-lfs' 'haskell-hinotify' 'haskell-http-client' 
'haskell-http-client-restricted'
+ '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-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' 'uusi')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd git-annex
+  # persistent-template was merged into persistent
+  uusi -d persistent-template git-annex.cabal
+  sed -i 's/MIN_VERSION_persistent_template/MIN_VERSION_persistent/' 
Database/ContentIdentifier.hs Database/Export.hs Database/Fsck.hs 
Database/Keys/SQL.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 BUILDEROPTIONS=$MAKEFLAGS
+}
+
+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 haskell-hasql-notifications/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:49:00
  Author: felixonmars
Revision: 203

upgpkg: haskell-hasql-notifications 0.2.0.0-59: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hasql-notifications/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:48:16 UTC (rev 202)
+++ PKGBUILD2022-01-20 02:49:00 UTC (rev 203)
@@ -3,7 +3,7 @@
 _hkgname=hasql-notifications
 pkgname=haskell-hasql-notifications
 pkgver=0.2.0.0
-pkgrel=58
+pkgrel=59
 pkgdesc="LISTEN/NOTIFY support for Hasql"
 url="https://github.com/diogob/hasql-notifications;
 license=("BSD")



[arch-commits] Commit in haskell-hasql-dynamic-statements/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:48:05
  Author: felixonmars
Revision: 201

upgpkg: haskell-hasql-dynamic-statements 0.3.1-57: rebuild with cabal-doctest 
1.0.9

Modified:
  haskell-hasql-dynamic-statements/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:47:30 UTC (rev 200)
+++ PKGBUILD2022-01-20 02:48:05 UTC (rev 201)
@@ -3,7 +3,7 @@
 _hkgname=hasql-dynamic-statements
 pkgname=haskell-hasql-dynamic-statements
 pkgver=0.3.1
-pkgrel=56
+pkgrel=57
 pkgdesc="Toolkit for constructing Hasql statements dynamically"
 url="https://github.com/nikita-volkov/hasql-dynamic-statements;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:00:41
  Author: felixonmars
Revision: 137

upgpkg: haskell-deque 0.4.4-26: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-deque/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:00:11 UTC (rev 136)
+++ PKGBUILD2022-01-20 02:00:41 UTC (rev 137)
@@ -3,7 +3,7 @@
 _hkgname=deque
 pkgname=haskell-deque
 pkgver=0.4.4
-pkgrel=25
+pkgrel=26
 pkgdesc="Double-ended queues"
 url="https://github.com/nikita-volkov/deque;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:49:10
  Author: felixonmars
Revision: 204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-notifications/repos/community-staging-x86_64/
  haskell-hasql-notifications/repos/community-staging-x86_64/PKGBUILD
(from rev 203, haskell-hasql-notifications/trunk/PKGBUILD)

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

Copied: haskell-hasql-notifications/repos/community-staging-x86_64/PKGBUILD 
(from rev 203, haskell-hasql-notifications/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:49:10 UTC (rev 204)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-notifications
+pkgname=haskell-hasql-notifications
+pkgver=0.2.0.0
+pkgrel=59
+pkgdesc="LISTEN/NOTIFY support for Hasql"
+url="https://github.com/diogob/hasql-notifications;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-postgresql-libpq')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b133e38b7a27e66385332791bb03c4a3cf4f85994412318d08cd820577db3ffe')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  createdb hasql_notifications_test
+  runhaskell Setup test --show-details=direct
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:01:16
  Author: felixonmars
Revision: 139

upgpkg: dhall-bash 1.0.39-12: rebuild with cabal-doctest 1.0.9

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:00:48 UTC (rev 138)
+++ PKGBUILD2022-01-20 02:01:16 UTC (rev 139)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.39
-pkgrel=11
+pkgrel=12
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:51:29
  Author: felixonmars
Revision: 205

upgpkg: git-annex 8.20210803-96: rebuild with cabal-doctest 1.0.9

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:49:10 UTC (rev 204)
+++ PKGBUILD2022-01-20 02:51:29 UTC (rev 205)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210803
-pkgrel=95
+pkgrel=96
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:47:30
  Author: felixonmars
Revision: 200

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
199, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:47:30 UTC (rev 200)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.4.1.0
+pkgrel=64
+pkgdesc="The core of an IDE"
+url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-async' 'haskell-base16-bytestring' 
'haskell-bytestring-encoding'
+ 'haskell-case-insensitive' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-dependent-sum' 'haskell-dlist' 
'haskell-extra'
+ 'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghc-check' 'haskell-ghc-exactprint' 'haskell-ghc-paths' 
'haskell-ghc-trace-events'
+ 'haskell-gitrev' 'haskell-haddock-library' 'haskell-hashable' 
'haskell-heapsize'
+ 'haskell-hie-bios' 'haskell-hie-compat' 'haskell-hiedb' 
'haskell-hls-graph'
+ 'haskell-hls-plugin-api' 'haskell-hslogger' 
'haskell-implicit-hie-cradle' 'haskell-lens'
+ 'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 
'haskell-network-uri'
+ 'haskell-opentelemetry' 'haskell-optparse-applicative' 
'haskell-parallel'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-regex-tdfa'
+ 'haskell-retrie' 'haskell-rope-utf16-splay' 'haskell-safe' 
'haskell-safe-exceptions'
+ 'haskell-sorted-list' 'haskell-sqlite-simple' 'haskell-syb' 
'haskell-unliftio'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-ghc-typelits-knownnat'
+ 'haskell-implicit-hie' 'haskell-quickcheck-instances' 
'haskell-record-dot-preprocessor'
+ 'haskell-record-hasfield' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('cea048a756cef35df6d90137b3cd70567cfbad485d4858a86e502770813c1e85e18f9971c46a9c8f25cca46445677343cbf57d6e43009848434bca1721b5f036')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+
+  uusi -u extra -r ghc:ghc,ghc-api-compat -u hiedb $_hkgname.cabal
+
+  # extra 1.7.10
+  sed -i "s/hiding (modifyVar, modifyVar_)/hiding (modifyVar, modifyVar_, 
modifyVar')/" src/Control/Concurrent/Strict.hs
+
+  # TODO: Skipped some broken tests for now
+  sed -i '/, benchmarkTests/d;/, findDefinitionAndHoverTests/d;/, 
bootTests/d;s/, simpleMultiDefTest//;s/echo A.hs/echo -dynamic > 
$HIE_BIOS_OUTPUT/' test/exe/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update
+  # Random test failures "Received an illegal message between the initialize 
request and response"
+  # th-linking-test-unboxed always fails too
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/ghcide-test-preprocessor:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f 

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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:00:48
  Author: felixonmars
Revision: 138

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-deque/repos/community-staging-x86_64/PKGBUILD (from rev 
137, haskell-deque/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:00:48 UTC (rev 138)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deque
+pkgname=haskell-deque
+pkgver=0.4.4
+pkgrel=26
+pkgdesc="Double-ended queues"
+url="https://github.com/nikita-volkov/deque;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-strict-list')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('8c771c3906235b6c9d46c96c0c40126cfaef763df59407c87c95431ae34a8b3f051840243b2439a65e9a8f2683c1d884e72d8b716c90246d1c82d0e9e7592047')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:00:11
  Author: felixonmars
Revision: 136

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 135, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:00:11 UTC (rev 136)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.4.1
+pkgrel=48
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-binary-parser' 
'haskell-bytestring-strict-builder'
+ 'haskell-network-ip' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd1357c1c282d7f906ef1e5af8d47403a24cc31169abee4b559fd2f605bf00a32c710e49fe5f23fc5695662968ea70b2c4ad7339bee43de41cecaa1c4172820f')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 01:59:19
  Author: felixonmars
Revision: 134

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-text-builder/repos/community-staging-x86_64/
  haskell-text-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 133, haskell-text-builder/trunk/PKGBUILD)

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

Copied: haskell-text-builder/repos/community-staging-x86_64/PKGBUILD (from rev 
133, haskell-text-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 01:59:19 UTC (rev 134)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-builder
+pkgname=haskell-text-builder
+pkgver=0.6.6.3
+pkgrel=30
+pkgdesc="An efficient strict text builder"
+url="https://github.com/nikita-volkov/text-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-deferred-folds')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('7dcaa13903a456738df846b6fbfb5dd679717d37e4e78d48af17609e92bfd0eaf60f1ba15ce2c50b9ddc709622871abc1d91b8cde94573f7d096824ee6eee375')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:00:04
  Author: felixonmars
Revision: 135

upgpkg: haskell-postgresql-binary 0.12.4.1-48: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 01:59:19 UTC (rev 134)
+++ PKGBUILD2022-01-20 02:00:04 UTC (rev 135)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.4.1
-pkgrel=47
+pkgrel=48
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 01:59:11
  Author: felixonmars
Revision: 133

upgpkg: haskell-text-builder 0.6.6.3-30: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-text-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 01:58:44 UTC (rev 132)
+++ PKGBUILD2022-01-20 01:59:11 UTC (rev 133)
@@ -3,7 +3,7 @@
 _hkgname=text-builder
 pkgname=haskell-text-builder
 pkgver=0.6.6.3
-pkgrel=29
+pkgrel=30
 pkgdesc="An efficient strict text builder"
 url="https://github.com/nikita-volkov/text-builder;
 license=('MIT')



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:47:22
  Author: felixonmars
Revision: 199

upgpkg: haskell-ghcide 1.4.1.0-64: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:33:24 UTC (rev 198)
+++ PKGBUILD2022-01-20 02:47:22 UTC (rev 199)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.1.0
-pkgrel=63
+pkgrel=64
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
 license=("Apache")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 01:58:44
  Author: felixonmars
Revision: 132

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
131, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 01:58:44 UTC (rev 132)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.6
+pkgrel=15
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c9a833e9d56fa0d1ab87be54e3a7b23f4bb93f737ff74d4f99356fcd14ef54afea7db58d3a4b1fd4b382a23ab9153f95ceb4397f03a5c32e4e71355a9e46541c')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:33:24
  Author: felixonmars
Revision: 198

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 197, haskell-yesod-static/trunk/PKGBUILD)

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
197, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:33:24 UTC (rev 198)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=365
+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-rio' 
'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=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:33:17
  Author: felixonmars
Revision: 197

upgpkg: haskell-yesod-static 1.6.1.0-365: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:32:32 UTC (rev 196)
+++ PKGBUILD2022-01-20 02:33:17 UTC (rev 197)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=364
+pkgrel=365
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:31:55
  Author: felixonmars
Revision: 194

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-pool/repos/community-staging-x86_64/
  haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD
(from rev 193, haskell-hasql-pool/trunk/PKGBUILD)

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
193, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:31:55 UTC (rev 194)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.2
+pkgrel=288
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5609f05134a259826e17a7391d3324f1d2b474cd83082e4f67175086da1e481a1a75b336932a97371b32e7427e869498bb87af3f7c6246225698e8ceef1aa372')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+#runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+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-hasql-transaction/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:32:25
  Author: felixonmars
Revision: 195

upgpkg: haskell-hasql-transaction 1.0.1-75: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:31:55 UTC (rev 194)
+++ PKGBUILD2022-01-20 02:32:25 UTC (rev 195)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.1
-pkgrel=74
+pkgrel=75
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction;
 license=('MIT')



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:31:48
  Author: felixonmars
Revision: 193

upgpkg: haskell-hasql-pool 0.5.2-288: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:31:22 UTC (rev 192)
+++ PKGBUILD2022-01-20 02:31:48 UTC (rev 193)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2
-pkgrel=287
+pkgrel=288
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool;
 license=('MIT')



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:32:32
  Author: felixonmars
Revision: 196

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-transaction/repos/community-staging-x86_64/
  haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD
(from rev 195, haskell-hasql-transaction/trunk/PKGBUILD)

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

Copied: haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD (from 
rev 195, haskell-hasql-transaction/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:32:32 UTC (rev 196)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-transaction
+pkgname=haskell-hasql-transaction
+pkgver=1.0.1
+pkgrel=75
+pkgdesc="A composable abstraction over the retryable transactions for Hasql"
+url="https://github.com/nikita-volkov/hasql-transaction;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bytestring-tree-builder' 'haskell-contravariant'
+ 'haskell-contravariant-extras' 'haskell-hasql')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('92689f9ffd443e9fcce5c024871492774687c98a7b906040af4f175e268f77e9dfa5520e8d95b056bd0ed264a63e5d38d0aa8759ec7e0ba9ebd697262428b8f4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' conflicts-test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+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-hasql-implicits/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:31:22
  Author: felixonmars
Revision: 192

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-implicits/repos/community-staging-x86_64/
  haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD
(from rev 191, haskell-hasql-implicits/trunk/PKGBUILD)

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

Copied: haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD (from 
rev 191, haskell-hasql-implicits/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:31:22 UTC (rev 192)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-implicits
+pkgname=haskell-hasql-implicits
+pkgver=0.1.0.2
+pkgrel=57
+pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
+url="https://github.com/nikita-volkov/hasql-implicits;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hasql' 'haskell-network-ip' 
'haskell-scientific'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('2788d365dd9d0c4826562472b577ac3715043f3a722ef7c21aaed754f122e74d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:31:15
  Author: felixonmars
Revision: 191

upgpkg: haskell-hasql-implicits 0.1.0.2-57: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hasql-implicits/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:30:08 UTC (rev 190)
+++ PKGBUILD2022-01-20 02:31:15 UTC (rev 191)
@@ -3,7 +3,7 @@
 _hkgname=hasql-implicits
 pkgname=haskell-hasql-implicits
 pkgver=0.1.0.2
-pkgrel=56
+pkgrel=57
 pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
 url="https://github.com/nikita-volkov/hasql-implicits;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:30:08
  Author: felixonmars
Revision: 190

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ci/repos/community-staging-x86_64/PKGBUILD (from rev 189, 
haskell-ci/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:30:08 UTC (rev 190)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-ci
+pkgname=haskell-ci
+pkgver=0.12.1
+pkgrel=117
+pkgdesc="Cabal package script generator for Travis-CI"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-cryptohash-sha256'
+ 'haskell-generic-lens-lite' 'haskell-hsyaml' 
'haskell-indexed-traversable'
+ 'haskell-indexed-traversable-instances' 'haskell-ini' 
'haskell-lattices'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 'shellcheck' 
'haskell-temporary'
+ 'haskell-unordered-containers' 'haskell-zinza')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-ansi-terminal' 
'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d93a6b8e880255469b34b568320659802252379f0c5486ed315b366fd07dae935a480047468912bc5a397b9e55b00ea964451790f963d05b8df1d426d871da1c')
+
+prepare(){
+  uusi -u attoparsec -u ShellCheck $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-ci/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:30:01
  Author: felixonmars
Revision: 189

upgpkg: haskell-ci 0.12.1-117: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:29:14 UTC (rev 188)
+++ PKGBUILD2022-01-20 02:30:01 UTC (rev 189)
@@ -3,7 +3,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=116
+pkgrel=117
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:29:14
  Author: felixonmars
Revision: 188

archrelease: copy trunk to community-staging-x86_64

Added:
  arch-hs/repos/community-staging-x86_64/
  arch-hs/repos/community-staging-x86_64/PKGBUILD
(from rev 187, arch-hs/trunk/PKGBUILD)

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 187, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:29:14 UTC (rev 188)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.9.1.0
+pkgrel=102
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('aa7b011dd2753b596df53f4adce4a131ef42fffe37eb5bfd815678b1d34bc87f83f1af36a9fc9db34b5c7d5b68e48120bab7abedfe92e0cc7530feba91c04f83')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u megaparsec $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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-sync"
+}
+
+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
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-sync"
+} 



[arch-commits] Commit in haskell-hls-plugin-api/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:28:07
  Author: felixonmars
Revision: 186

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-plugin-api/repos/community-staging-x86_64/
  haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD
(from rev 185, haskell-hls-plugin-api/trunk/PKGBUILD)

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 185, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:28:07 UTC (rev 186)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.2.0.0
+pkgrel=53
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-optparse-applicative' 'haskell-opentelemetry' 
'haskell-regex-tdfa'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('71e6addec81ba84bb26d8048107cb60a94ddb01ac4879640ec7ab7db8586515f1e0419db79e5fe3d8bfc0b37679f307c0c6e97e83739723439c48b14d2124d96')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-plugin-api/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:27:59
  Author: felixonmars
Revision: 185

upgpkg: haskell-hls-plugin-api 1.2.0.0-53: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hls-plugin-api/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:27:24 UTC (rev 184)
+++ PKGBUILD2022-01-20 02:27:59 UTC (rev 185)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.2.0.0
-pkgrel=52
+pkgrel=53
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:29:07
  Author: felixonmars
Revision: 187

upgpkg: arch-hs 0.9.1.0-102: rebuild with cabal-doctest 1.0.9

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:28:07 UTC (rev 186)
+++ PKGBUILD2022-01-20 02:29:07 UTC (rev 187)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.9.1.0
-pkgrel=101
+pkgrel=102
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:27:24
  Author: felixonmars
Revision: 184

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   80 +++
 ghc9.patch|  188 
 stack.install |4 +
 3 files changed, 272 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 183, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:27:24 UTC (rev 184)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.3
+pkgrel=119
+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-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-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-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' 'uusi' '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#tag=v$pkgver;
+ghc9.patch)
+sha512sums=('SKIP'
+
'5229f2f6a32bf8d317a2fc7a7bb16c0698359255c2ec6cbe74cbc78799aa170d4e174e6e182478e52d7040f12f32b7a2b9c246f185d79b6e3f295ccb59f3f3b8')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $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 
--ghc-option=-fllvm \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test --show-details=direct
+  # 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 > 

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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:24:18
  Author: felixonmars
Revision: 182

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
181, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:24:18 UTC (rev 182)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.5.2.1
+pkgrel=78
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-unliftio' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-core' 'haskell-mysql' 
'haskell-mysql-simple'
+ 'haskell-persistent-mysql' 'haskell-persistent-postgresql' 
'haskell-persistent-sqlite'
+ 'haskell-postgresql-simple')
+checkdepends=('mariadb' 'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8b1d0b06c2ef9ead922be7220d0d1fa6a6de67404bf48c2cfab297d92e187a92cb602e0189f91fbe0561c2f6f268b67d71f9f1512bff7c3218fa4fbab31a301')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/port=5432/port=9824/' test/PostgreSQL/Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-mysql -f-postgresql
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# Copied from haskell-persistent-mysql
+mkdir -p /tmp/mysql_test
+mysql_install_db --datadir=/tmp/mysql_test
+mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql --port 33306 
--skip-grant-tables &
+MYSQL_PID=$!
+sleep 5
+mysql -h 127.0.0.1 -P 33306 -u root -e "create database IF NOT EXISTS 
esqutest;"
+
+# Copied from haskell-persistent-postgresql
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s esqutest
+createdb -O esqutest esqutest
+
+# mysql tests fail the same way as haskell-persistent-mysql, due to 
incompatibility with mariadb
+TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+kill $MYSQL_PID
+pifpaf_stop
+}
+
+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 stack/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:27:13
  Author: felixonmars
Revision: 183

upgpkg: stack 2.7.3-119: rebuild with cabal-doctest 1.0.9

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:24:18 UTC (rev 182)
+++ PKGBUILD2022-01-20 02:27:13 UTC (rev 183)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.3
-pkgrel=118
+pkgrel=119
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:18:16
  Author: felixonmars
Revision: 170

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 
169, haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:18:16 UTC (rev 170)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.4.5.3
+pkgrel=37
+pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
+url="https://github.com/nikita-volkov/hasql;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-bytestring-strict-builder' 
'haskell-contravariant'
+ 'haskell-dlist' 'haskell-hashable' 'haskell-hashtables' 
'haskell-postgresql-binary'
+ 'haskell-postgresql-libpq' 'haskell-profunctors' 
'haskell-text-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-contravariant-extras' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-quickcheck'
+ 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0f5bc7a122a521716ae393a3779b85815e9afe73462294c121be3c430cffd0acef8b566958d60d74e188bec5ac05980e95970d650b96f057440a29fcf9dcf0e1')
+
+prepare() {
+cd $_hkgname-$pkgver
+
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+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-esqueleto/trunk (PKGBUILD)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:24:11
  Author: felixonmars
Revision: 181

upgpkg: haskell-esqueleto 3.5.2.1-78: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:21:56 UTC (rev 180)
+++ PKGBUILD2022-01-20 02:24:11 UTC (rev 181)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.2.1
-pkgrel=77
+pkgrel=78
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto;
 license=("BSD")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:18:07
  Author: felixonmars
Revision: 169

upgpkg: haskell-hasql 1.4.5.3-37: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:17:05 UTC (rev 168)
+++ PKGBUILD2022-01-20 02:18:07 UTC (rev 169)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.5.3
-pkgrel=36
+pkgrel=37
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:17:05
  Author: felixonmars
Revision: 168

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

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
167, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:17:05 UTC (rev 168)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.6
+pkgrel=192
+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-base16-bytestring' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-errors'
+ 'haskell-fgl' 'haskell-graphviz' 'haskell-hopenpgp' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ixset-typed' 
'haskell-lens'
+ 'haskell-memory' '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-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('73c83f939492c66b4ad5782e01acd0af97011a0ae797bce82d9431eb3e9c155ce1b4af1c4b3a5922f10e0e468c1c009cb270b8f15c7ba3236d9d8bf9e0265018')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build $MAKEFLAGS
+}
+
+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 haskell-yesod-auth/repos (2 files)

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:21:22
  Author: felixonmars
Revision: 178

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 177, haskell-yesod-auth/trunk/PKGBUILD)

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
177, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:21:22 UTC (rev 178)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.6.10.4
+pkgrel=52
+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=('0e108bfed1a95faf666877ed37489830d0a7205162a3a16f240bbe269aec63b8e61693e921c018898ec7198c09f44fe0ae1bb39884d8c02007319aa7efe3b566')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:21:56
  Author: felixonmars
Revision: 180

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 179, haskell-yesod/trunk/PKGBUILD)

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 
179, haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:21:56 UTC (rev 180)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.2
+pkgrel=99
+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-file-embed' '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=('a062f74502c5d88784a20f3bbe4c5799475043f3d17fea28b8199e9e4a3f9cc044e7b21a97bdb0c7e9e91c6e76aec4350a2cddc6306afb7c2f78f347ebf4f249')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:21:48
  Author: felixonmars
Revision: 179

upgpkg: haskell-yesod 1.6.1.2-99: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:21:22 UTC (rev 178)
+++ PKGBUILD2022-01-20 02:21:48 UTC (rev 179)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.2
-pkgrel=98
+pkgrel=99
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:21:14
  Author: felixonmars
Revision: 177

upgpkg: haskell-yesod-auth 1.6.10.4-52: rebuild with cabal-doctest 1.0.9

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 02:20:31 UTC (rev 176)
+++ PKGBUILD2022-01-20 02:21:14 UTC (rev 177)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10.4
-pkgrel=51
+pkgrel=52
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:20:31
  Author: felixonmars
Revision: 176

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 175, haskell-yesod-test/trunk/PKGBUILD)

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
175, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:20:31 UTC (rev 176)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=241
+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=('777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 02:19:43
  Author: felixonmars
Revision: 174

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-summoner-tui/repos/community-staging-x86_64/
  haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD
(from rev 173, haskell-summoner-tui/trunk/PKGBUILD)

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

Copied: haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD (from rev 
173, haskell-summoner-tui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 02:19:43 UTC (rev 174)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner-tui
+pkgname=haskell-summoner-tui
+pkgver=2.0.1.1
+pkgrel=279
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-colourista' 'haskell-microlens' 
'haskell-microlens-th'
+ 'haskell-relude' 'haskell-summoner' 'haskell-validation-selective' 
'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9f840f25d72c54b4b5ed0c5e6755e52ca71e9961759de6bd0046d567bd1f2c27')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



  1   2   3   4   5   6   7   8   >