[arch-commits] Commit in haskell-typed-process/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Tue May 28 23:43:35 UTC 2019
Date: Tuesday, May 28, 2019 @ 23:43:35
Author: felixonmars
Revision: 473330
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-typed-process/repos/community-staging-x86_64/PKGBUILD
(from rev 473329, haskell-typed-process/trunk/PKGBUILD)
Deleted:
haskell-typed-process/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-28 23:43:24 UTC (rev 473329)
+++ PKGBUILD 2019-05-28 23:43:35 UTC (rev 473330)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=typed-process
-pkgname=haskell-typed-process
-pkgver=0.2.4.0
-pkgrel=14
-pkgdesc="Run external processes, with strong typing of streams"
-url="https://haskell-lang.org/library/typed-process"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async')
-makedepends=('ghc' 'haskell-base64-bytestring' 'haskell-hspec' 'haskell-temporary')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('6d99440f78410365b20677ded764a0a237918bbd982638841dfe379244117aa3bea1255a1e0263162b689a1001f873d6aca4fb5b73fc7a5873ca7ce5c458947d')
-
-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
- 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-typed-process/repos/community-staging-x86_64/PKGBUILD (from rev 473329, haskell-typed-process/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-28 23:43:35 UTC (rev 473330)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=typed-process
+pkgname=haskell-typed-process
+pkgver=0.2.4.0
+pkgrel=15
+pkgdesc="Run external processes, with strong typing of streams"
+url="https://haskell-lang.org/library/typed-process"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async')
+makedepends=('ghc' 'haskell-base64-bytestring' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('6d99440f78410365b20677ded764a0a237918bbd982638841dfe379244117aa3bea1255a1e0263162b689a1001f873d6aca4fb5b73fc7a5873ca7ce5c458947d')
+
+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
+ 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