Package Details: duf 0.6.2-1

Git Clone URL: (read-only, click to copy)
Package Base: duf
Description: Disk Usage/Free Utility
Upstream URL:
Licenses: MIT
Submitter: muesli
Maintainer: muesli
Last Packager: muesli
Votes: 19
Popularity: 2.33
First Submitted: 2020-09-21 03:56
Last Updated: 2021-04-02 22:39

Latest Comments

1 2 Next › Last »

muesli commented on 2021-04-02 22:41

Thanks @caleb! Fixed.

caleb commented on 2021-04-02 08:38

tar and gzip do not need to be listed in build dependencies for AUR packages; per package guidelines anything in base-devel is assumed to build anything.

muesli commented on 2020-09-30 02:50

Thanks @yochananmarqos, followed your recommendations and updated the PKGBUILD.

yochananmarqos commented on 2020-09-29 23:42

@muesli: No, it's not in the package guidelines, though I think it should be. If a local $GOPATH isn't used, ~/go is created and normally cannot be removed without sudo. The same will happen in the $SRCDEST and makepkg -C will fail; hence using go clean -modcache before and after.

muesli commented on 2020-09-29 23:39

@yochananmarqos I've just added the ARM architectures to the PKGBUILD.

I couldn't find any information about "go clean -modcache" in the package guidelines, though. Can you elaborate a bit more as to why that's needed?

Thank you!

yochananmarqos commented on 2020-09-28 17:02

ARM users might like to use this as well:

arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')

Please follow Go package guidelines and also use a temporary Go cache:

prepare() {
    export GOPATH="$srcdir/gopath"
    go clean -modcache

build() {
    cd "$pkgname-$pkgver"
    go build \
        -trimpath \
        -buildmode=pie \
        -mod=readonly \
        -modcacherw \
        -ldflags "-X main.Version=$pkgver -linkmode external -extldflags \"${LDFLAGS}\"" \

    # Clean mod cache for makepkg -C
    go clean -modcache

muesli commented on 2020-09-25 05:32

@TrialnError: Thanks for the heads up, just pushed a new PKGBUILD.

bionade24 commented on 2020-09-23 13:00

This package is built by my CD and available in this repo:
CI status:

TrialnError commented on 2020-09-22 20:31

Could you please help the users of SRCDEST and change the source url in a way, that a unique tarball is downloaded?
Can be achieved either with prepending the source with ${pkgname}-${pkgver}.tar.gz:: or using the full filename endpoint of github (example: ${url}/archive/v${pkgver}/${pkgname}-${pkgver}tar.gz).
Thank you :)

muesli commented on 2020-09-21 05:56

@caltlgin Fixed!