summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 618f5d8ce8eac46c97c31aca80019d32ece94a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: João Miguel <jmcf125 at openmailbox dot org>
pkgname=ghc-raspbian-bin
pkgver=7.10.3
pkgrel=7
pkgdesc="GHC binaries for Raspberry Pi from Raspian repositories"
arch=('armv6h')
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)
makedepends=('dpkg')
install="${pkgname}.install"
_filename="ghc_${pkgver}-${pkgrel}+rpi1_armhf.deb"
source=("http://archive.raspbian.org/raspbian/pool/main/g/ghc/$_filename")
sha256sums=('61b90723e5a10cf32964bb7292f4ae914f45dcbc2e9bd169f3b4fe137fe3dbc4')

package() {
   echo '==> Extracting with dpkg. Note: packaging may take over 40 minutes.'
   dpkg -x "$srcdir/$_filename" "$pkgdir"
}