[arch-commits] Commit in camlp4/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jürgen Hötzel
juergen at archlinux.org
Thu Oct 10 09:37:29 UTC 2019
Date: Thursday, October 10, 2019 @ 09:37:28
Author: juergen
Revision: 514425
archrelease: copy trunk to community-x86_64
Added:
camlp4/repos/community-x86_64/PKGBUILD
(from rev 514424, camlp4/trunk/PKGBUILD)
Deleted:
camlp4/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 38 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-10 09:36:41 UTC (rev 514424)
+++ PKGBUILD 2019-10-10 09:37:28 UTC (rev 514425)
@@ -1,32 +0,0 @@
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=camlp4
-pkgver=4.08
-pkgrel=2
-pkgdesc='Caml preprocessor and pretty-printer'
-arch=('x86_64')
-license=('GPL2')
-url='https://github.com/ocaml/camlp4/releases'
-depends=('ocaml>=4.08.0')
-makedepends=('git' 'ocamlbuild' 'ocaml-compiler-libs')
-options=('!makeflags' '!emptydirs' 'staticlibs')
-source=("https://github.com/ocaml/camlp4/archive/4.08+1.tar.gz")
-sha256sums=('655cd3bdcafbf8435877f60f4b47dd2eb69feef5afd8881291ef01ba12bd9d88')
-
-build() {
- cd "${srcdir}/$pkgname-${pkgver}-1"
- ./configure
- make all camlp4/META
-}
-
-package() {
- cd "${srcdir}/$pkgname-${pkgver}-1"
- make \
- BINDIR="$pkgdir/usr/bin" \
- LIBDIR="$pkgdir/usr/lib/ocaml" \
- PKGDIR="$pkgdir/usr/lib/ocaml" \
- install install-META
-}
-
-# vim:set ts=2 sw=2 et:
Copied: camlp4/repos/community-x86_64/PKGBUILD (from rev 514424, camlp4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-10 09:37:28 UTC (rev 514425)
@@ -0,0 +1,38 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=camlp4
+pkgver=4.08
+pkgrel=3
+pkgdesc='Caml preprocessor and pretty-printer'
+arch=('x86_64')
+license=('GPL2')
+url='https://github.com/ocaml/camlp4/releases'
+depends=('ocaml>=4.09.0')
+makedepends=('git' 'ocamlbuild' 'ocaml-compiler-libs')
+options=('!makeflags' '!emptydirs' 'staticlibs')
+source=("https://github.com/ocaml/camlp4/archive/4.08+1.tar.gz" "configure.patch")
+sha256sums=('655cd3bdcafbf8435877f60f4b47dd2eb69feef5afd8881291ef01ba12bd9d88'
+ '6add54ea15e44df000446deede1e9aa0bad742c647b3d1cd4e67db0bb947fb98')
+
+prepare() {
+ cd "${srcdir}/$pkgname-${pkgver}-1"
+ patch -i "${srcdir}/configure.patch" -p0
+}
+
+build() {
+ cd "${srcdir}/$pkgname-${pkgver}-1"
+ ./configure
+ make all camlp4/META
+}
+
+package() {
+ cd "${srcdir}/$pkgname-${pkgver}-1"
+ make \
+ BINDIR="$pkgdir/usr/bin" \
+ LIBDIR="$pkgdir/usr/lib/ocaml" \
+ PKGDIR="$pkgdir/usr/lib/ocaml" \
+ install install-META
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list