summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d1b8f7c020653bfbbb232cf567b5faadc5b841e (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=r55.2f0cb52
pkgrel=4
pkgdesc=" A script to play music (with 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/play" "$pkgdir/usr/bin/play"
}