spotube/aur-struct/PKGBUILD
2021-05-25 22:49:23 +06:00

33 lines
809 B
Bash

# Maintainer: KRTirtho <krtirho@gmail.com>
pkgname=spotube
pkgver=0.0.3
pkgrel=1
epoch=
pkgdesc="A music streaming app combining the power of Spotify & Youtube"
arch=(x86_64)
url="https://github.com/KRTirtho/spotube/"
license=('MIT')
groups=()
depends=('mpv' 'youtube-dl')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$url/releases/download/v$pkgver/Spotube_linux-x86_64-v$pkgver.zip")
noextract=()
md5sums=(ae9c6cbbe97f6dcc15a7c7dc86091174)
validpgpkeys=()
package(){
install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -dm755 "${pkgdir}/usr/bin"
cp -ra ./ "${pkgdir}/usr/share/${pkgname}"
cp ./spotube.desktop ~/.local/share/applications
ln -s "/usr/share/${pkgname}/qode" "${pkgdir}/usr/bin/${pkgname}"
}