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

2022-01-10 Thread Felix Yan via arch-commits
Date: Monday, January 10, 2022 @ 17:59:17
  Author: felixonmars
Revision: 1099663

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sha/repos/community-staging-x86_64/PKGBUILD (from rev 1099662, 
haskell-sha/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-10 17:59:17 UTC (rev 1099663)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Lex Black 
+# Contributor: Arch Haskell Team <>
+
+pkgname=haskell-sha
+pkgver=1.6.4.4
+pkgrel=19
+pkgdesc="Implementations of the SHA suite of message digest functions"
+url="https://hackage.haskell.org/package/SHA;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/SHA/${pkgver}/SHA-${pkgver}.tar.gz;)
+sha512sums=('77a525cb9ef45a410595a2f9c11a848a3aaeb6c7cb9b0ff11395326a259c0bea0e75689e3c7fa410e25be7d4480887830e11c891801f03c439b6ae9f55e5c125')
+
+build() {
+cd "${srcdir}/SHA-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/SHA-${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-sha/repos (2 files)

2021-06-16 Thread Felix Yan via arch-commits
Date: Thursday, June 17, 2021 @ 00:45:43
  Author: felixonmars
Revision: 964521

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sha/repos/community-staging-x86_64/PKGBUILD (from rev 964520, 
haskell-sha/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-17 00:45:43 UTC (rev 964521)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Lex Black 
+# Contributor: Arch Haskell Team <>
+
+pkgname=haskell-sha
+pkgver=1.6.4.4
+pkgrel=18
+pkgdesc="Implementations of the SHA suite of message digest functions"
+url="https://hackage.haskell.org/package/SHA;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/SHA/${pkgver}/SHA-${pkgver}.tar.gz;)
+sha512sums=('77a525cb9ef45a410595a2f9c11a848a3aaeb6c7cb9b0ff11395326a259c0bea0e75689e3c7fa410e25be7d4480887830e11c891801f03c439b6ae9f55e5c125')
+
+build() {
+cd "${srcdir}/SHA-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/SHA-${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-sha/repos (2 files)

2021-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 00:03:53
  Author: felixonmars
Revision: 956721

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sha/repos/community-staging-x86_64/PKGBUILD (from rev 956720, 
haskell-sha/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 00:03:53 UTC (rev 956721)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Lex Black 
+# Contributor: Arch Haskell Team <>
+
+pkgname=haskell-sha
+pkgver=1.6.4.4
+pkgrel=17
+pkgdesc="Implementations of the SHA suite of message digest functions"
+url="https://hackage.haskell.org/package/SHA;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/SHA/${pkgver}/SHA-${pkgver}.tar.gz;)
+sha512sums=('77a525cb9ef45a410595a2f9c11a848a3aaeb6c7cb9b0ff11395326a259c0bea0e75689e3c7fa410e25be7d4480887830e11c891801f03c439b6ae9f55e5c125')
+
+build() {
+cd "${srcdir}/SHA-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/SHA-${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-sha/repos (2 files)

2021-02-08 Thread Felix Yan via arch-commits
Date: Monday, February 8, 2021 @ 23:58:48
  Author: felixonmars
Revision: 850598

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sha/repos/community-staging-x86_64/PKGBUILD (from rev 850597, 
haskell-sha/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-08 23:58:48 UTC (rev 850598)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Lex Black 
+# Contributor: Arch Haskell Team <>
+
+pkgname=haskell-sha
+pkgver=1.6.4.4
+pkgrel=16
+pkgdesc="Implementations of the SHA suite of message digest functions"
+url="https://hackage.haskell.org/package/SHA;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/SHA/${pkgver}/SHA-${pkgver}.tar.gz;)
+sha512sums=('77a525cb9ef45a410595a2f9c11a848a3aaeb6c7cb9b0ff11395326a259c0bea0e75689e3c7fa410e25be7d4480887830e11c891801f03c439b6ae9f55e5c125')
+
+build() {
+cd "${srcdir}/SHA-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/SHA-${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
+}