Skip to content

Instantly share code, notes, and snippets.

@bullno1
Last active August 22, 2017 16:39
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 bullno1/a1ee6e291c6cbb7fb1a66425f09804ee to your computer and use it in GitHub Desktop.
Save bullno1/a1ee6e291c6cbb7fb1a66425f09804ee to your computer and use it in GitHub Desktop.
PKGBUILD for singularity
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