aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/singularity/APKBUILD
blob: 5dd21a13929fe80899bfb2c92bf53a24711d80a0 (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:
pkgname=singularity
pkgver=2.5.1
pkgrel=1
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 libarchive-dev"
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="0d59561bcb48cd320389821a144c8f8fe852f352a03c6a055a90ccb915c684d5dd0d91462ce55b3cf0cd0a2471c37aefb895e132a842c4552707c9b7835597d0  singularity-2.5.1.tar.gz"