Date: Thursday, May 18, 2023 @ 19:37:25 Author: juergen Revision: 478023
archrelease: copy trunk to extra-x86_64 Added: ocaml-ctypes/repos/extra-x86_64/PKGBUILD (from rev 478022, ocaml-ctypes/trunk/PKGBUILD) Deleted: ocaml-ctypes/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 19:37:21 UTC (rev 478022) +++ PKGBUILD 2023-05-18 19:37:25 UTC (rev 478023) @@ -1,33 +0,0 @@ -# Maintainer: Evangelos Foutras <evange...@foutrelis.com> -# Contributor: Armin K. <krejzi at email dot com> - -pkgname=ocaml-ctypes -pkgver=0.20.1 -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.14.0' 'libffi' 'ocaml-integers' 'ocaml-bigarray-compat') -makedepends=('ocaml-findlib' 'ocaml-compiler-libs') -options=('!strip' '!makeflags') -source=($pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/ocaml-ctypes/archive/$pkgver.tar.gz) -sha512sums=('f95e65ce5003a07634afcbee431cb23c54c8335f926074615fc8d76ab777b9d2fce8f75bb25bbb6ed9550a7d6237fb377aa9ad65a426d2d7e387f86c1158fe4a') - -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 478022, ocaml-ctypes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 19:37:25 UTC (rev 478023) @@ -0,0 +1,33 @@ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Armin K. <krejzi at email dot com> + +pkgname=ocaml-ctypes +pkgver=0.20.2 +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' 'libffi' 'ocaml-integers' 'ocaml-bigarray-compat') +makedepends=('ocaml-findlib' 'ocaml-compiler-libs') +options=('!strip' '!makeflags') +source=($pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/ocaml-ctypes/archive/$pkgver.tar.gz) +sha512sums=('99cdc77e5283b26fb8f00376f9fe87f84809f533544409036c622ef3bdeb4b6640ece1976da4ef5f4e7dff0ab5a8dd2994ea939fb8a2832d22579b8e854ee55e') + +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: