diff options
author | Solomon Choina | 2019-12-11 09:27:59 -0500 |
---|---|---|
committer | Solomon Choina | 2019-12-11 09:27:59 -0500 |
commit | c8e7685200d11ca3dc6daf4b4f0b32335eb8b4c3 (patch) | |
tree | d6afdff0245ce9c49a9bdfa77aa416de2418caf4 | |
parent | 152004a16f3f5564a250381885c0463686edc905 (diff) | |
download | aur-python-gmusicapi-git.tar.gz |
fixing pkgbuild and making it a true git package
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 12 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = python-gmusicapi-git pkgdesc = An unofficial api for Google Play Music. - pkgver = 11.0.0 + pkgver = 12.1.1.r3.g57f84b6 pkgrel = 1 url = https://github.com/simon-weber/gmusicapi arch = any @@ -23,7 +23,7 @@ pkgbase = python-gmusicapi-git depends = python-protobuf>=3.0.0 depends = python-decorator>=3.3.1 provides = python-gmusicapi - source = python-gmusicapi-git::git+https://github.com/simon-weber/gmusicapi#tag=11.0.0 + source = python-gmusicapi-git::git+https://github.com/simon-weber/gmusicapi sha256sums = SKIP pkgname = python-gmusicapi-git @@ -1,7 +1,7 @@ -pkgbase=('python-gmusicapi-git') -pkgname=('python-gmusicapi-git') +#Maintainer: Solomon Choina <shlomochoina@gmail.com> -pkgver='11.0.0' +pkgname='python-gmusicapi-git' +pkgver=12.1.1.r3.g57f84b6 pkgrel=1 pkgdesc="An unofficial api for Google Play Music." @@ -27,12 +27,18 @@ depends=( 'python-protobuf>=3.0.0' 'python-decorator>=3.3.1' ) + makedepends=('python-setuptools' 'git') license=('BSD') arch=('any') -source=("${pkgname}::git+$url#tag=${_gitver}") +source=("${pkgname}::git+$url") sha256sums=('SKIP') +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { cd "${pkgname}" python setup.py build |