Package Details: mldy 1.2-1

Git Clone URL: https://aur.archlinux.org/mldy.git (read-only, click to copy)
Package Base: mldy
Description: Terminal UI for downloading videos using yt-dlp
Upstream URL: https://github.com/milkyicedtea/mldy
Licenses: zlib
Submitter: Cheek
Maintainer: Cheek
Last Packager: Cheek
Votes: 1
Popularity: 0.26
First Submitted: 2026-03-24 01:02 (UTC)
Last Updated: 2026-09-08 17:28 (UTC)

Latest Comments

50nathan commented on 2026-09-11 22:14 (UTC) (edited on 2026-09-11 22:17 (UTC) by 50nathan)

Hi Cheek, thanks for maintaining this package. Since you mentioned this is your first AUR package, here are a few standard Arch packaging conventions and improvements:

  1. Source Tarball Renaming: Using source=("$pkgname-$pkgver.tar.gz::https://github.com/milkyicedtea/mldy/archive/refs/tags/v$pkgver.tar.gz") prevents generic v$pkgver.tar.gz filename collisions for users with a shared SRCDEST configured in /etc/makepkg.conf.

  2. Go Packaging Guidelines (Hardening & Reproducibility): Arch's Go package guidelines recommend exporting standard flags and passing -trimpath (so build paths aren't embedded in the binary) and -buildmode=pie:

    build() {
        cd "$pkgname-$pkgver"
        export CGO_CPPFLAGS="${CPPFLAGS}"
        export CGO_CFLAGS="${CFLAGS}"
        export CGO_CXXFLAGS="${CXXFLAGS}"
        export CGO_LDFLAGS="${LDFLAGS}"
        export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
    
        go build -ldflags="-linkmode=external -extldflags \"${LDFLAGS}\"" -o mldy
    }
    
  3. SPDX License & License Installation: Use the SPDX identifier license=('Zlib') and install the license file in package() if upstream includes one: install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

  4. Optional Dependencies: Since mldy checks for a JS runtime to let yt-dlp solve YouTube signature challenges, adding optdepends helps users know what to install:

    optdepends=(
        'deno: JavaScript runtime for yt-dlp YouTube extraction'
        'nodejs: Alternative JavaScript runtime for yt-dlp'
        'bun: Alternative JavaScript runtime for yt-dlp'
    )
    

Thanks!

Cheek commented on 2026-03-24 01:18 (UTC)

Hi! This is my first AUR package, so feedback is very welcome. For bugs or feature requests related to the program itself, please consider opening an issue on the GitHub repository linked above (I'm more active there!).

I'll still keep an eye on AUR comments for packaging-related issues