# Maintainer: Harsh Barsaiyan # This file is automatically generated. Do not edit. pkgname=youtube-music-bin _pkgname=YouTube-Music pkgver=1.8.0 pkgrel=1 epoch= pkgdesc="YouTube Music Desktop App bundled with custom plugins like built-in ad blocker & downloader" arch=('x86_64') url="https://github.com/th-ch/youtube-music" license=('MIT') makedepends=('git') source=("https://github.com/th-ch/youtube-music/releases/download/v${pkgver}/${_pkgname}-${pkgver}.AppImage" "https://raw.githubusercontent.com/th-ch/youtube-music/master/license" "youtube-music-bin.desktop") noextract=('${_pkgname}-${pkgver}.AppImage') options=(!strip) sha512sums=( "7a760c3671bf9628d0c16a127d2f01a3459fdfdeb5ec17c6f003fa33a26709052362c3a794f5c6d0d8284d7f12f6ecd20da063f1c06a976b1d9caa93e80f9545" "SKIP" "5cde2a00f56761b510a550cbf685206646519068f5b1b14d0a0e6c954e38f677aef8ec83c53ff2c85b67ae539a4a419368f2593207548a868466502e675ae38c" ) prepare(){ chmod +x $_pkgname-$pkgver.AppImage ./$_pkgname-$pkgver.AppImage --appimage-extract } package() { # install license install -Dm644 license "${pkgdir}/usr/share/licenses/${pkgname}/license" # install icon install -Dm644 "${srcdir}/squashfs-root/youtube-music.png" "${pkgdir}/usr/share/pixmaps/youtube-music-bin.png" # install appimage install -Dm755 ${_pkgname}-${pkgver}.AppImage "${pkgdir}/usr/bin/youtube-music-bin" # install desktop entry install -Dm755 youtube-music-bin.desktop "${pkgdir}/usr/share/applications/youtube-music-bin.desktop" }