aboutsummaryrefslogtreecommitdiffstats
path: root/testing/singularity/APKBUILD
blob: 11316499f1f39cfbef9095d7c2206b221a731241 (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
# Contributor: Kurt H Maier <khm@sciops.net>
# Maintainer: Kurt H Maier <khm@sciops.net>
pkgname=singularity
pkgver=2.4.2
pkgrel=0
pkgdesc="A container platform focused on supporting 'Mobility of Compute'"
url="http://singularity.lbl.gov/"
arch="all"
license="BSD-3-Clause-LBNL"
depends="python"
makedepends="autoconf automake libtool linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/singularityware/singularity/releases/download/$pkgver/singularity-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver 

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-suid \
		--with-userns
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="2c26af6cd092bc030113cdb2a79430d82d51b7438330a6cd0706e46438296feed4d86b08d57efff0b7df148ca0e08f706b8a214f03439bccd7d196714cd06dbc  singularity-2.4.2.tar.gz"