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

Jürgen Hötzel juergen at archlinux.org
Tue Aug 14 16:09:10 UTC 2018


    Date: Tuesday, August 14, 2018 @ 16:09:09
  Author: juergen
Revision: 371605

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 16:08:44 UTC (rev 371604)
+++ PKGBUILD	2018-08-14 16:09:09 UTC (rev 371605)
@@ -1,48 +0,0 @@
-# $Id$
-# 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.05
-pkgrel=6
-pkgdesc='OCaml interface to OpenGL'
-url="https://forge.ocamlcore.org/projects/lablgl/"
-arch=('x86_64')
-license=('BSD')
-depends=('glu' 'glut' 'libxi' 'libxmu' 'libgl' 'ocaml=4.06.0')
-makedepends=('camlp4')
-options=('!strip' '!makeflags' 'staticlibs')
-source=("https://forge.ocamlcore.org/frs/download.php/1254/lablgl-$pkgver.tar.gz")
-sha256sums=('d8ff03e35b970d2b23a942f9e6ed65da5a6c123986bd0ecf5424a6205af34b61')
-
-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 371604, ocaml-lablgl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-14 16:09:09 UTC (rev 371605)
@@ -0,0 +1,48 @@
+# $Id$
+# 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.05
+pkgrel=7
+pkgdesc='OCaml interface to OpenGL'
+url="https://forge.ocamlcore.org/projects/lablgl/"
+arch=('x86_64')
+license=('BSD')
+depends=('glu' 'glut' 'libxi' 'libxmu' 'libgl' 'ocaml=4.07.0')
+makedepends=('camlp4')
+options=('!strip' '!makeflags' 'staticlibs')
+source=("https://forge.ocamlcore.org/frs/download.php/1254/lablgl-$pkgver.tar.gz")
+sha256sums=('d8ff03e35b970d2b23a942f9e6ed65da5a6c123986bd0ecf5424a6205af34b61')
+
+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