summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 917eb65e674110e2413b5e12f8deaffefac727d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Damien Flament <damien.flament at gmx dot com>

_pkgname=haskell-ide-engine
pkgname=${_pkgname}-git
pkgver=0.1.0.0
pkgrel=1
pkgdesc="The engine for haskell ide-integration. Not an IDE."
arch=('i686' 'x86_64')
url="https://github.com/haskell/haskell-ide-engine"
license=('custom:BSD3')
depends=()
makedepends=('git' 'stack')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git://github.com/haskell/${_pkgname}.git")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

build() {
  cd "${srcdir}/${_pkgname}"

  stack build $_STACK_FLAGS
}

package() {
  cd "${srcdir}/${_pkgname}"

  install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
  
  stack install --local-bin-path "${pkgdir}/usr/bin"
}