[arch-commits] Commit in pfff/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Oct 31 13:28:48 UTC 2016
Date: Monday, October 31, 2016 @ 13:28:48
Author: mtorromeo
Revision: 194150
Fixed FS#51596
Modified:
pfff/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-31 13:12:47 UTC (rev 194149)
+++ PKGBUILD 2016-10-31 13:28:48 UTC (rev 194150)
@@ -5,15 +5,16 @@
pkgname='pfff'
pkgver=0.29
-pkgrel=4
+pkgrel=5
pkgdesc='Tools and APIs for code analysis, visualization and transformation'
arch=('i686' 'x86_64')
url='https://github.com/facebook/pfff'
license=('LGPL2.1')
-depends=('ocaml' 'ocaml-findlib' 'camlp4' 'zlib')
+depends=('zlib')
optdepends=('gtk2: required by codegraph and codemap')
-options=(!makeflags staticlibs) # parallel build fails, need *.a files
+makedepends=('ocaml' 'ocaml-findlib' 'camlp4')
+options=(!makeflags staticlibs !strip) # parallel build fails, need *.a files
source=("$pkgname-$pkgver.tar.gz::https://github.com/facebook/pfff/archive/v$pkgver.tar.gz"
"lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch"
"lang_js-analyze-utils_js.mli.patch"
@@ -29,20 +30,18 @@
prepare() {
cd "$srcdir"/$pkgname-$pkgver
- patch -Np1 -i ../0001-Replace-use-of-uint32-by-standard-complient-way.patch
+ patch -Np1 -i ../0001-Replace-use-of-uint32-by-standard-complient-way.patch
patch -Np1 -i ../0001-external-ocamlzip-zip.ml-remove-duplicate-exception.patch
patch -Np1 -i ../0001-lang_php-matcher-Makefile-remove-warn-error.patch
patch -Np1 -i ../lang_js-analyze-utils_js.mli.patch
patch -Np1 -i ../lang_js-analyze-module_js.ml-Fix-invalid-documentati.patch
+ sed 's|/usr/local/|/usr/|g' -i external/ocamlzip/Makefile
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
- make clean
- make depend
- WARNING_FLAGS="-w +A-4-29-6-45-41-44-48" make
- WARNING_FLAGS="-w +A-4-29-6-45-41-44-48" make opt
+ WARNING_FLAGS="-w +A-4-29-6-45-41-44-48" make clean depend all opt
}
package() {
More information about the arch-commits
mailing list