Date: Wednesday, February 9, 2022 @ 03:12:11 Author: grawlinson Revision: 1129409
upgpkg: singularity-container 3.8.6-1 * New upstream release. * Switch source to git commit from github tarball. Modified: singularity-container/trunk/PKGBUILD ----------+ PKGBUILD | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-09 00:51:01 UTC (rev 1129408) +++ PKGBUILD 2022-02-09 03:12:11 UTC (rev 1129409) @@ -1,9 +1,8 @@ # Maintainer: George Rawlinson <[email protected]> # Contributor: Maciej Sieczka <msieczka at sieczka dot org> -_pkgname=singularity pkgname=singularity-container -pkgver=3.8.5 +pkgver=3.8.6 pkgrel=1 pkgdesc='Application containers for secure high performance computing' arch=('x86_64') @@ -26,16 +25,26 @@ etc/singularity/singularity.conf ) depends=('squashfs-tools' 'libseccomp') -makedepends=('go' 'git' 'cryptsetup') -source=("$pkgname-$pkgver.tar.gz::https://github.com/hpcng/singularity/archive/v$pkgver.tar.gz" - 'tmpfiles.conf') -sha512sums=('c4fc943c6e7099183988bafc894311d5ee48662e4bad03cdbe6c9a2286b9a2c6680f320b6f1fce980868c5ac3f8f4e22ce288dea60429fdf5a15821569115973' +makedepends=('git' 'go' 'cryptsetup') +options=('!lto') +_commit='e6433fa70749b40eadbee29434ec9da0d8985fde' +source=( + "$pkgname::git+https://github.com/hpcng/singularity.git#commit=$_commit" + 'tmpfiles.conf' +) +sha512sums=('SKIP' '54588a0dc709a8bc14adb6b8092da4fc2af5200636d080cdc6179382ff48c9f526ecac7f8e9187cf4faed958588b3d96c09ce4fd89fd714b4d12e816d330c43f') -b2sums=('db26eb86c6821d4540a9e1db5b0ece03228430aa7f3f1137746321e980f9bbdaf57a497ae7104b71d8605b4a747e691a4138dce10ffdbfb706bfdae1af74e257' +b2sums=('SKIP' '33b6c0a8698d15155829af047df42ab2c408f7c604490bdb03210bcf2af175c86a5ad1aaba90452062b21f22f8e36b519f1a07c86ce812af89ebb6f31c160074') +pkgver() { + cd "$pkgname" + + git describe --tags | sed 's/^v//' +} + prepare() { - cd "$_pkgname-$pkgver" + cd "$pkgname" # provide version to build script echo "$pkgver" > VERSION @@ -47,7 +56,7 @@ } build() { - cd "$_pkgname-$pkgver" + cd "$pkgname" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" @@ -66,10 +75,10 @@ } package() { - cd "$_pkgname-$pkgver" + cd "$pkgname" # binaries & man pages - make -C builddir DESTDIR="$pkgdir" install man + make -C builddir DESTDIR="$pkgdir" install # license install -vDm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
