mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 23:11:36 +01:00
31 lines
910 B
Plaintext
31 lines
910 B
Plaintext
# Contributor: Andy Li <andy@onthewings.net>
|
|
# Maintainer: Andy Li <andy@onthewings.net>
|
|
pkgname=ocaml-obuild
|
|
_pkgname=obuild
|
|
pkgver=0.1.10
|
|
pkgrel=0
|
|
pkgdesc="Simple package build system for ocaml"
|
|
url="https://github.com/ocaml-obuild/obuild"
|
|
arch="all !x86 !armhf !armv7 !s390x !mips !mips64 !riscv64" # limited by ocaml aport
|
|
license="BSD-2-Clause"
|
|
depends="ocaml-runtime"
|
|
makedepends="ocaml ocaml-findlib opam"
|
|
options="!check" # no tests provided
|
|
source="$pkgname-$pkgver.tar.gz::$url/archive/obuild-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-obuild-v$pkgver"
|
|
|
|
build() {
|
|
./bootstrap
|
|
}
|
|
|
|
package() {
|
|
opam-installer -i \
|
|
--prefix="$pkgdir/usr" \
|
|
--libdir="$pkgdir/usr/lib/ocaml" \
|
|
$_pkgname.install
|
|
|
|
rm -rf "$builddir/dist"
|
|
}
|
|
|
|
sha512sums="23667213ec7de6610fd5b3c7e0c5f98c081d0244619ed0c833ad13647b9a40561f21e862574488454993eab84a8467f4b2caa3288293451bb54f08b92d280175 ocaml-obuild-0.1.10.tar.gz"
|