aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-lwt
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-07 13:33:31 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-07 18:41:28 +0200
commitc1a4655c1c5ba63241798b9b574c2439cb244320 (patch)
tree61a55d65e3455580770e6da5739029eaba2ecaff /testing/ocaml-lwt
parent4989c8474b3a62277cb3d96e6cce2435aac32358 (diff)
downloadaports-c1a4655c1c5ba63241798b9b574c2439cb244320.tar.bz2
aports-c1a4655c1c5ba63241798b9b574c2439cb244320.tar.xz
testing/ocaml-lwt: rename subpkg ocaml-lwt-react to ocaml-lwt_react
To be consistent in naming.
Diffstat (limited to 'testing/ocaml-lwt')
-rw-r--r--testing/ocaml-lwt/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/ocaml-lwt/APKBUILD b/testing/ocaml-lwt/APKBUILD
index 040a791a16..c23100bc7d 100644
--- a/testing/ocaml-lwt/APKBUILD
+++ b/testing/ocaml-lwt/APKBUILD
@@ -3,7 +3,7 @@
pkgname=ocaml-lwt
_pkgname=lwt
pkgver=3.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="OCaml promises and concurrent I/O"
url="https://github.com/ocsigen/lwt"
arch="all !x86 !armhf !s390x" # limited by ocaml aport
@@ -26,7 +26,7 @@ makedepends="$depends_dev
ocaml-result-dev
opam
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-react"
+subpackages="$pkgname-dev $pkgname-doc ${pkgname}_react:_react"
source="$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/$_pkgname/archive/$pkgver.tar.gz
result_lseek_noinline.patch"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -68,7 +68,7 @@ package() {
rm -Rf "$pkgdir"/usr/lib/ocaml/$_pkgname*/*.ml
}
-react() {
+_react() {
pkgdesc="$pkgdesc (for FRP)"
depends="$pkgname=$pkgver-r$pkgrel ocaml-react"
@@ -78,7 +78,7 @@ react() {
dev() {
default_dev
- depends="$depends $pkgname=$pkgver-r$pkgrel $pkgname-react=$pkgver-r$pkgrel"
+ depends="$depends $pkgname=$pkgver-r$pkgrel ${pkgname}_react=$pkgver-r$pkgrel"
local sitelib="usr/lib/ocaml/$_pkgname"
cd "$pkgdir"/$sitelib