Date: Sunday, October 2, 2022 @ 00:46:43
  Author: felixonmars
Revision: 1320531

archrelease: copy trunk to community-x86_64

Added:
  haskell-hoauth2/repos/community-x86_64/PKGBUILD
    (from rev 1320530, haskell-hoauth2/trunk/PKGBUILD)
Deleted:
  haskell-hoauth2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-02 00:46:27 UTC (rev 1320530)
+++ PKGBUILD    2022-10-02 00:46:43 UTC (rev 1320531)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-_hkgname=hoauth2
-pkgname=haskell-hoauth2
-pkgver=2.1.0
-pkgrel=2
-pkgdesc="Haskell OAuth2 authentication client"
-url="https://github.com/freizl/hoauth2";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-hashable' 'haskell-http-conduit'
-         'haskell-http-types' 'haskell-microlens' 
'haskell-unordered-containers'
-         'haskell-uri-bytestring' 'haskell-uri-bytestring-aeson')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha256sums=('dd57e1f6dce1b0b9149aab5857a31d4414d33b395c80ff9bdd5c5eb02e567f8c')
-
-build() {
-  cd $_hkgname-$pkgver
-
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie' 
-
-  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
-}
-
-check() {
-  cd $_hkgname-$pkgver
-  runhaskell Setup test --show-details=direct
-}
-
-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 -t "$pkgdir"/usr/share/licenses/$pkgname/
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-hoauth2/repos/community-x86_64/PKGBUILD (from rev 1320530, 
haskell-hoauth2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-02 00:46:43 UTC (rev 1320531)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <[email protected]>
+
+_hkgname=hoauth2
+pkgname=haskell-hoauth2
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Haskell OAuth2 authentication client"
+url="https://github.com/freizl/hoauth2";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hashable' 'haskell-http-conduit'
+         'haskell-http-types' 'haskell-microlens' 
'haskell-unordered-containers'
+         'haskell-uri-bytestring' 'haskell-uri-bytestring-aeson')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('f7b570b14db29483776a4d1e7b9b09922b680035c1c42e1d7707b9b587c09dc5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie' 
+
+  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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Reply via email to