36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'zeroinstall'
|
|
pkgname=zeroinstall
|
|
version=2.17
|
|
revision=3
|
|
wrksrc="0install-v${version}"
|
|
build_style=gnu-makefile
|
|
make_install_target="install_system"
|
|
hostmakedepends="gettext ocaml opam m4 tar pkg-config which"
|
|
makedepends="libressl-devel libcurl-devel gnupg glib-devel gtk+3-devel"
|
|
depends="gnupg desktop-file-utils hicolor-icon-theme xdg-utils"
|
|
short_desc="Cross-distribution software installation system"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="LGPL-2.1-only"
|
|
homepage="http://0install.net"
|
|
distfiles="https://github.com/0install/0install/releases/download/v${version}/0install-v${version}.tbz"
|
|
checksum=1704e5d852bad79ef9f5b5b31146846420270411c5396434f6fe26577f2d0923
|
|
nocross="opam is nocross"
|
|
disable_parallel_build=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) ;;
|
|
ppc*) broken="relocation out of range";;
|
|
esac
|
|
|
|
pre_build() {
|
|
opam init -y --compiler=ocaml-system --disable-sandboxing
|
|
eval $(opam env)
|
|
opam install -y yojson xmlm ounit lwt lwt_react obus ocurl sha dune lablgtk3 lwt_glib
|
|
}
|
|
|
|
zeroinstall-injector_package() {
|
|
build_style=meta
|
|
short_desc+=" - transitional dummy pkg"
|
|
depends="zeroinstall-${version}_${revision}"
|
|
}
|