[arch-commits] Commit in haskell-shake/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed May 22 08:12:40 UTC 2019


    Date: Wednesday, May 22, 2019 @ 08:12:40
  Author: felixonmars
Revision: 468313

archrelease: copy trunk to community-x86_64

Added:
  haskell-shake/repos/community-x86_64/PKGBUILD
    (from rev 468312, haskell-shake/trunk/PKGBUILD)
Deleted:
  haskell-shake/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-22 08:12:29 UTC (rev 468312)
+++ PKGBUILD	2019-05-22 08:12:40 UTC (rev 468313)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=shake
-pkgname=haskell-shake
-pkgver=0.18
-pkgrel=1
-pkgdesc="Build system library, like Make, but more accurate dependencies."
-url="http://shakebuild.com"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable' 'haskell-heaps'
-         'haskell-js-dgtable' 'haskell-js-flot' 'haskell-js-jquery' 'haskell-primitive'
-         'haskell-random' 'haskell-unordered-containers' 'haskell-utf8-string')
-makedepends=('ghc' 'haskell-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c0720ebcb3af63e161397f6d9601493e1e602b23d0efdbc16dcffc0fd8a0e9c4e6bb5d50b7b20d9a83136486456347241c472b1820c23ec54cac7ae2c97c69d4')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/ghc --make/ghc -dynamic --make/' src/Test/Command.hs
-    sed -e 's/runhaskell Setup.hs configure/runhaskell Setup.hs configure --enable-executable-dynamic --disable-library-vanilla/' \
-        -e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
-        -i src/Test/Docs.hs
-    sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs src/Test/SelfMake.hs
-    sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
-}
-
-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 \
-            -f-portable -f-cloud
-    runhaskell Setup build
-    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"
-    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-shake/repos/community-x86_64/PKGBUILD (from rev 468312, haskell-shake/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-22 08:12:40 UTC (rev 468313)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.18.2
+pkgrel=1
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="http://shakebuild.com"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable' 'haskell-heaps'
+         'haskell-js-dgtable' 'haskell-js-flot' 'haskell-js-jquery' 'haskell-primitive'
+         'haskell-random' 'haskell-unordered-containers' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('9795084ad8acea046736f89a47f6a7087bf1b3517dd210fac249b7c96b563db4c4689f8384e8319ae9719dec2de96edf77a0acc832d5ea270a0138796d830401')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/ghc --make/ghc -dynamic --make/' src/Test/Command.hs
+    sed -e 's/runhaskell Setup.hs configure/runhaskell Setup.hs configure --enable-executable-dynamic --disable-library-vanilla/' \
+        -e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+        -i src/Test/Docs.hs
+    sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs src/Test/SelfMake.hs
+    sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+}
+
+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 \
+            -f-portable -f-cloud
+    runhaskell Setup build
+    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"
+    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