summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Jensen2018-01-30 18:15:54 +0100
committerJesper Jensen2018-01-30 18:19:47 +0100
commitf20253f53c77babef1d4723a1ff8248a1703d1de (patch)
tree26bc2debcd9da199daabf26cd9180b32c4fd352d
downloadaur-f20253f53c77babef1d4723a1ff8248a1703d1de.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD26
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e8dc66ebb01
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-clay-player-git
+ pkgdesc = Command Line Player for Google Play Music
+ pkgver = 0.r73.cccc975
+ pkgrel = 1
+ url = https://github.com/and3rson/clay
+ arch = any
+ license = GPLv3
+ makedepends = python-setuptools
+ makedepends = git
+ depends = python
+ depends = python-gmusicapi
+ depends = python-pyaml
+ depends = python-urwid
+ source = python-clay-player-git::git+https://github.com/and3rson/clay
+ sha256sums = SKIP
+
+pkgname = python-clay-player-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a0ea55c0cb0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=python-clay-player-git
+pkgver=0.r73.cccc975
+pkgrel=1
+pkgdesc="Command Line Player for Google Play Music"
+url="https://github.com/and3rson/clay"
+depends=('python' 'python-gmusicapi' 'python-pyaml' 'python-urwid')
+makedepends=('python-setuptools' 'git')
+license=('GPLv3')
+arch=('any')
+source=("$pkgname::git+$url")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}