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

Martin Wimpress flexiondotorg at nymeria.archlinux.org
Wed Jun 4 13:52:54 UTC 2014


    Date: Wednesday, June 4, 2014 @ 15:52:53
  Author: flexiondotorg
Revision: 112661

Initial import.

Added:
  godep/
  godep/repos/
  godep/trunk/
  godep/trunk/PKGBUILD

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

Added: godep/trunk/PKGBUILD
===================================================================
--- godep/trunk/PKGBUILD	                        (rev 0)
+++ godep/trunk/PKGBUILD	2014-06-04 13:52:53 UTC (rev 112661)
@@ -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"
+}


Property changes on: godep/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list