summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c539fde235fc78cf092d7f785fd59b1aed44d029 (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
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Wolfgang Popp <mail@wolfgang-popp.de>
# Contributor: Tharre <tharre3@gmail.com>
# Contributor: Damien Flament <damien.flament at gmx dot com>

pkgname=brittany
pkgver=0.12.1.1.x2
pkgrel=1
pkgdesc='Haskell source code formatter'
arch=(x86_64)
url='https://github.com/lspitzner/brittany'
license=(AGPL3)
makedepends=(stack)
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('97fc02baba76a42d19847f5a695af7fa1c2699e6cfbf91c2604998d8501c0d75')

build() {
  cd $pkgname-$pkgver
  stack build
}

package() {
  cd $pkgname-$pkgver
  stack install --local-bin-path "$pkgdir/usr/bin"
}

# vim: ts=2 sw=2 et: