[arch-commits] Commit in c2hs/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 21 08:14:16 UTC 2018
Date: Monday, May 21, 2018 @ 08:14:15
Author: felixonmars
Revision: 325875
archrelease: copy trunk to community-staging-x86_64
Added:
c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 325874, c2hs/trunk/PKGBUILD)
Deleted:
c2hs/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 08:13:50 UTC (rev 325874)
+++ PKGBUILD 2018-05-21 08:14:15 UTC (rev 325875)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=c2hs
-pkgver=0.28.3
-pkgrel=25
-pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
-url="https://github.com/haskell/c2hs"
-license=("GPL2")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
-makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
- 'haskell-shelly')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('17306b6ee41623d1c017581ed7aef6118a66c30a4698fa95d588b30ac625a6571906bb1fffecf7b86296667390d18cfe5ee2ade85098075f2ca982922b358b3a')
-
-prepare() {
- sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
- sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
- sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
- --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \
- -f-regression -fbase3
- runhaskell Setup build
-}
-
-check() {
- cd $pkgname-$pkgver
- runhaskell Setup test
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup copy --destdir="${pkgdir}"
-}
Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 325874, c2hs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-21 08:14:15 UTC (rev 325875)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=c2hs
+pkgver=0.28.3
+pkgrel=26
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs"
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('17306b6ee41623d1c017581ed7aef6118a66c30a4698fa95d588b30ac625a6571906bb1fffecf7b86296667390d18cfe5ee2ade85098075f2ca982922b358b3a')
+
+prepare() {
+ sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+ sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+ sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+ --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \
+ -f-regression -fbase3
+ runhaskell Setup build
+}
+
+check() {
+ cd $pkgname-$pkgver
+ runhaskell Setup test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+}
More information about the arch-commits
mailing list