summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b4a414d83560eea8035e38b93f98e81e2ad3a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: timescam <rex.ky.ng at gmail dot com>

_pkgname=mustream
pkgname=$_pkgname-git
pkgver=r38.f0d6c02
pkgrel=1
pkgdesc="A quick 'hack' to stream any music (from spotify) through the command line."
arch=(any)
url="https://github.com/belkadev/$_pkgname"
license=('GPL3')
makedepends=('git')
depends=(
    'spotify'
    'bash'
)
provides=("$_pkgname")

source=("$_pkgname::git+https://github.com/belkadev/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
            cd "$srcdir/$_pkgname"
            echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package () {
            install -Dm755 "$srcdir/$_pkgname/mustream.sh" "$pkgdir/usr/bin/play"
}