summaryrefslogtreecommitdiff
path: root/pcr/ocaml-easy-format/PKGBUILD
blob: 9682c343be2e295ed0c84eb98ca55c02a737fe30 (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
# Contributor (Arch)     : Leonard de Ruijter <leonard@aur.archlinux.org>
# Contributor (Arch)     : Serge Zirukin <ftrvxmtrx@gmail.com>
# Contributor (Arch)     : Sergei Lebedev <superbobry@gmail.com>
# Contributor (Arch)     : kfgz <kfgz at interia pl>
# Contributor (Arch)     : Justin Davis <jrcd 83 at gmail>
# Maintainer  (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=ocaml-easy-format
_oname=easy-format
pkgver=1.0.2
pkgrel=1
pkgdesc="Data pretty printing made easy"
url="http://mjambon.com/easy-format.html"
arch=('i686' 'x86_64' 'mips64el')
options=('!strip' 'staticlibs')
license=('BSD')
makedepends=('ocaml-findlib')
source=(http://mjambon.com/releases/${_oname}/${_oname}-${pkgver}.tar.gz)

build() {
  cd $srcdir/$_oname-$pkgver
  make
}

package() {
  cd $srcdir/$_oname-$pkgver
  mkdir -p ${pkgdir}$(ocamlfind printconf destdir)
  make OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) install
}