summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO79
-rw-r--r--PKGBUILD57
-rw-r--r--ghc-raspbian-bin.install1
3 files changed, 106 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65c5cd6f099..7b4eca28fa4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon May 9 16:54:24 UTC 2016
+# Mon May 9 20:42:48 UTC 2016
pkgbase = ghc-raspbian-bin
pkgdesc = GHC binaries for Raspberry Pi from Raspian repositories
pkgver = 7.10.3
@@ -9,36 +9,61 @@ pkgbase = ghc-raspbian-bin
arch = armv6h
license = custom
makedepends = dpkg
- depends = gcc
+ depends = perl
depends = gmp
+ depends = gcc
depends = libffi
- depends = perl
- provides = haskell-array
- provides = haskell-base
- provides = haskell-binary
- provides = haskell-bin-package-db
- provides = haskell-bytestring
- provides = haskell-cabal
- provides = haskell-containers
- provides = haskell-deepseq
- provides = haskell-directory
- provides = haskell-filepath
- provides = haskell-ghc-prim
- provides = haskell-haskeline
- provides = haskell-hoopl
- provides = haskell-hpc
- provides = haskell-integer-gmp
- provides = haskell-pretty
- provides = haskell-process
- provides = haskell-template-haskell
- provides = haskell-terminfo
- provides = haskell-time
- provides = haskell-transformers
- provides = haskell-unix
- provides = haskell-xhtml
+ provides = ghc=7.10.3
+ provides = haskell-array=0.5.1.0
+ provides = haskell-base=4.8.2.0
+ provides = haskell-binary=0.7.5.0
+ provides = haskell-bin-package-db=0.0.0.0
+ provides = haskell-bytestring=0.10.6.0
+ provides = haskell-cabal=1.22.5.0
+ provides = haskell-containers=0.5.6.2
+ provides = haskell-deepseq=1.4.1.1
+ provides = haskell-directory=1.2.2.0
+ provides = haskell-filepath=1.4.0.0
+ provides = haskell-ghc-prim=0.4.0.0
+ provides = haskell-haskeline=0.7.2.1
+ provides = haskell-hoopl=3.10.0.2
+ provides = haskell-hpc=0.6.0.2
+ provides = haskell-integer-gmp=1.0.0.0
+ provides = haskell-pretty=1.1.2.0
+ provides = haskell-process=1.2.3.0
+ provides = haskell-template-haskell=2.10.0.0
+ provides = haskell-terminfo=0.4.0.1
+ provides = haskell-time=1.5.0.1
+ provides = haskell-transformers=0.4.2.0
+ provides = haskell-unix=2.7.1.0
+ provides = haskell-xhtml=3000.2.1
conflicts = ghc
+ replaces = haskell-array
+ replaces = haskell-base
+ replaces = haskell-binary
+ replaces = haskell-bin-package-db
+ replaces = haskell-bytestring
+ replaces = haskell-cabal
+ replaces = haskell-containers
+ replaces = haskell-deepseq
+ replaces = haskell-directory
+ replaces = haskell-filepath
+ replaces = haskell-ghc-prim
+ replaces = haskell-haskeline
+ replaces = haskell-hoopl
+ replaces = haskell-hpc
+ replaces = haskell-integer-gmp
+ replaces = haskell-pretty
+ replaces = haskell-process
+ replaces = haskell-template-haskell
+ replaces = haskell-terminfo
+ replaces = haskell-time
+ replaces = haskell-transformers
+ replaces = haskell-unix
+ replaces = haskell-xhtml
+ options = staticlibs
source = http://archive.raspbian.org/raspbian/pool/main/g/ghc/ghc_7.10.3-7+rpi1_armhf.deb
- sha256sums = 6ed9c001044d1f200c5b0af7658e01ff2093210804ffe92d6d32e9aaa1f29353
+ sha256sums = 61b90723e5a10cf32964bb7292f4ae914f45dcbc2e9bd169f3b4fe137fe3dbc4
pkgname = ghc-raspbian-bin
diff --git a/PKGBUILD b/PKGBUILD
index 618f5d8ce8e..496f98d91c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,62 @@ pkgver=7.10.3
pkgrel=7
pkgdesc="GHC binaries for Raspberry Pi from Raspian repositories"
arch=('armv6h')
-url="https://www.haskell.org/ghc/"
+url='https://www.haskell.org/ghc/'
license=('custom')
-conflicts=('ghc')
-provides=(haskell-array haskell-base haskell-binary haskell-bin-package-db haskell-bytestring haskell-cabal haskell-containers haskell-deepseq haskell-directory haskell-filepath haskell-ghc-prim haskell-haskeline haskell-hoopl haskell-hpc haskell-integer-gmp haskell-pretty haskell-process haskell-template-haskell haskell-terminfo haskell-time haskell-transformers haskell-unix haskell-xhtml)
-depends=(gcc gmp libffi perl)
+depends=('perl' 'gmp' 'gcc' 'libffi')
makedepends=('dpkg')
+conflicts=('ghc')
+provides=("ghc=$pkgver"
+ 'haskell-array=0.5.1.0'
+ 'haskell-base=4.8.2.0'
+ 'haskell-binary=0.7.5.0'
+ 'haskell-bin-package-db=0.0.0.0'
+ 'haskell-bytestring=0.10.6.0'
+ 'haskell-cabal=1.22.5.0'
+ 'haskell-containers=0.5.6.2'
+ 'haskell-deepseq=1.4.1.1'
+ 'haskell-directory=1.2.2.0'
+ 'haskell-filepath=1.4.0.0'
+ 'haskell-ghc-prim=0.4.0.0'
+ 'haskell-haskeline=0.7.2.1'
+ 'haskell-hoopl=3.10.0.2'
+ 'haskell-hpc=0.6.0.2'
+ 'haskell-integer-gmp=1.0.0.0'
+ 'haskell-pretty=1.1.2.0'
+ 'haskell-process=1.2.3.0'
+ 'haskell-template-haskell=2.10.0.0'
+ 'haskell-terminfo=0.4.0.1'
+ 'haskell-time=1.5.0.1'
+ 'haskell-transformers=0.4.2.0'
+ 'haskell-unix=2.7.1.0'
+ 'haskell-xhtml=3000.2.1')
+replaces=('haskell-array'
+ 'haskell-base'
+ 'haskell-binary'
+ 'haskell-bin-package-db'
+ 'haskell-bytestring'
+ 'haskell-cabal'
+ 'haskell-containers'
+ 'haskell-deepseq'
+ 'haskell-directory'
+ 'haskell-filepath'
+ 'haskell-ghc-prim'
+ 'haskell-haskeline'
+ 'haskell-hoopl'
+ 'haskell-hpc'
+ 'haskell-integer-gmp'
+ 'haskell-pretty'
+ 'haskell-process'
+ 'haskell-template-haskell'
+ 'haskell-terminfo'
+ 'haskell-time'
+ 'haskell-transformers'
+ 'haskell-unix'
+ 'haskell-xhtml')
+install="$pkgname.install"
+options=('staticlibs')
install="${pkgname}.install"
+options=('staticlibs')
_filename="ghc_${pkgver}-${pkgrel}+rpi1_armhf.deb"
source=("http://archive.raspbian.org/raspbian/pool/main/g/ghc/$_filename")
sha256sums=('61b90723e5a10cf32964bb7292f4ae914f45dcbc2e9bd169f3b4fe137fe3dbc4')
diff --git a/ghc-raspbian-bin.install b/ghc-raspbian-bin.install
index c173198c0bb..b69cfaae5ba 100644
--- a/ghc-raspbian-bin.install
+++ b/ghc-raspbian-bin.install
@@ -14,4 +14,5 @@ pre_upgrade() {
post_upgrade() {
echo '==> All cabalized packages need to be reinstalled now.'
echo '==> See /usr/share/haskell/ for a tentative list of affected packages.'
+ post_install
}