Last active
August 22, 2017 16:39
-
-
Save bullno1/a1ee6e291c6cbb7fb1a66425f09804ee to your computer and use it in GitHub Desktop.
PKGBUILD for singularity
This file contains 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 | |
pkgver=2.3.1.r23.gdddb21f4 | |
pkgrel=1 | |
pkgdesc="Application containers for Linux" | |
arch=('i686' 'x86_64') | |
license=('BSD') | |
url="https://github.com/singularityware/singularity" | |
depends=('python') | |
source=('git+https://github.com/singularityware/singularity') | |
makedepdends=('git') | |
md5sums=('SKIP') | |
pkgver() { | |
cd "${pkgname}" | |
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "${srcdir}/${pkgname}" | |
./autogen.sh | |
./configure --prefix=/usr --sysconfdir=/etc | |
make | |
} | |
package() { | |
cd "${srcdir}/${pkgname}" | |
make DESTDIR="${pkgdir}/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment