Date: Thursday, August 17, 2017 @ 14:07:20 Author: felixonmars Revision: 251694
upgpkg: git-annex 6.20170520-67 GHC 8.2.1 rebuild Modified: git-annex/trunk/PKGBUILD ----------+ PKGBUILD | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-17 13:38:14 UTC (rev 251693) +++ PKGBUILD 2017-08-17 14:07:20 UTC (rev 251694) @@ -4,21 +4,21 @@ pkgname=git-annex pkgver=6.20170520 -pkgrel=66 +pkgrel=67 pkgdesc="Manage files with git, without checking their contents into git" url="http://git-annex.branchable.com/" license=("AGPL3") arch=('i686' 'x86_64') -depends=('git' 'rsync' 'ghc' "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" +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" @@ -29,7 +29,7 @@ "haskell-utf8-string" "haskell-uuid" "haskell-wai" "haskell-wai-extra" "haskell-warp" "haskell-warp-tls" "haskell-yesod" "haskell-yesod-core" "haskell-yesod-default" "haskell-yesod-form" "haskell-yesod-static") -makedepends=("chrpath") +makedepends=("chrpath" 'ghc') source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver" quickcheck-2.10.patch) sha512sums=('SKIP' @@ -38,11 +38,17 @@ prepare() { cd git-annex patch -p1 -i ../quickcheck-2.10.patch + sed -i '3i module Build.BuildVersion where' Build/BuildVersion.hs + sed -i '10i module Build.DistributionUpdate where' Build/DistributionUpdate.hs + sed -e '/Windows/d' -e '/Win32/d' -e '/WinProcess/d' -e '/OSX/d' -e '/FSEvents/d' \ + -e '/NullSoft/d' -e '/Command.Benchmark/d' -e '/MakeMans/d' -e '/InstallDesktopFile/d' \ + -e '/LinuxMkLibs/d' -e '/EvilSplicer/d' -e '/EvilLinker/d' -e '/Standalone/d' \ + -i git-annex.cabal } build() { cd git-annex - + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/$pkgname" \ -fnetwork-uri -fconcurrentoutput -ftorrentparser \ -ftestsuite -f-androidsplice -f-android -fproduction -fpairing -fwebapp \