summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 925c6418acddba18ad1cd8c78379a09dbce9409b (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
# Maintainer: CĂ©lestin Matte aur [at] ploudseeker dot com
# Contributor: <oliver (at) first . in - berlin . de>
# Contributor: Charles E. Hawkins <charlesthehawk at yahoo dot com>
# Contributor: Thomas S Hatch <thatch45 (at) Gmail (dot) com>

pkgname=ocaml-curses
pkgver=1.0.11
pkgrel=3
license=('LGPL')
arch=('x86_64')
pkgdesc="Objective Caml libs for curses"
url="https://github.com/mbacarella/curses"
depends=('ncurses' 'glibc')
options=('!strip')
makedepends=('ocaml' 'dune')
source=("https://github.com/mbacarella/curses/archive/${pkgver}.tar.gz")
sha256sums=('603c08e816b22e200f7818544ffd016620a808945cfa757dd1aeb245e0b51c0e')

build() {
    cd "${srcdir}/curses-${pkgver}"
    dune build
}

package() {
    cd "${srcdir}/curses-${pkgver}"
    DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "/usr/lib/ocaml"
    install -dm755 "${pkgdir}/usr/share/"
    mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
}