diff options
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -14,8 +14,6 @@ options=('!strip' '!emptydirs') source=($pkgname::git+$url.git) md5sums=('SKIP') -_gopkg=github.com/prasmussen/gdrive - pkgver() { cd $pkgname git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' @@ -28,14 +26,9 @@ build() { export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" export GOPATH="$srcdir/build" - go get $_gopkg + go get "${url##*https://}" } -#check() { -# export GOPATH="$srcdir/build" -# go test $_gopkg -#} - package() { cd build install -Dm755 bin/gdrive "$pkgdir/usr/bin/gdrive" |