Skip to content

Instantly share code, notes, and snippets.

@ebetica
Created June 3, 2017 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebetica/930b5f6bf344dd33291933c7906a991d to your computer and use it in GitHub Desktop.
Save ebetica/930b5f6bf344dd33291933c7906a991d to your computer and use it in GitHub Desktop.
Singularity Container pkgbuild
pkgname='singularity-container'
pkgver='2.3'
pkgrel='0'
pkgdesc='Container platform focused on supporting "Mobility of Compute".'
arch=('i686' 'x86_64')
url='http://singularity.lbl.gov'
license=('BSD')
depends=('bash' 'python')
source=("https://github.com/singularityware/singularity/releases/download/${pkgver}/singularity-${pkgver}.tar.gz")
md5sums=('dbc02b17f15680c378c1ec9e4d80956d')
build() {
cd "${srcdir}/singularity-${pkgver}"
./configure --prefix='/usr'
make
}
package() {
cd "${srcdir}/singularity-${pkgver}"
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment