[arch-commits] Commit in chezmoi/repos (community-x86_64 community-x86_64/PKGBUILD)

Daurnimator daurnimator at archlinux.org
Tue Jun 11 14:27:10 UTC 2019


    Date: Tuesday, June 11, 2019 @ 14:27:09
  Author: daurnimator
Revision: 480460

archrelease: copy trunk to community-x86_64

Added:
  chezmoi/repos/community-x86_64/
  chezmoi/repos/community-x86_64/PKGBUILD
    (from rev 480459, chezmoi/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: chezmoi/repos/community-x86_64/PKGBUILD (from rev 480459, chezmoi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-06-11 14:27:09 UTC (rev 480460)
@@ -0,0 +1,32 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor:  <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=1.5.6
+pkgrel=13
+pkgdesc="Multi-machine dotfile management system"
+arch=('x86_64')
+url='https://github.com/twpayne/chezmoi'
+license=('MIT')
+makedepends=('go-pie' 'git')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
+sha256sums=('4abd6be864e1e4bd6768e7217247a097233a0351438b1e183dac602959f36750')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  go build \
+    -gcflags "all=-trimpath=${PWD}" \
+    -asmflags "all=-trimpath=${PWD}" \
+    -ldflags "-extldflags ${LDFLAGS}" \
+    .
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list