[arch-commits] Commit in skopeo/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Mon Nov 23 22:30:02 UTC 2020


    Date: Monday, November 23, 2020 @ 22:30:02
  Author: foxboron
Revision: 760160

upgpkg: skopeo 1.2.0-2 - use containers-common

Modified:
  skopeo/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++-------------------------------
 1 file changed, 6 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-23 22:27:14 UTC (rev 760159)
+++ PKGBUILD	2020-11-23 22:30:02 UTC (rev 760160)
@@ -3,33 +3,16 @@
 
 pkgname=skopeo
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A command line utility for various operations on container images and image repositories.'
 arch=(x86_64)
 url='https://github.com/projectatomic/skopeo'
 license=(APACHE)
-depends=(gpgme device-mapper)
+depends=(gpgme device-mapper containers-common)
 makedepends=(go go-md2man btrfs-progs git systemd)
-backup=(etc/containers/policy.json
-        etc/containers/registries.conf
-        etc/containers/registries.d/default.yaml
-        etc/containers/seccomp.json
-        etc/containers/storage.conf)
 _commit=2b4097bc13e7ba1d16a5225e2292a5cf88072f63    #refs/tags/v1.2.0
-source=(git+$url#commit=$_commit
-        containers-storage.conf.5.md
-        policy.json.5.md
-        registries.conf
-        registries.conf.5.md
-        seccomp.json
-        storage.conf)
-sha256sums=('SKIP'
-            '707268f7968a6e4c3be282dcac790f7d208527e6220e95232b11b25401c2c817'
-            'a4dd89bb5d8dec2b3af3888f879144334aeeab31734e19793da498d355994cd9'
-            'bf720633c4c9906e93665813bbf13a73a6cb0df2b412d81228c7673505513d1f'
-            '38264ddcf9699b8f8d7b4823abc118fb01362f2d58836c01df13e3e08b801f9f'
-            'cfa7dd2c35c8e9cba74a68810e1f377e448988ccb0a54b98232313967677326e'
-            '4bcce6e85da1ea07086fe1a921469455c06a0fc083a21692e812643f1c2b22fa')
+source=(git+$url#commit=$_commit)
+sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
@@ -50,14 +33,6 @@
 package() {
   cd $pkgname
   make DESTDIR="$pkgdir" install
-
-  for conf in registries.conf storage.conf seccomp.json; do
-    install -m644 "$srcdir/$conf" -t "$pkgdir/etc/containers/"
-  done
-
-  cd "$srcdir"
-  install -d "$pkgdir/usr/share/man/man5/"
-  for manpage in *.md; do
-    go-md2man -in "$manpage" -out "$pkgdir/usr/share/man/man5/${manpage%*.md}"
-  done
+  rm -rf "${pkgdir}/etc/containers/registries.d"
+  rm "${pkgdir}/etc/containers/policy.json"
 }


More information about the arch-commits mailing list