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

Felix Yan felixonmars at archlinux.org
Wed Feb 5 08:01:15 UTC 2020


    Date: Wednesday, February 5, 2020 @ 08:01:15
  Author: felixonmars
Revision: 562811

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optparse-generic/repos/community-staging-x86_64/PKGBUILD
    (from rev 562810, haskell-optparse-generic/trunk/PKGBUILD)
Deleted:
  haskell-optparse-generic/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-05 08:00:58 UTC (rev 562810)
+++ PKGBUILD	2020-02-05 08:01:15 UTC (rev 562811)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=optparse-generic
-pkgname=haskell-optparse-generic
-pkgver=1.3.1
-pkgrel=4
-pkgdesc="Auto-generate a command-line parser for your datatype"
-url="https://github.com/Gabriel439/Haskell-Optparse-Generic-Library"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-system-filepath' 'haskell-only' 'haskell-optparse-applicative'
-         'haskell-void')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('87f8e9b385f8a1ca4159dd07f7bc53763f4c8723430dfa80c7f2292e7243ab038dfb756a6cabb5a5f9fa2b24cca3beff51bbf67ce9e46ee7d0ad0bb0dd6c506c')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i -e '/semigroups/d' -e 's/bytestring *< 0.11,/bytestring < 0.11/' $_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 --enable-tests \
-        --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
-}
-
-check() {
-    cd $_hkgname-$pkgver
-    runhaskell Setup test
-}
-
-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-optparse-generic/repos/community-staging-x86_64/PKGBUILD (from rev 562810, haskell-optparse-generic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-05 08:01:15 UTC (rev 562811)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=optparse-generic
+pkgname=haskell-optparse-generic
+pkgver=1.3.1
+pkgrel=5
+pkgdesc="Auto-generate a command-line parser for your datatype"
+url="https://github.com/Gabriel439/Haskell-Optparse-Generic-Library"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-system-filepath' 'haskell-only' 'haskell-optparse-applicative'
+         'haskell-void')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('87f8e9b385f8a1ca4159dd07f7bc53763f4c8723430dfa80c7f2292e7243ab038dfb756a6cabb5a5f9fa2b24cca3beff51bbf67ce9e46ee7d0ad0bb0dd6c506c')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i -e '/semigroups/d' -e 's/bytestring *< 0.11,/bytestring < 0.11/' $_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 --enable-tests \
+        --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
+}
+
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
+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