[arch-commits] Commit in cblrepo/repos (4 files)

Felix Yan felixonmars at archlinux.org
Thu Sep 21 07:09:13 UTC 2017


    Date: Thursday, September 21, 2017 @ 07:09:13
  Author: felixonmars
Revision: 258965

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  cblrepo/repos/community-staging-i686/
  cblrepo/repos/community-staging-i686/PKGBUILD
    (from rev 258964, cblrepo/trunk/PKGBUILD)
  cblrepo/repos/community-staging-x86_64/
  cblrepo/repos/community-staging-x86_64/PKGBUILD
    (from rev 258964, cblrepo/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: cblrepo/repos/community-staging-i686/PKGBUILD (from rev 258964, cblrepo/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-09-21 07:09:13 UTC (rev 258965)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cblrepo
+pkgver=0.24.0
+pkgrel=39
+pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
+url="https://github.com/magthe/cblrepo"
+license=("Apache")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl" "haskell-optparse-applicative"
+         "haskell-safe" "haskell-stringsearch" "haskell-tar" "haskell-text" "haskell-unixutils"
+         "haskell-utf8-string" "haskell-vector" "haskell-zlib")
+makedepends=('ghc')
+source=("https://github.com/MaskRay/cblrepo/archive/771cb062435b7ef5511f77187f051b1a0e908f69.tar.gz")
+sha256sums=('cc671f14ddb9cf1eea5f04be0d97fb8600da8551b56440375838079aa8bccb71')
+
+prepare() {
+    mv cblrepo-771cb062435b7ef5511f77187f051b1a0e908f69 cblrepo-$pkgver
+    sed -i 's/optparse-applicative ==0.13.*,/optparse-applicative >=0.13,/' cblrepo-$pkgver/cblrepo.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \
+        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/share
+}

Copied: cblrepo/repos/community-staging-x86_64/PKGBUILD (from rev 258964, cblrepo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-09-21 07:09:13 UTC (rev 258965)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cblrepo
+pkgver=0.24.0
+pkgrel=39
+pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
+url="https://github.com/magthe/cblrepo"
+license=("Apache")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl" "haskell-optparse-applicative"
+         "haskell-safe" "haskell-stringsearch" "haskell-tar" "haskell-text" "haskell-unixutils"
+         "haskell-utf8-string" "haskell-vector" "haskell-zlib")
+makedepends=('ghc')
+source=("https://github.com/MaskRay/cblrepo/archive/771cb062435b7ef5511f77187f051b1a0e908f69.tar.gz")
+sha256sums=('cc671f14ddb9cf1eea5f04be0d97fb8600da8551b56440375838079aa8bccb71')
+
+prepare() {
+    mv cblrepo-771cb062435b7ef5511f77187f051b1a0e908f69 cblrepo-$pkgver
+    sed -i 's/optparse-applicative ==0.13.*,/optparse-applicative >=0.13,/' cblrepo-$pkgver/cblrepo.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \
+        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/share
+}



More information about the arch-commits mailing list