updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / ocaml-zed / PKGBUILD
blob7b335d5c661bebbea2198b484e788f44315dae76
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='zed'
4 pkgname="ocaml-${srcname}"
5 pkgver=1.1
6 pkgrel=1
7 pkgdesc='An abstract engine for text editing'
8 arch=('i686' 'x86_64')
9 url='http://forge.ocamlcore.org/projects/zed/'
10 license=('BSD')
11 depends=('ocaml' 'ocaml-camomile' 'ocaml-react')
12 makedepends=('ocaml-findlib')
13 source=('http://forge.ocamlcore.org/frs/download.php/672/zed-1.1.tar.gz')
14 options=('!strip')
15 md5sums=('3c2fc2b9757417dc225509ea88edcaa0')
17 build() {
18     cd "$srcdir/${srcname}-${pkgver}"
19     ./configure
21     env DESTDIR="$pkgdir" \
22         OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
23         make
27 package() {
28     mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
29     mkdir -p "$pkgdir/$(ocamlfind printconf destdir)/stublibs"
30     cd "$srcdir/${srcname}-${pkgver}"
31     env DESTDIR="$pkgdir" \
32         OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
33         make install
34     install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE