summaryrefslogtreecommitdiff
path: root/community/haskell-tar/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-10 00:43:13 -0700
committerroot <root@rshg054.dnsready.net>2012-10-10 00:43:13 -0700
commit769ba4645df3c2f793bc2d3ee245573b79b206d3 (patch)
tree13e34d51217ced7053937eb57c7e12664fd881b5 /community/haskell-tar/PKGBUILD
parent26bcb2409416374f6728bd9b863e4fd147adccb3 (diff)
Wed Oct 10 00:43:09 PDT 2012
Diffstat (limited to 'community/haskell-tar/PKGBUILD')
-rw-r--r--community/haskell-tar/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/haskell-tar/PKGBUILD b/community/haskell-tar/PKGBUILD
index 3bee1826d..629285c73 100644
--- a/community/haskell-tar/PKGBUILD
+++ b/community/haskell-tar/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 72400 2012-06-13 13:47:19Z tdziedzic $
+# $Id: PKGBUILD 77356 2012-10-09 04:18:31Z tdziedzic $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
pkgname=haskell-tar
pkgver=0.4.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Reading, writing and manipulating \".tar\" archive files."
url="http://hackage.haskell.org/package/tar"
license=('custom:BSD3')
arch=('x86_64' 'i686')
-depends=('ghc=7.4.2-1')
-options=('strip')
-source=("http://hackage.haskell.org/packages/archive/tar/$pkgver/tar-$pkgver.tar.gz")
+depends=('ghc=7.6.1-1')
+source=("http://hackage.haskell.org/packages/archive/tar/$pkgver/tar-$pkgver.tar.gz"
+ '0001-update-changed-time-code-for-ghc-7.6.1.patch')
install=haskell-tar.install
-sha256sums=('a3d37be1b8666c16c6371d193a0795b8abe7b0216e81870a2666e1e85d931113')
+sha256sums=('a3d37be1b8666c16c6371d193a0795b8abe7b0216e81870a2666e1e85d931113'
+ '17b8afc519db5bed5d89807e6e659788f5d9c2f5c569150a9d1c6faac52e98e6')
build() {
cd "$srcdir/tar-$pkgver"
+ # time functions have changed in ghc 7.6.1
+ patch -Np1 -i ${srcdir}/0001-update-changed-time-code-for-ghc-7.6.1.patch
+
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir="/usr/share/doc/$pkgname" \
--libsubdir=\$compiler/site-local/\$pkgid