[arch-commits] Commit in packer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Feb 1 03:05:35 UTC 2019
Date: Friday, February 1, 2019 @ 03:05:34
Author: svenstaro
Revision: 428980
archrelease: copy trunk to community-x86_64
Added:
packer/repos/community-x86_64/PKGBUILD
(from rev 428979, packer/trunk/PKGBUILD)
Deleted:
packer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-01 03:05:24 UTC (rev 428979)
+++ PKGBUILD 2019-02-01 03:05:34 UTC (rev 428980)
@@ -1,32 +0,0 @@
-# Maintainer: Christian Rebischke <Chris.Rebischke[at]archlinux[dot]org>
-pkgname=packer
-replaces=('packer-io')
-pkgver=1.3.3
-pkgrel=2
-pkgdesc="tool for creating identical machine images for multiple platforms from a single source configuration"
-arch=('x86_64')
-url="https://github.com/hashicorp/packer"
-license=('MPL')
-makedepends=('git' 'go-pie' 'go-tools')
-depends=('glibc')
-source=("${pkgname}-${pkgver}::https://github.com/hashicorp/packer/archive/v${pkgver}.tar.gz")
-sha512sums=('fc8965fc4c71d12e2d4bf0c2c7cb565834205749390cdbb879acb23143d4b7f4c566b6513afbec61ad73bf3e08a551ce001367ffad105dba68b72f2092d4bb97')
-
-prepare() {
- export GOPATH="${srcdir}"
- export PATH="$PATH:$GOPATH/bin"
- mkdir -p "src/github.com/hashicorp"
- mv "${pkgname}-${pkgver}" "src/github.com/hashicorp/${pkgname}"
- sed -e '/VersionPrerelease = ""/ {N;N;N;d;}' -i "${srcdir}/src/github.com/hashicorp/${pkgname}/Makefile"
-}
-build() {
- cd "src/github.com/hashicorp/${pkgname}"
- go build -o packer-binary
-}
-
-package() {
- cd "src/github.com/hashicorp/${pkgname}"
- install -Dm755 packer-binary "${pkgdir}/usr/bin/packer"
-}
-
-# vim:set et sw=2 ts=2 tw=79:
Copied: packer/repos/community-x86_64/PKGBUILD (from rev 428979, packer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-01 03:05:34 UTC (rev 428980)
@@ -0,0 +1,33 @@
+# Maintainer: Christian Rebischke <Chris.Rebischke[at]archlinux[dot]org>
+pkgname=packer
+replaces=('packer-io')
+pkgver=1.3.4
+pkgrel=1
+pkgdesc="tool for creating identical machine images for multiple platforms from a single source configuration"
+arch=('x86_64')
+url="https://github.com/hashicorp/packer"
+license=('MPL')
+makedepends=('git' 'go-pie' 'go-tools')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hashicorp/packer/archive/v${pkgver}.tar.gz")
+sha512sums=('65b59b240fe48bf0cc9ce7492d2c21ac8c19ff0cae44ea35ca0164c6ba28d34322007999a42759042df6eb90525bbd93322197007149c1960bef80508f4c0b70')
+
+prepare() {
+ export GOPATH="${srcdir}"
+ export PATH="$PATH:$GOPATH/bin"
+ mkdir -p "src/github.com/hashicorp"
+ mv "${pkgname}-${pkgver}" "src/github.com/hashicorp/${pkgname}"
+ sed -e '/VersionPrerelease = ""/ {N;N;N;d;}' -i "${srcdir}/src/github.com/hashicorp/${pkgname}/Makefile"
+}
+build() {
+ cd "src/github.com/hashicorp/${pkgname}"
+ go build -o packer-binary
+}
+
+package() {
+ cd "src/github.com/hashicorp/${pkgname}"
+ install -Dm755 packer-binary "${pkgdir}/usr/bin/packer"
+ install -Dm644 contrib/zsh-completion/_packer "${pkgdir}"/usr/share/zsh/site-functions/_packer
+}
+
+# vim:set et sw=2 ts=2 tw=79:
More information about the arch-commits
mailing list