summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Jensen2018-01-30 18:10:50 +0100
committerJesper Jensen2018-01-30 18:10:50 +0100
commitac3d5db0c12c6d188f5e8b6ccfe9f609583cbe51 (patch)
treefb21e5c2ec05b03d27178b99afddf171a0dd3ea9
downloadaur-ac3d5db0c12c6d188f5e8b6ccfe9f609583cbe51.tar.gz
Initial commit
-rw-r--r--.SRCINFO44
-rw-r--r--PKGBUILD44
2 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..654f00b034e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,44 @@
+pkgbase = python-gmusicapi-git
+ pkgdesc = An unofficial api for Google Play Music.
+ pkgver = 11.0.0
+ pkgrel = 1
+ url = https://github.com/simon-weber/gmusicapi
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ makedepends = git
+ depends = python
+ depends = python-future
+ depends = python-gpsoauth>=0.2.0
+ depends = python-mechanicalsoup>=0.4.0
+ depends = python-mock>=0.7.0
+ depends = python-validictory>=0.8.0
+ depends = python-oauth2client>=1.1
+ depends = python-appdirs>=1.1.0
+ depends = python-requests>=1.1.0
+ depends = python-proboscis>=1.2.5.1
+ depends = python-dateutil>=1.3
+ depends = mutagen>=1.34
+ depends = python-six>=1.9.0
+ depends = python-protobuf>=3.0.0
+ depends = python-decorator>=3.3.1
+ source = python-gmusicapi-git::git+https://github.com/simon-weber/gmusicapi#tag=11.0.0
+ sha256sums = SKIP
+
+pkgname = python-gmusicapi-git
+ depends = python
+ depends = python-future
+ depends = python-gpsoauth>=0.2.0
+ depends = python-mechanicalsoup>=0.4.0
+ depends = python-mock>=0.7.0
+ depends = python-validictory>=0.8.0
+ depends = python-oauth2client>=1.1
+ depends = python-appdirs>=1.1.0
+ depends = python-requests>=1.1.0
+ depends = python-proboscis>=1.2.5.1
+ depends = python-dateutil>=1.3
+ depends = mutagen>=1.34
+ depends = python-six>=1.9.0
+ depends = python-protobuf>=3.0.0
+ depends = python-decorator>=3.3.1
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7e1f6c0530b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+pkgbase=('python-gmusicapi-git')
+pkgname=('python-gmusicapi-git')
+
+pkgver='11.0.0'
+pkgrel=1
+pkgdesc="An unofficial api for Google Play Music."
+
+_gitver="$pkgver"
+url="https://github.com/simon-weber/gmusicapi"
+
+depends=(
+ 'python'
+ 'python-future'
+ 'python-gpsoauth>=0.2.0'
+ 'python-mechanicalsoup>=0.4.0'
+ 'python-mock>=0.7.0'
+ 'python-validictory>=0.8.0'
+ 'python-oauth2client>=1.1'
+ 'python-appdirs>=1.1.0'
+ 'python-requests>=1.1.0'
+ 'python-proboscis>=1.2.5.1'
+ 'python-dateutil>=1.3'
+ 'mutagen>=1.34'
+ 'python-six>=1.9.0'
+ 'python-protobuf>=3.0.0'
+ 'python-decorator>=3.3.1'
+)
+makedepends=('python-setuptools' 'git')
+license=('BSD')
+arch=('any')
+source=("${pkgname}::git+$url#tag=${_gitver}")
+sha256sums=('SKIP')
+
+build() {
+ cd "${pkgname}"
+ python setup.py build
+}
+
+package() {
+ depends+=()
+ cd "${pkgname}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}