blob: 3e278d45fd79f3693bb61cbb0164bc093e015de7 (
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
|
# Maintainer: fenuks
pkgname=floskell
pkgver=0.10.8
pkgrel=1
pkgdesc='Floskell is flexible Haskell source code pretty printer.'
arch=(x86_64)
url="https://github.com/ennocramer/${pkgname}"
license=("BSD")
makedepends=(stack)
conflicts=("${pkgname}")
source=("${url}/archive/${pkgname}-${pkgver}.tar.gz")
sha256sums=('6e312f9ab13bf224550f9ffd77ee5d03eb27a7165d1fdc20339dbb228daa82e5')
build() {
cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
stack build
}
package() {
cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
stack install --local-bin-path "${pkgdir}/usr/bin"
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|