[arch-commits] Commit in ocaml-lablgl/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Mon May 18 17:43:41 UTC 2020


    Date: Monday, May 18, 2020 @ 17:43:41
  Author: juergen
Revision: 629587

archrelease: copy trunk to community-x86_64

Added:
  ocaml-lablgl/repos/community-x86_64/PKGBUILD
    (from rev 629586, ocaml-lablgl/trunk/PKGBUILD)
Deleted:
  ocaml-lablgl/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-18 17:43:28 UTC (rev 629586)
+++ PKGBUILD	2020-05-18 17:43:41 UTC (rev 629587)
@@ -1,46 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Florian Dejonckheere <florian at floriandejonckheere.be>
-# Contributor: Bartłomiej Piotrowski <spam at bpiotrowski.pl>
-# Contributor: Nikolay Amiantov <nikoamia at gmail.com>
-
-pkgname=ocaml-lablgl
-pkgver=1.06
-pkgrel=5
-pkgdesc='OCaml interface to OpenGL'
-url="https://github.com/garrigue/lablgl"
-arch=('x86_64')
-license=('BSD')
-depends=('glu' 'glut' 'libxi' 'libxmu' 'libgl' 'ocaml=4.09.1')
-options=('!strip' '!makeflags' 'staticlibs')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('d11852cbdbd40a14a22b30a218d009033c810de461e5717582f5dbe480296a7a')
-
-prepare() {
-    cd "${srcdir}"/lablgl-${pkgver}
-
-    printf 'RANLIB = :\n' > Makefile.config
-    printf 'GLLIBS = -lGL -lGLU\n' >> Makefile.config
-    printf 'GLUTLIBS = -lglut\n' >> Makefile.config
-}
-
-build() {
-  cd "${srcdir}"/lablgl-${pkgver}
-
-  make lib
-  make libopt
-}
-
-package() {
-    cd "${srcdir}"/lablgl-${pkgver}
-
-    # Install routines are broken and don't ensure this is created first.
-    mkdir -p "${pkgdir}"/usr/lib/ocaml/stublibs
-
-    make install BINDIR="${pkgdir}/usr/bin/" \
-                 LIBDIR="${pkgdir}/usr/lib/ocaml/" \
-                 DDLDIR="${pkgdir}/usr/lib/ocaml/stublibs/" \
-                 INSTALLDIR="${pkgdir}/usr/lib/ocaml/lablGL/"
-
-    install -Dm644 src/lablgl.cmxa "${pkgdir}"/usr/lib/ocaml/lablgl.cmxa
-    install -Dm644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: ocaml-lablgl/repos/community-x86_64/PKGBUILD (from rev 629586, ocaml-lablgl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-18 17:43:41 UTC (rev 629587)
@@ -0,0 +1,46 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Florian Dejonckheere <florian at floriandejonckheere.be>
+# Contributor: Bartłomiej Piotrowski <spam at bpiotrowski.pl>
+# Contributor: Nikolay Amiantov <nikoamia at gmail.com>
+
+pkgname=ocaml-lablgl
+pkgver=1.06
+pkgrel=6
+pkgdesc='OCaml interface to OpenGL'
+url="https://github.com/garrigue/lablgl"
+arch=('x86_64')
+license=('BSD')
+depends=('glu' 'glut' 'libxi' 'libxmu' 'libgl' 'ocaml=4.10.0')
+options=('!strip' '!makeflags' 'staticlibs')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('d11852cbdbd40a14a22b30a218d009033c810de461e5717582f5dbe480296a7a')
+
+prepare() {
+    cd "${srcdir}"/lablgl-${pkgver}
+
+    printf 'RANLIB = :\n' > Makefile.config
+    printf 'GLLIBS = -lGL -lGLU\n' >> Makefile.config
+    printf 'GLUTLIBS = -lglut\n' >> Makefile.config
+}
+
+build() {
+  cd "${srcdir}"/lablgl-${pkgver}
+
+  make lib
+  make libopt
+}
+
+package() {
+    cd "${srcdir}"/lablgl-${pkgver}
+
+    # Install routines are broken and don't ensure this is created first.
+    mkdir -p "${pkgdir}"/usr/lib/ocaml/stublibs
+
+    make install BINDIR="${pkgdir}/usr/bin/" \
+                 LIBDIR="${pkgdir}/usr/lib/ocaml/" \
+                 DDLDIR="${pkgdir}/usr/lib/ocaml/stublibs/" \
+                 INSTALLDIR="${pkgdir}/usr/lib/ocaml/lablGL/"
+
+    install -Dm644 src/lablgl.cmxa "${pkgdir}"/usr/lib/ocaml/lablgl.cmxa
+    install -Dm644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list