blob: 1313b3c0e988306a4053212ae8f40972d18ac6ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Ashwin Vishnu <y4d71nsar@relay.firefox.com>
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
# Contributor: Corpswalker <corpswalker@gmail.com>
pkgname=micromamba-bin
pkgver=2.0.5.0
_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=1
pkgdesc="Tiny version of mamba, the fast conda package installer"
arch=(x86_64 aarch64 powerpc64le)
url="https://github.com/mamba-org/mamba"
license=(BSD-3-clause)
source_x86_64=(${pkgname%-bin}-${pkgver}-x86_64.tar.bz2::https://api.anaconda.org/download/conda-forge/${pkgname%-bin}/${pkgver%.*}/linux-64/${pkgname%-bin}-${_pkgver}.tar.bz2)
source_aarch64=(${pkgname%-bin}-${pkgver}-aarch64.tar.bz2::https://api.anaconda.org/download/conda-forge/${pkgname%-bin}/${pkgver%.*}/linux-aarch64/${pkgname%-bin}-${_pkgver}.tar.bz2)
source_powerpc64le=(${pkgname%-bin}-${pkgver}-powerpc64le.tar.bz2::https://api.anaconda.org/download/conda-forge/${pkgname%-bin}/${pkgver%.*}/linux-ppc64le/${pkgname%-bin}-${_pkgver}.tar.bz2)
options=(strip)
depends=(glibc)
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
sha512sums_x86_64=('a1171e601391b25bf68c2006d2114b5db523711a6b4857365b19f2d59357e4bf361b94f5b684dd45b0cc12aa0491e637bdc6301123daf05aab42fd0b8d979a25')
sha512sums_aarch64=('91c0e0508493e61789cb012564a1b7765147ca65f1523fcaf9bc7974deb48afa7d6a29d73abb9214c01d13d7f727e26f2479fa6c2206d39547f654a182b2a9aa')
sha512sums_powerpc64le=('a875a8d2f3c0b71eb9165ed4405d65b11a05892b6282638e4565c63cb7ba07e1ef4c4f6087f98c39d3569bb5215d467fc0da62818e4fa5ed6efa4289a9890708')
check() {
export PREFIX="${srcdir}"
export PATH="${PREFIX}/bin:${PATH}"
echo "Testing with ${PREFIX}/bin/${pkgname%-bin}"
bash info/test/run_test.sh
}
package() {
install -Dm775 "bin/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"
install -Dm 644 info/licenses/mamba/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|