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

Christian Rebischke shibumi at archlinux.org
Wed Apr 25 22:30:00 UTC 2018


    Date: Wednesday, April 25, 2018 @ 22:29:59
  Author: shibumi
Revision: 318050

upgpkg: packer-io 1.2.3-1

Changed from commit hash to tarball

Modified:
  packer-io/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-25 20:17:54 UTC (rev 318049)
+++ PKGBUILD	2018-04-25 22:29:59 UTC (rev 318050)
@@ -1,7 +1,7 @@
 # Maintainer: Christian Rebischke <Chris.Rebischke[at]archlinux[dot]org>
 _pkgname=packer
 pkgname=packer-io
-pkgver=1.2.2
+pkgver=1.2.3
 pkgrel=1
 pkgdesc="tool for creating identical machine images for multiple platforms from a single source configuration"
 arch=('x86_64')
@@ -9,15 +9,14 @@
 license=('MPL')
 makedepends=('git' 'go-pie' 'go-tools')
 depends=('glibc')
-_packer_commit='ab8811dca8f375344f36dfc32710b9790b2ec03e'
-source=("git+https://github.com/hashicorp/packer#commit=${_packer_commit}")
-sha512sums=('SKIP')
+source=("${pkgname}-${pkgver}::https://github.com/hashicorp/packer/archive/v${pkgver}.tar.gz")
+sha512sums=('36ee75669bf61e14ec733be3946ee6e1f8e265a585e21bdfa98fa6073c6e5bf5a02c7b0b8669632d379e4094d4b7b0fbb06e220865af9c3a89ed258b3166fa58')
 
 prepare() {
   export GOPATH="${srcdir}"
   export PATH="$PATH:$GOPATH/bin"
   mkdir -p "src/github.com/hashicorp"
-  mv ${_pkgname} 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() {



More information about the arch-commits mailing list