[arch-commits] Commit in cppo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Feb 28 14:04:44 UTC 2019
Date: Thursday, February 28, 2019 @ 14:04:43
Author: archange
Revision: 437047
archrelease: copy trunk to community-x86_64
Added:
cppo/repos/community-x86_64/PKGBUILD
(from rev 437046, cppo/trunk/PKGBUILD)
Deleted:
cppo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 30 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-28 14:04:35 UTC (rev 437046)
+++ PKGBUILD 2019-02-28 14:04:43 UTC (rev 437047)
@@ -1,31 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=cppo
-pkgver=1.6.5
-pkgrel=1
-pkgdesc="C-style preprocessor for OCaml"
-arch=('x86_64')
-url="https://github.com/mjambon/cppo"
-license=('BSD')
-depends=('glibc')
-makedepends=('ocamlbuild' 'dune') # 'opam')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('0ebfe3261037a14c9f53b1deb2772af45fda2317b3b17746f2a640034b1b75b6')
-
-build() {
- cd ${pkgname}-${pkgver}
- make
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make check
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- # Work around the 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
-}
Copied: cppo/repos/community-x86_64/PKGBUILD (from rev 437046, cppo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-28 14:04:43 UTC (rev 437047)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=cppo
+pkgver=1.6.5
+pkgrel=2
+pkgdesc="C-style preprocessor for OCaml"
+arch=('x86_64')
+url="https://github.com/mjambon/cppo"
+license=('BSD')
+depends=('glibc')
+makedepends=('ocamlbuild' 'dune')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('0ebfe3261037a14c9f53b1deb2772af45fda2317b3b17746f2a640034b1b75b6')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ 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
+}
More information about the arch-commits
mailing list