[arch-commits] Commit in cppo/trunk (PKGBUILD)

2019-02-28 Thread Bruno Pagani via arch-commits
Date: Thursday, February 28, 2019 @ 14:04:35
  Author: archange
Revision: 437046

upgpkg: cppo 1.6.5-2

Modified:
  cppo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-28 14:03:24 UTC (rev 437045)
+++ PKGBUILD2019-02-28 14:04:35 UTC (rev 437046)
@@ -2,7 +2,7 @@
 
 pkgname=cppo
 pkgver=1.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="C-style preprocessor for OCaml"
 arch=('x86_64')
 url="https://github.com/mjambon/cppo;


[arch-commits] Commit in cppo/trunk (PKGBUILD)

2018-11-27 Thread Bruno Pagani via arch-commits
Date: Tuesday, November 27, 2018 @ 23:53:30
  Author: archange
Revision: 410262

Update to latest dune

Modified:
  cppo/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-27 23:50:53 UTC (rev 410261)
+++ PKGBUILD2018-11-27 23:53:30 UTC (rev 410262)
@@ -24,8 +24,7 @@
 
 package() {
 cd ${pkgname}-${pkgver}
-# Work around install command
-dune install --prefix="${pkgdir}"/usr/ --libdir="${pkgdir}$(ocamlfind 
printconf destdir)"
+DESTDIR="${pkgdir}" dune install --prefix=/usr --libdir="$(ocamlfind 
printconf destdir)"
 install -Dm644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 rm -r "${pkgdir}"/usr/doc
 }


[arch-commits] Commit in cppo/trunk (PKGBUILD)

2018-10-23 Thread Bruno Pagani via arch-commits
Date: Tuesday, October 23, 2018 @ 17:46:47
  Author: archange
Revision: 398699

PKGBUILD cleaning

Modified:
  cppo/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-23 17:45:19 UTC (rev 398698)
+++ PKGBUILD2018-10-23 17:46:47 UTC (rev 398699)
@@ -8,7 +8,7 @@
 url="https://github.com/mjambon/cppo;
 license=('BSD')
 depends=('glibc')
-makedepends=('ocamlbuild' 'dune') # 'opam')
+makedepends=('ocamlbuild' 'dune')
 source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
 sha256sums=('0ebfe3261037a14c9f53b1deb2772af45fda2317b3b17746f2a640034b1b75b6')
 
@@ -24,7 +24,7 @@
 
 package() {
 cd ${pkgname}-${pkgver}
-# Work around the install command
+# Work around install command
 dune install --prefix="${pkgdir}"/usr/ --libdir="${pkgdir}$(ocamlfind 
printconf destdir)"
 install -Dm644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 rm -r "${pkgdir}"/usr/doc


[arch-commits] Commit in cppo/trunk (PKGBUILD)

2018-10-11 Thread Bruno Pagani via arch-commits
Date: Thursday, October 11, 2018 @ 18:40:57
  Author: archange
Revision: 392641

upgpkg: cppo 1.6.5-1

Fix FS#60325

Workaround dune changes

Modified:
  cppo/trunk/PKGBUILD

--+
 PKGBUILD |   22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-11 17:28:53 UTC (rev 392640)
+++ PKGBUILD2018-10-11 18:40:57 UTC (rev 392641)
@@ -1,7 +1,7 @@
 # Maintainer: Bruno Pagani 
 
 pkgname=cppo
-pkgver=1.6.4
+pkgver=1.6.5
 pkgrel=1
 pkgdesc="C-style preprocessor for OCaml"
 arch=('x86_64')
@@ -8,9 +8,9 @@
 url="https://github.com/mjambon/cppo;
 license=('BSD')
 depends=('glibc')
-makedepends=('ocamlbuild' 'dune')
+makedepends=('ocamlbuild' 'dune') # 'opam')
 source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('470a5225a5d3b06ced29581250562ef84b7a8bc6b9a632c96443391a443bab49')
+sha256sums=('0ebfe3261037a14c9f53b1deb2772af45fda2317b3b17746f2a640034b1b75b6')
 
 build() {
 cd ${pkgname}-${pkgver}
@@ -17,15 +17,15 @@
 make
 }
 
+check() {
+cd ${pkgname}-${pkgver}
+make check
+}
+
 package() {
 cd ${pkgname}-${pkgver}
-
-# Initialize OPAM
-export OPAMROOT="${srcdir}"/opam
-opam init -n
-
 # Work around the install command
-make OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" install
-install -Dm755 "${srcdir}"/opam/system/bin/cppo -t "${pkgdir}"/usr/bin
-install -Dm644 "${srcdir}"/opam/system/doc/${pkgname}/LICENSE.md -t 
"${pkgdir}"/usr/share/licenses/${pkgname}/
+dune install --prefix="${pkgdir}"/usr/ --libdir="${pkgdir}$(ocamlfind 
printconf destdir)"
+install -Dm644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+rm -r "${pkgdir}"/usr/doc
 }


[arch-commits] Commit in cppo/trunk (PKGBUILD)

2018-03-29 Thread Bruno Pagani via arch-commits
Date: Thursday, March 29, 2018 @ 14:49:16
  Author: archange
Revision: 313408

upgpkg: cppo 1.6.4-1

Adapt to dune changes too.

Modified:
  cppo/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-29 14:46:29 UTC (rev 313407)
+++ PKGBUILD2018-03-29 14:49:16 UTC (rev 313408)
@@ -1,7 +1,7 @@
 # Maintainer: Bruno Pagani 
 
 pkgname=cppo
-pkgver=1.6.1
+pkgver=1.6.4
 pkgrel=1
 pkgdesc="C-style preprocessor for OCaml"
 arch=('x86_64')
@@ -8,9 +8,9 @@
 url="https://github.com/mjambon/cppo;
 license=('BSD')
 depends=('glibc')
-makedepends=('ocaml-findlib' 'ocamlbuild' 'dune' 'opam')
+makedepends=('ocamlbuild' 'dune')
 source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('0e93522c5e51a9433fc2327f33ebc56f66beee7abaacab8d98de57591a0626e6')
+sha256sums=('470a5225a5d3b06ced29581250562ef84b7a8bc6b9a632c96443391a443bab49')
 
 build() {
 cd ${pkgname}-${pkgver}