summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0998137ad502c8b0fd5f6d40ca3e8161c92d4ab (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
# Maintainer: Fabio Zanini <fabio . zanini at fastmail dot fm>

pkgname='singularity-container-git'
pkgver=2.2.r500.g6007d3a1
pkgrel=1
pkgdesc='Container platform focused on supporting "Mobility of Compute".'
arch=('i686' 'x86_64')
url='http://singularity.lbl.gov'
license=('BSD')
depends=('bash' 'python')
provides=('singularity-container')
conflicts=('singularity-container')
source=('git+https://github.com/gmkurtzer/singularity')
md5sums=('SKIP')

pkgver() {
  cd "singularity"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${srcdir}/singularity"
  ./autogen.sh
  ./configure --prefix='/usr'
  make
}

package() {
  cd "${srcdir}/singularity"
  make DESTDIR="$pkgdir" install
}