aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apptainer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/apptainer/APKBUILD')
-rw-r--r--testing/apptainer/APKBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/testing/apptainer/APKBUILD b/testing/apptainer/APKBUILD
deleted file mode 100644
index 5e58a35c917..00000000000
--- a/testing/apptainer/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Oleg Titov <oleg.titov@gmail.com>
-# Maintainer: Oleg Titov <oleg.titov@gmail.com>
-pkgname=apptainer
-pkgver=1.0.2
-pkgrel=1
-pkgdesc="Apptainer - application containers for Linux"
-url="https://apptainer.org/"
-# aarch64: segmentation fault during build
-# ppc64le: produces a non-PIE suid binary
-arch="all !aarch64 !ppc64le"
-license="Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-LBNL AND MIT AND MPL-2.0 AND Unlicense"
-options="suid !check" # no test suite from upstream
-depends="squashfs-tools"
-makedepends="
- bash
- cni-plugins
- cryptsetup
- go
- libseccomp-dev
- "
-subpackages="$pkgname-doc $pkgname-bash-completion"
-source="https://github.com/apptainer/apptainer/releases/download/v$pkgver/apptainer-$pkgver.tar.gz"
-
-export GOPATH="$srcdir"
-export GOFLAGS="$GOFLAGS -modcacherw -trimpath"
-
-prepare() {
- default_prepare
- echo "$pkgver" > "$builddir"/VERSION
-}
-
-build() {
- # override git dir so it picks up our version above
- GIT_DIR=. ./mconfig \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/infodir \
- --localstatedir=/var \
- --without-network
-
- make -C builddir GOFLAGS="$GOFLAGS"
-}
-
-package() {
- make -C builddir DESTDIR="$pkgdir" GOFLAGS="$GOFLAGS" install
-
- install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
-}
-
-sha512sums="
-c29d04eff3a2ee7126c9bbb65664540a446fe695efc9c4662a6da151b2e809d55c1f5a7b5bddb82ba4fdd41a49ceb538c00a72778a4ed1d0306ff5f49d2f4d53 apptainer-1.0.2.tar.gz
-"