diff options
author | Christian Muehlhaeuser | 2020-11-05 01:01:38 +0100 |
---|---|---|
committer | Christian Muehlhaeuser | 2020-11-05 01:01:38 +0100 |
commit | 4d459ec4157c5a1a79878800a8f3f297fba1f569 (patch) | |
tree | d51c767b1540e9a492775dc835dd26492a36e6e0 | |
parent | 58e6a8844eb85d6dfbb41c0308a2efb557c70ec4 (diff) | |
download | aur-4d459ec4157c5a1a79878800a8f3f297fba1f569.tar.gz |
Fix binary name
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = bbcli-git pkgdesc = inoffical Bitbucket.org command line tool pkgver = r39.50a3d2f - pkgrel = 1 + pkgrel = 2 url = https://github.com/craftamap/bb arch = x86_64 arch = i686 @@ -2,7 +2,7 @@ pkgname=bbcli-git pkgver=r39.50a3d2f -pkgrel=1 +pkgrel=2 pkgdesc="inoffical Bitbucket.org command line tool" arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/craftamap/bb" @@ -39,7 +39,7 @@ build() { -mod=readonly \ -modcacherw \ -ldflags "-X main.Version=$pkgver -linkmode external -extldflags \"${LDFLAGS}\"" \ - -o "${pkgname%-git}" . + -o "${pkgname%cli-git}" . go clean -modcache } @@ -47,6 +47,6 @@ build() { package() { cd "$srcdir/$pkgname" - install -Dm755 "${pkgname%-git}" "$pkgdir/usr/bin/${pkgname%-git}" + install -Dm755 "${pkgname%cli-git}" "$pkgdir/usr/bin/${pkgname%cli-git}" install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE" } |