Date: Monday, January 22, 2018 @ 20:27:46 Author: juergen Revision: 315273
archrelease: copy trunk to extra-x86_64 Added: ocaml-ctypes/repos/extra-x86_64/PKGBUILD (from rev 315272, ocaml-ctypes/trunk/PKGBUILD) Deleted: ocaml-ctypes/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-22 20:27:27 UTC (rev 315272) +++ PKGBUILD 2018-01-22 20:27:46 UTC (rev 315273) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Evangelos Foutras <evange...@foutrelis.com> -# Contributor: Armin K. <krejzi at email dot com> - -pkgname=ocaml-ctypes -pkgver=0.11.5 -pkgrel=1 -pkgdesc="Library for binding to C libraries using pure OCaml" -arch=('i686' 'x86_64') -url="https://github.com/ocamllabs/ocaml-ctypes" -license=('MIT') -depends=('ocaml=4.05.0' 'libffi') -makedepends=('ocaml-findlib') -options=('!strip' '!makeflags') -source=($pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/ocaml-ctypes/archive/$pkgver.tar.gz) -sha256sums=('ee0f9a61cdc9bd3de7dc6f605d556533536e27694f5e2ea9bf25f76f74f68f98') - -build() { - cd "$srcdir/$pkgname-$pkgver" - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - local _destdir="$pkgdir$(ocamlfind printconf destdir)" - install -d "$_destdir/stublibs" - - make OCAMLFIND_DESTDIR="$_destdir" install - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: ocaml-ctypes/repos/extra-x86_64/PKGBUILD (from rev 315272, ocaml-ctypes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-22 20:27:46 UTC (rev 315273) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Armin K. <krejzi at email dot com> + +pkgname=ocaml-ctypes +pkgver=0.11.5 +pkgrel=2 +pkgdesc="Library for binding to C libraries using pure OCaml" +arch=('x86_64') +url="https://github.com/ocamllabs/ocaml-ctypes" +license=('MIT') +depends=('ocaml=4.06.0' 'libffi') +makedepends=('ocaml-findlib' 'ocaml-compiler-libs') +options=('!strip' '!makeflags') +source=($pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/ocaml-ctypes/archive/$pkgver.tar.gz) +sha256sums=('ee0f9a61cdc9bd3de7dc6f605d556533536e27694f5e2ea9bf25f76f74f68f98') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + local _destdir="$pkgdir$(ocamlfind printconf destdir)" + install -d "$_destdir/stublibs" + + make OCAMLFIND_DESTDIR="$_destdir" install + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: