makedeb


youtube-music-bin 1.17.0-1


YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for youtube-music-bin.

# Maintainer: Giovanni Ivan Alberotanza <ivan81@disroot.org>
pkgname=youtube-music-bin
pkgver=1.17.0
pkgrel=1
pkgdesc="YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)"
arch=('amd64')
url="https://th-ch.github.io/youtube-music"
license=('MIT')
depends=('libgtk-3-0' 'libnotify4' 'libnss3' 'libxss1' 'libxtst6' 'xdg-utils' 'libatspi2.0-0' 'libuuid1' 'libsecret-1-0')
optdepends=('libappindicator3-1')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("https://github.com/th-ch/youtube-music/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_amd64.deb"
        "https://github.com/th-ch/youtube-music/raw/v$pkgver/license")
sha256sums=('SKIP'
            'SKIP')

package(){
  bsdtar xfv data.tar.xz -C "$pkgdir"

  install -d "$pkgdir/usr/bin"
  ln -s "/opt/YouTube Music/${pkgname%-bin}" "$pkgdir/usr/bin/${pkgname%-bin}"

  install -Dm644 license -t "$pkgdir/usr/share/licenses/${pkgname%-bin}"
}