[arch-commits] Commit in godep/repos (4 files)

Martin Wimpress flexiondotorg at nymeria.archlinux.org
Wed Jun 4 13:53:49 UTC 2014


    Date: Wednesday, June 4, 2014 @ 15:53:48
  Author: flexiondotorg
Revision: 112663

archrelease: copy trunk to community-i686, community-x86_64

Added:
  godep/repos/community-i686/
  godep/repos/community-i686/PKGBUILD
    (from rev 112662, godep/trunk/PKGBUILD)
  godep/repos/community-x86_64/
  godep/repos/community-x86_64/PKGBUILD
    (from rev 112662, godep/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: godep/repos/community-i686/PKGBUILD (from rev 112662, godep/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-06-04 13:53:48 UTC (rev 112663)
@@ -0,0 +1,38 @@
+# $Id:
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Sauyon Lee <arch at sauyon.com>
+
+pkgname=godep
+pkgver=94.20140524
+pkgrel=1
+epoch=1
+pkgdesc="Dependency tool for go"
+arch=('i686' 'x86_64')
+url="http://github.com/tools/godep"
+license=('BSD')
+depends=('glibc')
+makedepends=('git' 'go' 'mercurial')
+source=("${pkgname}::git+https://github.com/tools/godep#commit=983ff9241cead0f7e6ad0ae4a92b335c33ade8a2")
+md5sums=('SKIP')
+
+pkgver() {
+	cd "${srcdir}/${pkgname}"
+    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git log -1 --format=%cd --date=short | tr -d -)"
+}
+
+prepare() {
+	export GOPATH="${srcdir}"
+	go get code.google.com/p/go.tools/go/vcs
+	go get github.com/kr/fs
+}
+
+build() {
+	cd "${srcdir}/${pkgname}"
+	GOPATH="${srcdir}" go build
+}
+
+package() {
+	cd "${srcdir}/${pkgname}"
+	install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/godep"
+	install -Dm644 License "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: godep/repos/community-x86_64/PKGBUILD (from rev 112662, godep/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-06-04 13:53:48 UTC (rev 112663)
@@ -0,0 +1,38 @@
+# $Id:
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Sauyon Lee <arch at sauyon.com>
+
+pkgname=godep
+pkgver=94.20140524
+pkgrel=1
+epoch=1
+pkgdesc="Dependency tool for go"
+arch=('i686' 'x86_64')
+url="http://github.com/tools/godep"
+license=('BSD')
+depends=('glibc')
+makedepends=('git' 'go' 'mercurial')
+source=("${pkgname}::git+https://github.com/tools/godep#commit=983ff9241cead0f7e6ad0ae4a92b335c33ade8a2")
+md5sums=('SKIP')
+
+pkgver() {
+	cd "${srcdir}/${pkgname}"
+    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git log -1 --format=%cd --date=short | tr -d -)"
+}
+
+prepare() {
+	export GOPATH="${srcdir}"
+	go get code.google.com/p/go.tools/go/vcs
+	go get github.com/kr/fs
+}
+
+build() {
+	cd "${srcdir}/${pkgname}"
+	GOPATH="${srcdir}" go build
+}
+
+package() {
+	cd "${srcdir}/${pkgname}"
+	install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/godep"
+	install -Dm644 License "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list