Date: Tuesday, March 20, 2018 @ 06:40:53
  Author: felixonmars
Revision: 309400

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
    (from rev 309399, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 309399, 
git-annex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-20 06:40:53 UTC (rev 309400)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=git-annex
+pkgver=6.20180316
+pkgrel=3
+pkgdesc="Manage files with git, without checking their contents into git"
+url="http://git-annex.branchable.com/";
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-aws'
+         'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 
'haskell-case-insensitive'
+         'haskell-clientsession' 'haskell-concurrent-output' 'haskell-conduit' 
'haskell-crypto-api'
+         'haskell-cryptonite' 'haskell-data-default' 'haskell-dav' 
'haskell-dbus'
+         'haskell-disk-free-space' 'haskell-dlist' 'haskell-dns' 
'haskell-edit-distance'
+         'haskell-esqueleto' 'haskell-exceptions' 'haskell-fdo-notify' 
'haskell-feed'
+         'haskell-hinotify' 'haskell-hslogger' 'haskell-http-client' 
'haskell-http-conduit'
+         'haskell-http-types' 'haskell-ifelse' 'haskell-magic' 'haskell-memory'
+         'haskell-monad-control' 'haskell-monad-logger' 'haskell-mountpoints' 
'haskell-mtl'
+         'haskell-network' 'haskell-network-info' 'haskell-network-multicast' 
'haskell-network-uri'
+         'haskell-old-locale' 'haskell-optparse-applicative' 
'haskell-path-pieces'
+         'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+         'haskell-quickcheck' 'haskell-random' 'haskell-regex-tdfa' 
'haskell-resourcet'
+         'haskell-safesemaphore' 'haskell-sandi' 'haskell-securemem' 
'haskell-shakespeare'
+         'haskell-socks' 'haskell-split' 'haskell-stm' 'haskell-stm-chans' 
'haskell-tagsoup'
+         'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun'
+         'haskell-text' 'haskell-torrent' 'haskell-unix-compat' 
'haskell-unordered-containers'
+         'haskell-utf8-string' 'haskell-uuid' 'haskell-vector' 'haskell-wai' 
'haskell-wai-extra'
+         'haskell-warp' 'haskell-warp-tls' 'haskell-yesod' 
'haskell-yesod-core' 'haskell-yesod-form'
+         'haskell-yesod-static')
+makedepends=('chrpath' 'ghc')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver";)
+sha512sums=('SKIP')
+
+build() {
+  cd git-annex
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+    --docdir="/usr/share/doc/$pkgname" \
+    -fnetwork-uri -fconcurrentoutput -ftorrentparser \
+    -f-androidsplice -f-android -fproduction -fpairing -fwebapp \
+    -fassistant -fwebdav -fs3 -f-benchmark -fdbus -fmagicmime
+  runhaskell Setup build
+}
+
+package() {
+  cd git-annex
+  runhaskell Setup copy --destdir="$pkgdir"
+  make GHC="ghc -dynamic" BUILDER=true DESTDIR="$pkgdir" -j1 install-misc
+
+  rm "$pkgdir"/usr/share/doc/git-annex/COPYRIGHT
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}

Reply via email to