summaryrefslogtreecommitdiff
path: root/pcr/ocaml-easy-format/PKGBUILD
blob: 1aaf766e4feab35354ee902631a633bd8fd03819 (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 (Arch): Leonard de Ruijter <alderuijter@gmail.com>
# 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: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=ocaml-easy-format
_oname=easy-format
pkgver=1.2.0
pkgrel=1
pkgdesc="Data pretty printing made easy"
url="http://mjambon.com/easy-format.html"
arch=('i686' 'x86_64')
options=('!strip' 'staticlibs')
license=('BSD')
makedepends=('ocaml-findlib')
source=("https://github.com/mjambon/${_oname}/archive/v${pkgver}.tar.gz")
sha256sums=('a288fabcdc19c2262e76cf93e0fd987fe1b21493edd13309522fbae405329ffd')
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
}