Created
June 3, 2017 15:04
-
-
Save ebetica/930b5f6bf344dd33291933c7906a991d to your computer and use it in GitHub Desktop.
Singularity Container pkgbuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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