Date: Wednesday, October 5, 2022 @ 10:45:01
  Author: felixonmars
Revision: 1321414

archrelease: copy trunk to community-x86_64

Added:
  haskell-aeson-diff/repos/community-x86_64/PKGBUILD
    (from rev 1321413, haskell-aeson-diff/trunk/PKGBUILD)
Deleted:
  haskell-aeson-diff/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-05 10:44:34 UTC (rev 1321413)
+++ PKGBUILD    2022-10-05 10:45:01 UTC (rev 1321414)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-_hkgname=aeson-diff
-pkgname=haskell-aeson-diff
-pkgver=1.1.0.11
-pkgrel=2
-pkgdesc="Extract and apply patches to JSON documents"
-url="https://github.com/ysangkok/aeson-diff";
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-edit-distance-vector' 
'haskell-scientific'
-         'haskell-vector' 'haskell-optparse-applicative')
-makedepends=('ghc' 'haskell-glob' 'haskell-quickcheck' 'haskell-cabal-doctest' 
'haskell-doctest'
-             'hlint')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('2342989d6fcd08eb0ee48577090dc69ee3c53b384969ccb76861242d00c8947f1f1bed90beb04b8a08c6dc5c5484fadf18396e46dc32ac36112b0e4aca747cfc')
-
-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
-    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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-aeson-diff/repos/community-x86_64/PKGBUILD (from rev 1321413, 
haskell-aeson-diff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-05 10:45:01 UTC (rev 1321414)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <[email protected]>
+
+_hkgname=aeson-diff
+pkgname=haskell-aeson-diff
+pkgver=1.1.0.12
+pkgrel=1
+pkgdesc="Extract and apply patches to JSON documents"
+url="https://github.com/ysangkok/aeson-diff";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-edit-distance-vector' 
'haskell-scientific'
+         'haskell-vector' 'haskell-optparse-applicative')
+makedepends=('ghc' 'haskell-glob' 'haskell-quickcheck' 'haskell-cabal-doctest' 
'haskell-doctest'
+             'hlint')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('03b166e4b1846545314a4434afb65e2c29a7c732c20301678e6d58b0155c8b2bec0c6b1bc004c8647fd6e8d010585c287440b024a3d3d67e433e0b91d6b5d1ee')
+
+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
+    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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Reply via email to