diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = gdu-git pkgdesc = Fast disk usage analyzer - pkgver = v4.11.2 + pkgver = v5.6.0.r2.gb6f6584 pkgrel = 1 url = https://github.com/dundee/gdu arch = x86_64 @@ -8,10 +8,9 @@ pkgbase = gdu-git makedepends = go makedepends = pandoc depends = glibc + provides = gdu conflicts = gdu - conflicts = gdu-bin source = gdu::git+https://github.com/Dundee/gdu sha256sums = SKIP pkgname = gdu-git - @@ -2,11 +2,12 @@ pkgname=gdu-git _gitname=gdu -pkgver=v4.11.2 +pkgver=v5.6.0.r2.gb6f6584 pkgrel=1 license=('MIT') pkgdesc="Fast disk usage analyzer" -conflicts=(gdu gdu-bin) +provides=(gdu) +conflicts=(gdu) depends=('glibc') makedepends=('go' 'pandoc') arch=('x86_64') @@ -26,9 +27,9 @@ prepare(){ build() { cd "$_gitname" - local _BUILDINFO="-X 'github.com/dundee/gdu/v4/build.Version=${pkgver}' \ - -X 'github.com/dundee/gdu/v4/build.User=${PACKAGER}' \ - -X 'github.com/dundee/gdu/v4/build.Time=$(date)'" + local _BUILDINFO="-X 'github.com/dundee/gdu/v5/build.Version=${pkgver}' \ + -X 'github.com/dundee/gdu/v5/build.User=${PACKAGER}' \ + -X 'github.com/dundee/gdu/v5/build.Time=$(date)'" go build \ -trimpath \ -buildmode=pie \ @@ -36,7 +37,7 @@ build() { -modcacherw \ -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" ${_BUILDINFO}" \ -o dist/gdu \ - github.com/dundee/gdu/v4/cmd/gdu + github.com/dundee/gdu/v5/cmd/gdu pandoc gdu.1.md -s -t man > dist/gdu.1 } |