Date: Saturday, March 21, 2020 @ 18:44:07 Author: felixonmars Revision: 378289
archrelease: copy trunk to extra-x86_64 Added: ocaml-ctypes/repos/extra-x86_64/PKGBUILD (from rev 378288, ocaml-ctypes/trunk/PKGBUILD) Deleted: ocaml-ctypes/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-21 18:43:50 UTC (rev 378288) +++ PKGBUILD 2020-03-21 18:44:07 UTC (rev 378289) @@ -1,33 +0,0 @@ -# Maintainer: Evangelos Foutras <evange...@foutrelis.com> -# Contributor: Armin K. <krejzi at email dot com> - -pkgname=ocaml-ctypes -pkgver=0.16.0 -pkgrel=1 -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.08.1' 'libffi' 'ocaml-integers') -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=('26395d60fa728ee6277573fdd74a7e82137826b531501fc2791d5db79b843350') - -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 378288, ocaml-ctypes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-21 18:44:07 UTC (rev 378289) @@ -0,0 +1,33 @@ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Armin K. <krejzi at email dot com> + +pkgname=ocaml-ctypes +pkgver=0.16.0 +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.08.1' 'libffi' 'ocaml-integers') +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=('26395d60fa728ee6277573fdd74a7e82137826b531501fc2791d5db79b843350') + +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: