diff options
author | rubicon <5662-rubicon@users.gitlab.alpinelinux.org> | 2022-05-14 16:14:44 +0800 |
---|---|---|
committer | alice <alice@ayaya.dev> | 2022-05-16 15:34:54 +0000 |
commit | 5115a6149dc8ab69a88a1c8973f436f617c89ee3 (patch) | |
tree | 2b919484eaad0ddff0a8aa214b9f437872724070 /unmaintained | |
parent | 5e28ddd4b304e5458592b92a330375f04c160b40 (diff) | |
download | aports-5115a6149dc8ab69a88a1c8973f436f617c89ee3.zip |
testing/ocaml-ppx_derivers: move from unmaintained
as depends for testing/reason and testing/ocaml-ppxlib
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/ocaml-ppx_derivers/APKBUILD | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/unmaintained/ocaml-ppx_derivers/APKBUILD b/unmaintained/ocaml-ppx_derivers/APKBUILD deleted file mode 100644 index 1603631575d..00000000000 --- a/unmaintained/ocaml-ppx_derivers/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-ppx_derivers -_pkgname=ppx_derivers -pkgver=1.2 -pkgrel=2 -pkgdesc="Shared [@@deriving] plugins registry" -url="https://github.com/ocaml-ppx/ppx_derivers" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="BSD-3-Clause" -depends="ocaml-runtime" -depends_dev="$pkgname=$pkgver-r$pkgrel" -makedepends="dune ocaml ocaml-findlib opam" -options="!check" # no tests provided -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml-ppx/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - jbuilder build @install -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/usr/lib/ocaml - jbuilder install \ - --destdir="$pkgdir/usr" \ - --libdir="$pkgdir/usr/lib/ocaml" - - # There's just a readme and changelog. - rm -Rf "$pkgdir"/usr/doc - - # Remove annotation files and sources. - cd "$pkgdir"/usr/lib/ocaml/$_pkgname - rm -f *.cmt* *.ml -} - -dev() { - local sitelib="usr/lib/ocaml/$_pkgname" - default_dev - - cd "$pkgdir"/$sitelib - - mkdir -p "$subpkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -sha512sums="68e8773cec2ee3c0feb08b7cc8e1b6ce226add4ed6d2ced0e77fe485e48b04570f7049c5bde2ce917a4965d114bbc44400b409c2d76d928913ef4f76c6591a8e ocaml-ppx_derivers-1.2.tar.gz" |