[arch-commits] Commit in cloud-utils/repos/community-any (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at archlinux.org
Fri Nov 6 22:20:08 UTC 2020
Date: Friday, November 6, 2020 @ 22:20:07
Author: kpcyrd
Revision: 744667
archrelease: copy trunk to community-any
Added:
cloud-utils/repos/community-any/PKGBUILD
(from rev 744666, cloud-utils/trunk/PKGBUILD)
Deleted:
cloud-utils/repos/community-any/PKGBUILD
----------+
PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 46 insertions(+), 21 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-06 22:19:53 UTC (rev 744666)
+++ PKGBUILD 2020-11-06 22:20:07 UTC (rev 744667)
@@ -1,21 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=cloud-utils
-pkgver=0.31
-pkgrel=2
-pkgdesc="Useful set of utilities for interacting with a cloud"
-url="https://launchpad.net/cloud-utils"
-depends=('e2fsprogs' 'python' 'gptfdisk' 'ca-certificates' 'file' 'cdrtools' 'qemu-headless' 'wget')
-arch=('any')
-license=('GPL3')
-source=("https://launchpad.net/cloud-utils/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
-b2sums=('78216f9dbff8b0f02be0f353079c93fc327a60113661583cbfd11dbe439b13133d5d33c679583a4109d309b78709f1d121e0c3ee42e35d5b3f25690ca6b3df3b')
-
-package() {
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}/" install
- # clean up empty usr/share/doc/cloud-utils/
- find "${pkgdir}" -type d -empty -delete
-}
-
-# vim:set ts=2 sw=2 et:
Copied: cloud-utils/repos/community-any/PKGBUILD (from rev 744666, cloud-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-06 22:20:07 UTC (rev 744667)
@@ -0,0 +1,46 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgbase=cloud-utils
+pkgname=(cloud-utils cloud-guest-utils cloud-image-utils)
+pkgver=0.32
+pkgrel=1
+url="https://launchpad.net/cloud-utils"
+arch=('any')
+license=('GPL3')
+source=("https://launchpad.net/cloud-utils/trunk/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz")
+b2sums=('87233a0f2b62f6df15a8d8575ec9a176fa588b5ff42f4e13cc8a071d486b6192d53e1c989f13bb91e6ae84c0a2066c9e43554a8f0acf3026fcb641e4a512508c')
+
+package_cloud-utils() {
+ pkgdesc="Useful set of utilities for interacting with a cloud (meta package)"
+ depends=('cloud-guest-utils' 'cloud-image-utils')
+}
+
+package_cloud-guest-utils() {
+ pkgdesc="Useful set of utilities for interacting with a cloud (cloud guests)"
+ depends=('python')
+
+ cd "${pkgbase}-${pkgver}"
+
+ for bin in ec2metadata growpart vcs-run; do
+ install -Dm 755 "bin/${bin}" -t "${pkgdir}/usr/bin"
+ done
+
+ install -Dm 644 "man/growpart.1" -t "${pkgdir}/usr/share/man/man1"
+}
+
+package_cloud-image-utils() {
+ pkgdesc="Useful set of utilities for interacting with a cloud (cloud images)"
+ depends=('python' 'ca-certificates' 'cdrtools' 'qemu-headless' 'wget')
+
+ cd "${pkgbase}-${pkgver}"
+
+ for bin in cloud-localds mount-image-callback resize-part-image ubuntu-cloudimg-query write-mime-multipart; do
+ install -Dm 755 "bin/${bin}" -t "${pkgdir}/usr/bin"
+ done
+
+ for man in cloud-localds resize-part-image write-mime-multipart; do
+ install -Dm 644 "man/${man}.1" -t "${pkgdir}/usr/share/man/man1"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list