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

Baptiste Jonglez zorun at archlinux.org
Thu May 25 14:52:04 UTC 2017


    Date: Thursday, May 25, 2017 @ 14:52:03
  Author: zorun
Revision: 230095

kashmir: fix package function

Modified:
  kashmir/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-25 14:48:46 UTC (rev 230094)
+++ PKGBUILD	2017-05-25 14:52:03 UTC (rev 230095)
@@ -1,5 +1,6 @@
 # Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
 pkgname=kashmir
+_githash=2f3913f49c4ac7f9bff9224db5178f6f8f0ff3ee
 pkgver=20150805
 pkgrel=2
 pkgdesc="A header-only library intended to provide functionality needed in many software projects, but not present in the C++ standard library"
@@ -6,11 +7,11 @@
 arch=('any')
 url="https://github.com/Corvusoft/kashmir-dependency"
 license=('custom:boost')
-source=("https://github.com/Corvusoft/kashmir-dependency/archive/2f3913f49c4ac7f9bff9224db5178f6f8f0ff3ee/$pkgname-$pkgver.tar.gz")
+source=("https://github.com/Corvusoft/kashmir-dependency/archive/${_githash}/$pkgname-$pkgver.tar.gz")
 sha256sums=('49f70eccdd094a1576ff4bccea6fa0f1c9be7f6e70fc87d3b38f1c7eda800b86')
 
 package() {
-  cd "${pkgname}"
+  cd "kashmir-dependency-${_githash}"
 
   install -D -m644 LICENSE_1_0.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE_1_0.txt"
   install -d -m755 "${pkgdir}/usr/include/${pkgname}/"



More information about the arch-commits mailing list