blob: 75df99f27df0831ed7cece827ee3af546465fcd5 (
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 : Aurelien Desbrieres <aurelien@hackers.camp>
# Contributor: Leonard de Ruijter <leonard@aur.archlinux.org>
# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com>
# Contributor: Sergei Lebedev <superbobry@gmail.com>
# Contributor: kfgz <kfgz at interia pl>
# Contributor: Justin Davis <jrcd 83 at gmail>
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')
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
}
|