[arch-commits] Commit in haskell-yesod-core/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Aug 3 14:08:55 UTC 2020
Date: Monday, August 3, 2020 @ 14:08:55
Author: felixonmars
Revision: 668363
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD
(from rev 668362, haskell-yesod-core/trunk/PKGBUILD)
Deleted:
haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-03 14:08:43 UTC (rev 668362)
+++ PKGBUILD 2020-08-03 14:08:55 UTC (rev 668363)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=yesod-core
-pkgname=haskell-yesod-core
-pkgver=1.6.18
-pkgrel=58
-pkgdesc="Creation of type-safe, RESTful web applications."
-url="http://www.yesodweb.com/"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-auto-update' 'haskell-blaze-html'
- 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
- 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cookie'
- 'haskell-fast-logger' 'haskell-http-types' 'haskell-memory'
- 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 'haskell-primitive'
- 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai'
- 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-word8')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('babb4f0556107044fcaba04c09ad4bcb0b6269d70763fe0aec31a440c7997c71ebd4de4b3b2881f6c1e315555b336de505b9c4e4cf49d1b411abe822ad61b5e0')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i '/semigroups/d' $_hkgname.cabal
-}
-
-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-yesod-core/repos/community-staging-x86_64/PKGBUILD (from rev 668362, haskell-yesod-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-03 14:08:55 UTC (rev 668363)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=yesod-core
+pkgname=haskell-yesod-core
+pkgver=1.6.18
+pkgrel=59
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-auto-update' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
+ 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cookie'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-memory'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 'haskell-primitive'
+ 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-word8')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('babb4f0556107044fcaba04c09ad4bcb0b6269d70763fe0aec31a440c7997c71ebd4de4b3b2881f6c1e315555b336de505b9c4e4cf49d1b411abe822ad61b5e0')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+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