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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 08:42:48 UTC 2020


    Date: Wednesday, August 5, 2020 @ 08:42:48
  Author: felixonmars
Revision: 669105

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-microlens-platform/repos/community-staging-x86_64/PKGBUILD
    (from rev 669104, haskell-microlens-platform/trunk/PKGBUILD)
Deleted:
  haskell-microlens-platform/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 08:42:36 UTC (rev 669104)
+++ PKGBUILD	2020-08-05 08:42:48 UTC (rev 669105)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=microlens-platform
-pkgname=haskell-microlens-platform
-pkgver=0.4.1
-pkgrel=19
-pkgdesc="microlens + all batteries included (best for apps)"
-url="https://github.com/monadfix/microlens"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-hashable" "haskell-microlens" "haskell-microlens-ghc"
-         "haskell-microlens-mtl" "haskell-microlens-th"
-         "haskell-unordered-containers" "haskell-vector")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('17e72270286c00a48d0fb7ea045825921fe91cace1a70cb88113a39a2a576e02e4d5f2ceefd748fbd52c2cfb0edcac3fc342d282bf9d10da21e29b520e2eee3b')
-
-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
-    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
-}

Copied: haskell-microlens-platform/repos/community-staging-x86_64/PKGBUILD (from rev 669104, haskell-microlens-platform/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 08:42:48 UTC (rev 669105)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=microlens-platform
+pkgname=haskell-microlens-platform
+pkgver=0.4.1
+pkgrel=20
+pkgdesc="microlens + all batteries included (best for apps)"
+url="https://github.com/monadfix/microlens"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hashable" "haskell-microlens" "haskell-microlens-ghc"
+         "haskell-microlens-mtl" "haskell-microlens-th"
+         "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('17e72270286c00a48d0fb7ea045825921fe91cace1a70cb88113a39a2a576e02e4d5f2ceefd748fbd52c2cfb0edcac3fc342d282bf9d10da21e29b520e2eee3b')
+
+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
+    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
+}


More information about the arch-commits mailing list