diff options
author | fuero | 2018-08-10 19:26:41 +0200 |
---|---|---|
committer | fuero | 2018-08-10 19:26:41 +0200 |
commit | b029b9d35845ca9f2bdce91008407b61ccc93c85 (patch) | |
tree | 881b8c24afe9375270a1302d5932812bf140404d | |
parent | 9949a1dcc609fadb0cde84e2e0fdd95643aea05a (diff) | |
download | aur-b029b9d35845ca9f2bdce91008407b61ccc93c85.tar.gz |
Adds conflicts/provides
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = lazygit-git pkgdesc = A simple terminal UI for git commands - pkgver = r320.a8c6f31 + pkgver = r333.f20121c pkgrel = 1 url = https://github.com/jesseduffield/lazygit arch = x86_64 @@ -8,6 +8,8 @@ pkgbase = lazygit-git makedepends = go-pie makedepends = git depends = glibc + provides = lazygit + conflicts = lazygit source = git+https://github.com/jesseduffield/lazygit#commit=master sha512sums = SKIP @@ -1,7 +1,7 @@ # Maintainer : fuero <fuerob@gmail.com> pkgname='lazygit-git' pkgdesc='A simple terminal UI for git commands' -pkgver=r320.a8c6f31 +pkgver=r333.f20121c pkgrel=1 _repo_prefix='github.com/jesseduffield' _repo_name="${pkgname/-git}" @@ -10,6 +10,8 @@ license=('MIT') arch=('x86_64') makedepends=('go-pie' 'git') depends=('glibc') +conflicts=('lazygit') +provides=('lazygit') _commit='master' source=("git+https://${_repo_prefix}/${_repo_name}#commit=${_commit}") sha512sums=('SKIP') @@ -34,7 +36,7 @@ clean() { build () { cd "src/${_repo_prefix}/${_repo_name}" - go build -i -v -ldflags "-w -s -X main.Rev=${pkgver##*.} -X main.builddate=`date -u +%Y%m%d.%H%M%S`" -o ${_repo_name}.bin + go build -x -i -v -ldflags "-X main.Rev=${pkgver##*.} -X main.builddate=`date -u +%Y%m%d.%H%M%S`" -o ${_repo_name}.bin } package () { |