Package Details: udeler-bin 1.13.4-1

Git Clone URL: https://aur.archlinux.org/udeler-bin.git (read-only, click to copy)
Package Base: udeler-bin
Description: Unofficail binary installer for heliomarpm's fork of udeler
Upstream URL: https://github.com/heliomarpm/udemy-downloader-gui
Keywords: udemy
Licenses: MIT
Submitter: esskayesss
Maintainer: esskayesss
Last Packager: esskayesss
Votes: 1
Popularity: 0.000000
First Submitted: 2021-02-25 10:22 (UTC)
Last Updated: 2024-12-07 19:07 (UTC)

Latest Comments

zxp19821005 commented on 2023-05-25 02:22 (UTC)

Maybe you should use https://github.com/heliomarpm/udemy-downloader-gui/releases/download/v1.12.4/Udeler_Setup-v1.12.4_linux-amd64.deb or https://github.com/heliomarpm/udemy-downloader-gui/releases/download/v1.12.4/Udeler_Setup-v1.12.4_linux-x86_64.rpm as the source

alan1world commented on 2023-04-27 12:50 (UTC)

For me, the prepare() is missing a line for it to run.
Appimage needs to be set to executable with chmod +x "${srcdir}/${pkgname}/udeler.appimage"

prepare(){
    install -dm755 "${srcdir}/${pkgname}"
    install -Dm644 ${_appimage} "${srcdir}/${pkgname}/udeler.appimage"
    chmod +x "${srcdir}/${pkgname}/udeler.appimage"
}

ZorinArch commented on 2023-04-16 18:56 (UTC)

I update the PKGBUILD

pkgname=udeler-bin
_pkgname=udeler
pkgver=1.12.3
pkgrel=1
pkgdesc="A desktop application for downloading Udemy Courses (Udeler)"
url="https://github.com/heliomarpm/udemy-downloader-gui"
arch=("x86_64")
license=("GPL")
depends=('glibc' 'hicolor-icon-theme' 'zlib' 'imagemagick')
options=('!strip')
_appimage="Udeler_Setup-v${pkgver}_linux-x86_64.AppImage"
source=("${url}/releases/download/v${pkgver}/${_appimage}")
sha256sums=('51b9c26e87c2a90e8ef28881cabcf3435f4c2c6edf5ebd16d4aa82f41c8308e9')

prepare() {
    chmod +x "${_appimage}"
    "./${_appimage}" --appimage-extract > /dev/null
}

build() {
    sed -i -E "s|Exec=AppRun|Exec=${_pkgname}|g" "${srcdir}/squashfs-root/${_pkgname}.desktop"
}

package() {
    # Install AppImage
    install -Dm 755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${_pkgname}/${_appimage}"

    #  Install a Symlink
    install -dm755 -d "${pkgdir}/usr/bin"
    ln -sf "/opt/${_pkgname}/${_appimage}" "${pkgdir}/usr/bin/${_pkgname}"

    # Install Icons
    for _size in "192x192" "128x128" "96x96" "64x64" "48x48" "32x32" "24x24" "22x22" "20x20" "16x16" "8x8"
    do
        install -dm755 "${pkgdir}/usr/share/icons/hicolor/${_size}/apps"
        convert "${srcdir}/squashfs-root/udeler.png" -resize "${_size}" "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/udeler.png"
    done

    # Install Desktop file
    install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
}