diff options
author | Harsh Barsaiyan | 2020-11-29 23:19:37 +0530 |
---|---|---|
committer | Harsh Barsaiyan | 2020-11-29 23:19:37 +0530 |
commit | 87ab71b03bcccae0e0bf0bd3fe6a6b237b6a80cb (patch) | |
tree | cac3cba1e4919079a4cc0c9d27c1418f2af1318c | |
download | aur-87ab71b03bcccae0e0bf0bd3fe6a6b237b6a80cb.tar.gz |
Change name to youtube-music-bin
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | youtube-music-th-ch.desktop | 11 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b75db924a4a2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = youtube-music-bin + pkgdesc = YouTube Music Desktop App bundled with custom plugins like built-in ad blocker & downloader + pkgver = 1.6.4 + pkgrel = 4 + url = https://github.com/th-ch/youtube-music + arch = x86_64 + license = MIT + makedepends = git + noextract = ${_pkgname}-${pkgver}.AppImage + options = !strip + source = https://github.com/th-ch/youtube-music/releases/download/v1.6.4/YouTube-Music-1.6.4.AppImage + source = https://raw.githubusercontent.com/th-ch/youtube-music/master/license + source = youtube-music-th-ch.desktop + sha512sums = d9b75e151e609bde9694c960f7b9ff40f1681d338b575d86948780a6f47a5a58183b5506e9e0c22b39594682d39fea1b40d969dfbe3a32ede11492b06c96bfcb + sha512sums = 49c9004d9a157e3ddc4e79b6a800f0ac320989967a86ce887e5f8658c263167d43afa510f5692da86608bda1b98418e4fa9b012d9920c501f11304226136e031 + sha512sums = 8086de04b3f4ab335016f9f6734c6071f2bd66ac4169a2ab1b1540dd97acc104eec5914756a5facb43c67e8a84a49f5ee5e845666d77e7023eb9aa8bef2c44d0 + +pkgname = youtube-music-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ba93c1bdf894 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Harsh Barsaiyan <hbarsaiyan@gmail.com> + +pkgname=youtube-music-bin +_pkgname=YouTube-Music +pkgver=1.6.4 +pkgrel=4 +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-th-ch.desktop") +noextract=('${_pkgname}-${pkgver}.AppImage') +options=(!strip) +sha512sums=( + "d9b75e151e609bde9694c960f7b9ff40f1681d338b575d86948780a6f47a5a58183b5506e9e0c22b39594682d39fea1b40d969dfbe3a32ede11492b06c96bfcb" + "49c9004d9a157e3ddc4e79b6a800f0ac320989967a86ce887e5f8658c263167d43afa510f5692da86608bda1b98418e4fa9b012d9920c501f11304226136e031" + "8086de04b3f4ab335016f9f6734c6071f2bd66ac4169a2ab1b1540dd97acc104eec5914756a5facb43c67e8a84a49f5ee5e845666d77e7023eb9aa8bef2c44d0" +) + +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-th-ch" + + # install desktop entry + install -Dm755 youtube-music-th-ch.desktop "${pkgdir}/usr/share/applications/youtube-music-th-ch.desktop" +} diff --git a/youtube-music-th-ch.desktop b/youtube-music-th-ch.desktop new file mode 100644 index 000000000000..bf9a72bc22df --- /dev/null +++ b/youtube-music-th-ch.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=YouTube Music +Comment=YouTube Music Desktop App - including custom plugins +GenericName=YouTube Music +Exec=youtube-music-th-ch %U +Icon=/usr/share/pixmaps/youtube-music-bin.png +Terminal=false +Type=Application +StartupNotify=true +StartupWMClass=YouTube Music +Categories=AudioVideo;Player;Audio;Youtube;Music |