[arch-commits] Commit in containerd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed May 12 23:36:21 UTC 2021
Date: Wednesday, May 12, 2021 @ 23:36:21
Author: foxboron
Revision: 932873
archrelease: copy trunk to community-x86_64
Added:
containerd/repos/community-x86_64/PKGBUILD
(from rev 932872, containerd/trunk/PKGBUILD)
Deleted:
containerd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-12 23:36:14 UTC (rev 932872)
+++ PKGBUILD 2021-05-12 23:36:21 UTC (rev 932873)
@@ -1,44 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Contributor: Sébastien "Seblu" Luttringer
-# Contributor: Iwan Timmer <irtimmer at gmail.com>
-
-pkgname=containerd
-pkgver=1.5.0
-pkgrel=1
-pkgdesc='An open and reliable container runtime'
-url='https://containerd.io/'
-depends=('runc')
-makedepends=('go' 'git' 'btrfs-progs' 'libseccomp' 'containers-common' 'go-md2man')
-provides=('container-runtime')
-arch=('x86_64')
-license=("Apache")
-source=("git+https://github.com/containerd/containerd.git#tag=v${pkgver}?signed")
-validpgpkeys=("8C7A111C21105794B0E8A27BF58C5D0A4405ACDB") # Derek McGowan
-sha256sums=('SKIP')
-
-prepare() {
- # fix paths in service
- sed -i 's,/sbin,/usr/bin,;s,/usr/local,/usr,' $pkgname/containerd.service
-}
-
-build() {
- cd "${pkgname}"
- export GOFLAGS="-trimpath -mod=readonly -modcacherw"
- make VERSION=v$pkgver
- make VERSION=v$pkgver man
-}
-
-check() {
- cd "${pkgname}"
- # Ugly, but they are trying to do priviledged operations during testing
- GOFLAGS="" make test || true
-}
-
-package() {
- cd "${pkgname}"
- make DESTDIR="$pkgdir/usr" install
- install -Dm644 containerd.service "$pkgdir"/usr/lib/systemd/system/containerd.service
- install -Dm644 man/*.8 -t "$pkgdir/usr/share/man/man8"
- install -Dm644 man/*.5 -t "$pkgdir/usr/share/man/man5"
-}
Copied: containerd/repos/community-x86_64/PKGBUILD (from rev 932872, containerd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-12 23:36:21 UTC (rev 932873)
@@ -0,0 +1,44 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Contributor: Sébastien "Seblu" Luttringer
+# Contributor: Iwan Timmer <irtimmer at gmail.com>
+
+pkgname=containerd
+pkgver=1.5.0
+pkgrel=2
+pkgdesc='An open and reliable container runtime'
+url='https://containerd.io/'
+depends=('runc')
+makedepends=('go' 'git' 'btrfs-progs' 'libseccomp' 'containers-common' 'go-md2man')
+provides=('container-runtime')
+arch=('x86_64')
+license=("Apache")
+source=("git+https://github.com/containerd/containerd.git#tag=v${pkgver}?signed")
+validpgpkeys=("8C7A111C21105794B0E8A27BF58C5D0A4405ACDB") # Derek McGowan
+sha256sums=('SKIP')
+
+prepare() {
+ # fix paths in service
+ sed -i 's,/sbin,/usr/bin,;s,/usr/local,/usr,' $pkgname/containerd.service
+}
+
+build() {
+ cd "${pkgname}"
+ export GOFLAGS="-trimpath -mod=readonly -modcacherw"
+ make VERSION=v$pkgver EXTRA_LDFLAGS="-buildid="
+ make VERSION=v$pkgver man
+}
+
+check() {
+ cd "${pkgname}"
+ # Ugly, but they are trying to do priviledged operations during testing
+ GOFLAGS="" make test || true
+}
+
+package() {
+ cd "${pkgname}"
+ make DESTDIR="$pkgdir/usr" install
+ install -Dm644 containerd.service "$pkgdir"/usr/lib/systemd/system/containerd.service
+ install -Dm644 man/*.8 -t "$pkgdir/usr/share/man/man8"
+ install -Dm644 man/*.5 -t "$pkgdir/usr/share/man/man5"
+}
More information about the arch-commits
mailing list