Package Details: duf 0.4.0-1

Git Clone URL: https://aur.archlinux.org/duf.git (read-only, click to copy)
Package Base: duf
Description: Disk Usage/Free Utility
Upstream URL: https://github.com/muesli/duf
Licenses: MIT
Submitter: muesli
Maintainer: muesli
Last Packager: muesli
Votes: 6
Popularity: 3.36
First Submitted: 2020-09-21 03:56
Last Updated: 2020-10-10 03:13

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

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:
https://wiki.archlinux.org/index.php/Unofficial_user_repositories#oscloud
CI status: https://abs-cd.oscloud.info/cd_manager/duf

TrialnError commented on 2020-09-22 20:31

Hi
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 :)

caltlgin commented on 2020-09-21 06:34

muesli: Thanks. duf looks awesome.

muesli commented on 2020-09-21 05:56

@caltlgin Fixed!

muesli commented on 2020-09-21 05:35

Thanks for the heads up, I'm about to release a first release today, at which point I will split this up in duf, duf-bin, and duf-git packages.