[arch-commits] Commit in haskell-authenticate-oauth/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Mon Aug 3 11:49:12 UTC 2020


    Date: Monday, August 3, 2020 @ 11:49:12
  Author: felixonmars
Revision: 668233

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD
    (from rev 668232, haskell-authenticate-oauth/trunk/PKGBUILD)
Deleted:
  haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-03 11:49:00 UTC (rev 668232)
+++ PKGBUILD	2020-08-03 11:49:12 UTC (rev 668233)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=authenticate-oauth
-pkgname=haskell-authenticate-oauth
-pkgver=1.6.0.1
-pkgrel=120
-pkgdesc="Library to authenticate with OAuth for Haskell web applications."
-url="https://github.com/yesodweb/authenticate"
-license=('BSD')
-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=('b2a6310097a6edc5bd3c38052a2eca73d3f398c0b9ff4b8f1d43a1f4dc83b7297df12f3fc0bfdecfce17e600f90b13c4c9e3f31c02b17d7fec0134a34c093fd6')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/< *1.1/<2/' $_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-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD (from rev 668232, haskell-authenticate-oauth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-03 11:49:12 UTC (rev 668233)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=authenticate-oauth
+pkgname=haskell-authenticate-oauth
+pkgver=1.6.0.1
+pkgrel=121
+pkgdesc="Library to authenticate with OAuth for Haskell web applications."
+url="https://github.com/yesodweb/authenticate"
+license=('BSD')
+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=('b2a6310097a6edc5bd3c38052a2eca73d3f398c0b9ff4b8f1d43a1f4dc83b7297df12f3fc0bfdecfce17e600f90b13c4c9e3f31c02b17d7fec0134a34c093fd6')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *1.1/<2/' $_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