summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorny-a2020-03-27 19:51:57 +0900
committerny-a2020-03-27 19:51:57 +0900
commitdaff6a0058dbb57e85675f39758eb0712e8c9a92 (patch)
tree4f7f6a84959f158348bd900ffa2f33f29957b642
parent580ca63ff7186bed162798d845b825ea22371b02 (diff)
downloadaur-singularity-container-git.tar.gz
Update to v3.5.2.r400.g4660f35c8
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD31
2 files changed, 27 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ce0bbf3b5f..dea52e11253 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = singularity-container-git
pkgdesc = Container platform focused on supporting "Mobility of Compute".
- pkgver = 2.2.r500.g6007d3a1
+ pkgver = v3.5.2.r400.g4660f35c8
pkgrel = 1
- url = http://singularity.lbl.gov
+ url = https://sylabs.io/singularity/
arch = i686
arch = x86_64
license = BSD
- depends = bash
- depends = python
+ makedepends = go
+ depends = squashfs-tools
+ depends = libseccomp
provides = singularity-container
conflicts = singularity-container
- source = git+https://github.com/gmkurtzer/singularity
+ source = git+https://github.com/sylabs/singularity
md5sums = SKIP
pkgname = singularity-container-git
diff --git a/PKGBUILD b/PKGBUILD
index b0998137ad5..de66dbefd81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,42 @@
-# Maintainer: Fabio Zanini <fabio . zanini at fastmail dot fm>
+# Maintainer: ny-a <nyaarch64@gmail..com>
+# Contributor: Fabio Zanini <fabio . zanini at fastmail dot fm>
pkgname='singularity-container-git'
-pkgver=2.2.r500.g6007d3a1
+_pkgname=singularity
+pkgver=v3.5.2.r400.g4660f35c8
pkgrel=1
pkgdesc='Container platform focused on supporting "Mobility of Compute".'
arch=('i686' 'x86_64')
-url='http://singularity.lbl.gov'
+url='https://sylabs.io/singularity/'
license=('BSD')
-depends=('bash' 'python')
+makedepends=('go')
+depends=('squashfs-tools' 'libseccomp')
provides=('singularity-container')
conflicts=('singularity-container')
-source=('git+https://github.com/gmkurtzer/singularity')
+source=("git+https://github.com/sylabs/${_pkgname}")
md5sums=('SKIP')
pkgver() {
- cd "singularity"
+ cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare(){
+ mkdir -p gopath/src/github.com/sylabs
+ mv $_pkgname gopath/src/github.com/sylabs/
+ ln -sf gopath/src/github.com/sylabs/${_pkgname} ./
+}
+
build() {
- cd "${srcdir}/singularity"
- ./autogen.sh
- ./configure --prefix='/usr'
+ export GOPATH="${srcdir}/gopath"
+ cd "${GOPATH}/src/github.com/sylabs/${_pkgname}"
+ ./mconfig --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var -V ${pkgver}
+ cd builddir
make
}
package() {
- cd "${srcdir}/singularity"
+ export GOPATH="${srcdir}/gopath"
+ cd "${GOPATH}/src/github.com/sylabs/${_pkgname}/builddir"
make DESTDIR="$pkgdir" install
}