[arch-commits] Commit in haskell-system-fileio/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 27 14:27:52 UTC 2019
Date: Monday, May 27, 2019 @ 14:27:51
Author: felixonmars
Revision: 471403
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-system-fileio/repos/community-staging-x86_64/PKGBUILD
(from rev 471402, haskell-system-fileio/trunk/PKGBUILD)
Deleted:
haskell-system-fileio/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-27 14:27:37 UTC (rev 471402)
+++ PKGBUILD 2019-05-27 14:27:51 UTC (rev 471403)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=system-fileio
-pkgname=haskell-system-fileio
-pkgver=0.3.16.4
-pkgrel=16
-pkgdesc="Consistent filesystem interaction across GHC versions"
-url="https://github.com/fpco/haskell-filesystem"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-system-filepath")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('68530cd11b25aa8a05967d3f51091ea57a5be138b672bd5373918163281c55a91b60dea03bdd22bcd4ba1d6bb26e2ed14660ce55bbdaf2737d2dd2b7e608d698')
-
-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
- 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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
-}
Copied: haskell-system-fileio/repos/community-staging-x86_64/PKGBUILD (from rev 471402, haskell-system-fileio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-27 14:27:51 UTC (rev 471403)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=system-fileio
+pkgname=haskell-system-fileio
+pkgver=0.3.16.4
+pkgrel=17
+pkgdesc="Consistent filesystem interaction across GHC versions"
+url="https://github.com/fpco/haskell-filesystem"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-system-filepath")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('68530cd11b25aa8a05967d3f51091ea57a5be138b672bd5373918163281c55a91b60dea03bdd22bcd4ba1d6bb26e2ed14660ce55bbdaf2737d2dd2b7e608d698')
+
+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
+ 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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}
More information about the arch-commits
mailing list