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

Felix Yan felixonmars at archlinux.org
Mon Aug 3 10:23:44 UTC 2020


    Date: Monday, August 3, 2020 @ 10:23:44
  Author: felixonmars
Revision: 668165

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-03 10:23:31 UTC (rev 668164)
+++ PKGBUILD	2020-08-03 10:23:44 UTC (rev 668165)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=safecopy
-pkgname=haskell-safecopy
-pkgver=0.10.3
-pkgrel=14
-pkgdesc="Binary serialization with version control."
-url="http://acid-state.seize.it/safecopy"
-license=('custom:PublicDomain')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 'haskell-vector')
-makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 'haskell-quickcheck'
-             'haskell-quickcheck-instances' 'haskell-tasty' 'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('bc90f4555b63c561003d5f87b230160005b2a505370322dbd2a5117261671efcac701ebe7578b20ee585989b2c13256363c13036710e5feaced56b593ce7e323')
-
-build() {
-    cd $_hkgname-$pkgver
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    runhaskell Setup build $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
-}
-
-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"
-}

Copied: haskell-safecopy/repos/community-staging-x86_64/PKGBUILD (from rev 668164, haskell-safecopy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-03 10:23:44 UTC (rev 668165)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=safecopy
+pkgname=haskell-safecopy
+pkgver=0.10.3
+pkgrel=15
+pkgdesc="Binary serialization with version control."
+url="http://acid-state.seize.it/safecopy"
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 'haskell-quickcheck'
+             'haskell-quickcheck-instances' 'haskell-tasty' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('bc90f4555b63c561003d5f87b230160005b2a505370322dbd2a5117261671efcac701ebe7578b20ee585989b2c13256363c13036710e5feaced56b593ce7e323')
+
+build() {
+    cd $_hkgname-$pkgver
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    runhaskell Setup build $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
+}
+
+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"
+}


More information about the arch-commits mailing list