[arch-commits] Commit in camlp4/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Mar 3 22:02:24 UTC 2015
Date: Tuesday, March 3, 2015 @ 23:02:24
Author: arodseth
Revision: 128680
upgpkg: camlp4 4.02.1+3-1
Modified:
camlp4/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-03 21:39:42 UTC (rev 128679)
+++ PKGBUILD 2015-03-03 22:02:24 UTC (rev 128680)
@@ -1,25 +1,32 @@
# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
pkgname=camlp4
-pkgver=4.02.0+1
+pkgver=4.02.1+3
pkgrel=1
-pkgdesc="Caml Preprocessor and Pretty-Printer"
-arch=('i686' 'x86_64')
+pkgdesc='Caml preprocessor and pretty-printer'
+arch=('x86_64' 'i686')
license=('GPL2')
-url="https://github.com/ocaml/camlp4/releases"
+url='https://github.com/ocaml/camlp4/releases'
depends=('ocaml')
-source=(https://github.com/ocaml/camlp4/archive/${pkgver}.tar.gz)
+makedepends=('git')
options=('!makeflags' '!emptydirs' 'staticlibs')
+source=("git://github.com/ocaml/camlp4#tag=$pkgver")
+md5sums=('SKIP')
build() {
- cd "${srcdir}/${pkgname}-4.02.0-1"
+ cd "$pkgname"
+
./configure
make all
}
package() {
- cd "${srcdir}/${pkgbase}-4.02.0-1"
- make BINDIR="${pkgdir}"/usr/bin LIBDIR="${pkgdir}"/usr/lib/ocaml install
+ make -C "$pkgname" \
+ BINDIR="$pkgdir/usr/bin" \
+ LIBDIR="$pkgdir/usr/lib/ocaml" \
+ install
}
-md5sums=('958e994b17ff803ab3a065db1005489e')
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list