blob: 335da31855ae6de520530abf9636814944bb52cc (
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
|
# Maintainer (Arch): Leonard de Ruijter <dev@systeemdenker.nl>
# Contributor (Arch): Serge Zirukin <ftrvxmtrx@gmail.com>
# Contributor (Arch): Sergei Lebedev <superbobry@gmail.com>
# Contributor (Arch): Justin Davis <jrcd 83 at gmail>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=ocaml-biniou
_oname=biniou
pkgver=1.0.11
pkgrel=1
pkgdesc='A binary data serialization format inspired by JSON'
arch=('i686' 'x86_64')
options=('!strip' '!makeflags' 'staticlibs')
license=('BSD')
depends=('glibc')
makedepends=('ocaml-easy-format' 'ocaml-findlib')
url='http://mjambon.com/biniou.html'
source=("https://github.com/mjambon/${_oname}/archive/v${pkgver}.tar.gz")
sha256sums=('e92141c8edfdaaf011f198729b4df0589421f982da061375c8e3fc194503f074')
build() {
cd $srcdir/$_oname-$pkgver
make && make doc
}
package() {
cd $srcdir/$_oname-$pkgver
mkdir -p $pkgdir/usr/bin $pkgdir$(ocamlfind printconf destdir)
make OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) install BINDIR="${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/doc/$pkgname"
install -t "${pkgdir}/usr/share/doc/$pkgname" doc/*
}
|