[arch-commits] Commit in (cblrepo cblrepo/repos cblrepo/trunk cblrepo/trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 25 07:30:57 UTC 2017


    Date: Wednesday, January 25, 2017 @ 07:30:56
  Author: felixonmars
Revision: 208974

addpkg: cblrepo 0.24.0-1

Added:
  cblrepo/
  cblrepo/repos/
  cblrepo/trunk/
  cblrepo/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: cblrepo/trunk/PKGBUILD
===================================================================
--- cblrepo/trunk/PKGBUILD	                        (rev 0)
+++ cblrepo/trunk/PKGBUILD	2017-01-25 07:30:56 UTC (rev 208974)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cblrepo
+pkgver=0.24.0
+pkgrel=1
+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=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "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")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('03c1728d5f5ac702e334d3b7ccf0ceb42c00f93dba6cce2cdd655f5d74f4af7a')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr \
+        --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/doc
+}


Property changes on: cblrepo/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list