[arch-commits] Commit in ocaml-cairo (3 files)
Baptiste Jonglez
zorun at archlinux.org
Fri Nov 1 17:31:10 UTC 2019
Date: Friday, November 1, 2019 @ 17:31:09
Author: zorun
Revision: 522062
archrelease: copy trunk to community-testing-x86_64
Added:
ocaml-cairo/repos/
ocaml-cairo/repos/community-testing-x86_64/
ocaml-cairo/repos/community-testing-x86_64/PKGBUILD
(from rev 522061, ocaml-cairo/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: ocaml-cairo/repos/community-testing-x86_64/PKGBUILD (from rev 522061, ocaml-cairo/trunk/PKGBUILD)
===================================================================
--- repos/community-testing-x86_64/PKGBUILD (rev 0)
+++ repos/community-testing-x86_64/PKGBUILD 2019-11-01 17:31:09 UTC (rev 522062)
@@ -0,0 +1,27 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=ocaml-cairo
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="OCaml binding to Cairo, a 2D Vector Graphics Library"
+arch=('x86_64')
+url="https://github.com/Chris00/ocaml-cairo"
+license=('LGPL3')
+depends=('ocaml' 'cairo' 'lablgtk2')
+makedepends=('ocaml-findlib' 'dune')
+source=("https://github.com/Chris00/ocaml-cairo/releases/download/${pkgver}/cairo2-${pkgver}.tbz")
+sha256sums=('312982d6ea74cacd51826b40f9fdfe3503d2984afd7c8123d58390b488c364c6')
+
+build() {
+ cd "${srcdir}/cairo2-${pkgver}"
+ dune build -p cairo2,cairo2-gtk,cairo2-pango
+}
+
+
+package() {
+ cd "${srcdir}/cairo2-${pkgver}"
+ DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
+
+ install -dm755 "${pkgdir}/usr/share/"
+ mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+}
More information about the arch-commits
mailing list