diff options
author | Stefan Husmann | 2015-10-07 23:30:36 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-10-07 23:30:36 +0200 |
commit | 9a678612cedd4d75fdb6b33f65d20eb8e6381793 (patch) | |
tree | 99c6606bb50a6c230d0d203f2babe8721c0b8f59 | |
parent | c82109ade417d315b8335204e24762a681698899 (diff) | |
download | aur-9a678612cedd4d75fdb6b33f65d20eb8e6381793.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 10 insertions, 19 deletions
@@ -1,14 +1,13 @@ pkgbase = repoctl-git pkgdesc = A supplement to repo-add and repo-remove which simplifies managing local repositories - pkgver = v0.13.24.g29d0ea6 - pkgrel = 2 + pkgver = v0.13.29.g1a16732 + pkgrel = 1 url = https://github.com/cassava/repoctl arch = i686 arch = x86_64 license = MIT - makedepends = go + makedepends = gcc-go depends = pacman - replaces = repo-keep source = git+https://github.com/cassava/repoctl.git md5sums = SKIP @@ -2,15 +2,14 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=repoctl-git -pkgver=v0.13.24.g29d0ea6 -pkgrel=2 +pkgver=v0.13.29.g1a16732 +pkgrel=1 pkgdesc="A supplement to repo-add and repo-remove which simplifies managing local repositories" arch=('i686' 'x86_64') url="https://github.com/cassava/repoctl" license=('MIT') depends=('pacman') -makedepends=('go') -replaces=('repo-keep') +makedepends=('gcc-go') source=("git+https://github.com/cassava/${pkgname%-git}.git") md5sums=('SKIP') @@ -20,20 +19,13 @@ pkgver() { } build() { - # Get and build the builder. - gopath=${srcdir}/go - if [[ -d ${gopath} ]]; then - rm -rf ${gopath} - fi - mkdir ${gopath} - GOPATH=${gopath} go get github.com/constabulary/gb/... - - cd ${srcdir}/${pkgname%-git} - ${gopath}/bin/gb build + export PATH=/usr/bin/go:$PATH + cd ${pkgname%-git} + GOPATH=${srcdir} go get github.com/cassava/${pkgname%-git}/... } package() { - cd ${srcdir}/${pkgname%-git} + cd ${pkgname%-git} # Install repoctl program install -d ${pkgdir}/usr/bin |