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

Jürgen Hötzel juergen at archlinux.org
Fri Aug 16 05:44:37 UTC 2019


    Date: Friday, August 16, 2019 @ 05:44:36
  Author: juergen
Revision: 499700

OCaml 4.08 rebuild

Modified:
  camlp4/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 05:43:29 UTC (rev 499699)
+++ PKGBUILD	2019-08-16 05:44:36 UTC (rev 499700)
@@ -2,27 +2,27 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=camlp4
-pkgver=4.07
-pkgrel=2
+pkgver=4.08
+pkgrel=1
 pkgdesc='Caml preprocessor and pretty-printer'
 arch=('x86_64')
 license=('GPL2')
 url='https://github.com/ocaml/camlp4/releases'
-depends=('ocaml>=4.06.0')
+depends=('ocaml>=4.08.0')
 makedepends=('git' 'ocamlbuild' 'ocaml-compiler-libs')
 options=('!makeflags' '!emptydirs' 'staticlibs')
-source=("git://github.com/ocaml/camlp4#branch=$pkgver")
-md5sums=('SKIP')
+source=("https://github.com/ocaml/camlp4/archive/4.08+1.tar.gz")
+sha256sums=('655cd3bdcafbf8435877f60f4b47dd2eb69feef5afd8881291ef01ba12bd9d88')
 
 build() {
-  cd "$pkgname"
-
+  cd "${srcdir}/$pkgname-${pkgver}-1"
   ./configure
   make all camlp4/META
 }
 
 package() {
-  make -C "$pkgname" \
+  cd "${srcdir}/$pkgname-${pkgver}-1"
+  make \
     BINDIR="$pkgdir/usr/bin" \
     LIBDIR="$pkgdir/usr/lib/ocaml" \
     PKGDIR="$pkgdir/usr/lib/ocaml" \



More information about the arch-commits mailing list