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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 15 04:15:10 UTC 2022


    Date: Sunday, May 15, 2022 @ 04:15:09
  Author: felixonmars
Revision: 1206183

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-15 04:14:56 UTC (rev 1206182)
+++ PKGBUILD	2022-05-15 04:15:09 UTC (rev 1206183)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=hasql-dynamic-statements
-pkgname=haskell-hasql-dynamic-statements
-pkgver=0.3.1
-pkgrel=110
-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' 'uusi' '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
-  uusi -u hasql $_hkgname.cabal
-  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 --datasubdir=$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
-}

Copied: haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD (from rev 1206182, haskell-hasql-dynamic-statements/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-15 04:15:09 UTC (rev 1206183)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=hasql-dynamic-statements
+pkgname=haskell-hasql-dynamic-statements
+pkgver=0.3.1
+pkgrel=111
+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' 'uusi' '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
+  uusi -u hasql $_hkgname.cabal
+  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 --datasubdir=$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
+}



More information about the arch-commits mailing list