summaryrefslogtreecommitdiff
path: root/pcr/ocaml-text
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 13:36:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 13:36:45 -0300
commitd1e161df4f6111d527c2570958ebaf637411e3e2 (patch)
tree4231f47e1699769d42f49cccde20687be979e89a /pcr/ocaml-text
parent84b75f29126e52357bbdd40860269d9197fd68fd (diff)
parenta93d4a7da5c55af8f8669fdb63194c0680e0f748 (diff)
downloadabslibre-d1e161df4f6111d527c2570958ebaf637411e3e2.tar.gz
abslibre-d1e161df4f6111d527c2570958ebaf637411e3e2.tar.bz2
abslibre-d1e161df4f6111d527c2570958ebaf637411e3e2.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/ocaml-text')
-rw-r--r--pcr/ocaml-text/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/ocaml-text/PKGBUILD b/pcr/ocaml-text/PKGBUILD
new file mode 100644
index 000000000..436b15727
--- /dev/null
+++ b/pcr/ocaml-text/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor (Arch) : Taylor Venable <taylor@metasyntax.net>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+srcname='ocaml-text'
+pkgname="${srcname}"
+pkgver='0.6'
+pkgrel=1
+pkgdesc='A library for dealing with text in a convenient way'
+arch=('i686' 'x86_64')
+url='http://forge.ocamlcore.org/projects/ocaml-text/'
+license=('BSD')
+depends=('ocaml>=3.11.0')
+makedepends=('ocaml-findlib')
+source=('http://forge.ocamlcore.org/frs/download.php/937/ocaml-text-0.6.tar.gz')
+options=('!strip')
+
+build() {
+ cd "$srcdir/${srcname}-${pkgver}"
+ ./configure
+
+ env DESTDIR="$pkgdir" \
+ OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
+ make
+}
+
+
+package() {
+ mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
+ mkdir -p "$pkgdir/$(ocamlfind printconf destdir)/stublibs"
+ cd "$srcdir/${srcname}-${pkgver}"
+ env DESTDIR="$pkgdir" \
+ OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
+ make install
+ install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}