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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 15 01:50:20 UTC 2022


    Date: Sunday, May 15, 2022 @ 01:50:20
  Author: felixonmars
Revision: 1205675

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cborg/repos/community-staging-x86_64/PKGBUILD
    (from rev 1205674, haskell-cborg/trunk/PKGBUILD)
Deleted:
  haskell-cborg/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-15 01:50:06 UTC (rev 1205674)
+++ PKGBUILD	2022-05-15 01:50:20 UTC (rev 1205675)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=cborg
-pkgname=haskell-cborg
-pkgver=0.2.6.0
-pkgrel=33
-pkgdesc="Concise Binary Object Representation (CBOR)"
-url="https://github.com/well-typed/cborg"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-half' 'haskell-primitive')
-makedepends=('ghc' 'haskell-aeson' 'haskell-base-orphans' 'haskell-base16-bytestring'
-             'haskell-base64-bytestring' 'haskell-quickcheck' 'haskell-scientific' 'haskell-tasty'
-             'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-vector')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('a25e7f2857168ffa8a46969cef92e085d7ee1fe03be6e2a9d2baaee671bc753abc693fc535a81600f24e491407dab0d8ec56a05e2509ec0496708bc9309ae007')
-
-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
-    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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
-}

Copied: haskell-cborg/repos/community-staging-x86_64/PKGBUILD (from rev 1205674, haskell-cborg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-15 01:50:20 UTC (rev 1205675)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=cborg
+pkgname=haskell-cborg
+pkgver=0.2.6.0
+pkgrel=34
+pkgdesc="Concise Binary Object Representation (CBOR)"
+url="https://github.com/well-typed/cborg"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-half' 'haskell-primitive')
+makedepends=('ghc' 'haskell-aeson' 'haskell-base-orphans' 'haskell-base16-bytestring'
+             'haskell-base64-bytestring' 'haskell-quickcheck' 'haskell-scientific' 'haskell-tasty'
+             'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a25e7f2857168ffa8a46969cef92e085d7ee1fe03be6e2a9d2baaee671bc753abc693fc535a81600f24e491407dab0d8ec56a05e2509ec0496708bc9309ae007')
+
+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
+    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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list