Package Details: twitch-drops-miner-bin 20261028.230155-1

Git Clone URL: https://aur.archlinux.org/twitch-drops-miner-bin.git (read-only, click to copy)
Package Base: twitch-drops-miner-bin
Description: An app that allows you to AFK mine timed Twitch drops, with automatic drop claiming and channel switching.
Upstream URL: https://github.com/DevilXD/TwitchDropsMiner
Licenses: MIT
Conflicts: twitch-drops-miner
Provides: twitch-drops-miner
Submitter: PandaDEV
Maintainer: PandaDEV
Last Packager: PandaDEV
Votes: 0
Popularity: 0.000000
First Submitted: 2025-08-11 21:55 (UTC)
Last Updated: 2026-10-28 23:02 (UTC)

Latest Comments

Capricious-frog commented on 2026-04-29 12:43 (UTC)

There's a few issues with the PKGBUILD. The desktop file doesn't work because it tries to run a script that has all the lines are indented. Also the icon doesn't work because it's pointing to a file with the wrong name. Here's a fixed PKGBUILD:

# Maintainer: PandaDEV <contact@pandadev.net>
pkgname=twitch-drops-miner-bin
pkgver=20260428.184025
pkgrel=1
pkgdesc="An app that allows you to AFK mine timed Twitch drops, with automatic drop claiming and channel switching."
arch=(x86_64 aarch64)
url="https://github.com/DevilXD/TwitchDropsMiner"
license=('MIT')
options=('!strip')
depends=()
makedepends=('unzip')
provides=(twitch-drops-miner)
conflicts=(twitch-drops-miner)
source_x86_64=("Twitch.Drops.Miner.Linux.AppImage-x86_64.zip::https://github.com/DevilXD/TwitchDropsMiner/releases/download/dev-build/Twitch.Drops.Miner.Linux.AppImage-x86_64.zip")
source_aarch64=("Twitch.Drops.Miner.Linux.AppImage-aarch64.zip::https://github.com/DevilXD/TwitchDropsMiner/releases/download/dev-build/Twitch.Drops.Miner.Linux.AppImage-aarch64.zip")
sha256sums_x86_64=('508fc5c6aada536df20c1068380c11fddd7c78292e434c7e82bef683c7f9a5be')
sha256sums_aarch64=('6c7bc7141cdd28c907ca4cfbf8e1932adf91a3fab59c7d6bf5e88c0eaf941d09')

prepare() {
    cd "$srcdir"
    unzip -o "Twitch.Drops.Miner.Linux.AppImage-${CARCH}.zip"
}

package() {
    cd "$srcdir"
    appimage_file=$(find . -name "*.AppImage" -type f | head -1)

    if [ -z "$appimage_file" ]; then
        echo "Error: No AppImage file found after extraction"
        exit 1
    fi

    chmod +x "$appimage_file"

    install -Dm755 "$appimage_file" "$pkgdir/usr/lib/twitch-drops-miner/twitch-drops-miner.appimage"

    install -dm755 "$pkgdir/usr/bin"
    cat > "$pkgdir/usr/bin/twitch-drops-miner" << 'EOF'
#!/bin/bash
export APPIMAGE_EXTRACT_AND_RUN=1

# Create user data directory if it doesn't exist
DATA_DIR="$HOME/.local/share/twitch-drops-miner"
mkdir -p "$DATA_DIR"

# Copy AppImage to user directory if it doesn't exist or is older
USER_APPIMAGE="$DATA_DIR/twitch-drops-miner.appimage"
SYSTEM_APPIMAGE="/usr/lib/twitch-drops-miner/twitch-drops-miner.appimage"

if [ ! -f "$USER_APPIMAGE" ] || [ "$SYSTEM_APPIMAGE" -nt "$USER_APPIMAGE" ]; then
    echo "Copying AppImage to user directory..."
    cp "$SYSTEM_APPIMAGE" "$USER_APPIMAGE"
    chmod +x "$USER_APPIMAGE"
fi

# Change to user data directory and run from there
cd "$DATA_DIR"
exec "$USER_APPIMAGE" "$@"
EOF
    chmod +x "$pkgdir/usr/bin/twitch-drops-miner"

    "$appimage_file" --appimage-extract >/dev/null 2>&1

    if [ -f squashfs-root/*.desktop ]; then
        install -dm755 "$pkgdir/usr/share/applications"
        desktop_file=$(find squashfs-root -name "*.desktop" -type f | head -1)
        sed 's|Exec=.*|Exec=twitch-drops-miner %U|g' "$desktop_file" > "$pkgdir/usr/share/applications/twitch-drops-miner.desktop"
    fi

    png_file=$(find squashfs-root -name "*.png" -type f | head -1)
    if [ -n "$png_file" ]; then
        install -Dm644 "$png_file" "$pkgdir/usr/share/pixmaps/io.github.devilxd.twitchdropsminer.png"
    fi

    rm -rf squashfs-root
}

nailington commented on 2026-03-26 13:35 (UTC)

The aarch64 source link is incorrect in the .SRCINFO file in this repository. Not exactly sure how that is the case when the checksums were updated properly to match the latest builds on GH, but the appimage for aarch64 isn't even the right app. This causes file verification to fail when attempting to update via yay. I have 20260215.121506-1 installed right now on my system, which no longer works because of a bug fixed in the latest version of this app.

I know aarch64 isn't technically supported by Arch Linux nor the AUR, but this seems like a simple fix for a strange problem in the first place. Feel free to reach out if you need any more info!

Gito commented on 2026-01-07 00:17 (UTC)

Build failure due to missing makedepends

Building the package fails with:

PKGBUILD: line 20: unzip: command not found

unzip is used in prepare() but is not listed in makedepends.

Proposed fix:

diff --git a/PKGBUILD b/PKGBUILD --- a/PKGBUILD +++ b/PKGBUILD @@ -9,6 +9,7 @@ arch=('x86_64') url="https://github.com/DevilXD/TwitchDropsMiner" license=('MIT') depends=('glibc') +makedepends=('unzip') source_x86_64=("Twitch.Drops.Miner.Linux.AppImage-x86_64.zip::https://github.com/DevilXD/TwitchDropsMiner/releases/download/${pkgver}/Twitch.Drops.Miner.Linux.AppImage-x86_64.zip") sha256sums_x86_64=('SKIP')

Thanks for maintaining the package!