[arch-commits] Commit in haskell-authenticate-oauth/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 21 12:02:49 UTC 2018
Date: Monday, May 21, 2018 @ 12:02:49
Author: felixonmars
Revision: 326117
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD
(from rev 326116, haskell-authenticate-oauth/trunk/PKGBUILD)
Deleted:
haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 12:02:25 UTC (rev 326116)
+++ PKGBUILD 2018-05-21 12:02:49 UTC (rev 326117)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=authenticate-oauth
-pkgname=haskell-authenticate-oauth
-pkgver=1.6
-pkgrel=1
-pkgdesc="Library to authenticate with OAuth for Haskell web applications."
-url="https://github.com/yesodweb/authenticate"
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-http-client' 'haskell-crypto-pubkey-types' 'haskell-rsa'
- 'haskell-data-default' 'haskell-base64-bytestring' 'haskell-sha' 'haskell-random'
- 'haskell-http-types' 'haskell-blaze-builder' 'haskell-transformers-compat')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1cd4db3874b05a8856dcd07ee1e63fdafb92e8997b9caf81436d882f36c1bda3fce4b32cdbfa28ffa5f5374566ffa981537f527d8814131e7d61f2d1b8999931')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/<.*2.3/<3/' $_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
- 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-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD (from rev 326116, haskell-authenticate-oauth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-21 12:02:49 UTC (rev 326117)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=authenticate-oauth
+pkgname=haskell-authenticate-oauth
+pkgver=1.6
+pkgrel=2
+pkgdesc="Library to authenticate with OAuth for Haskell web applications."
+url="https://github.com/yesodweb/authenticate"
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http-client' 'haskell-crypto-pubkey-types' 'haskell-rsa'
+ 'haskell-data-default' 'haskell-base64-bytestring' 'haskell-sha' 'haskell-random'
+ 'haskell-http-types' 'haskell-blaze-builder' 'haskell-transformers-compat')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1cd4db3874b05a8856dcd07ee1e63fdafb92e8997b9caf81436d882f36c1bda3fce4b32cdbfa28ffa5f5374566ffa981537f527d8814131e7d61f2d1b8999931')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/<.*2.3/<3/' $_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
+ 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