summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJesper Jensen2018-01-30 18:15:54 +0100
committerJesper Jensen2018-01-30 18:19:47 +0100
commitf20253f53c77babef1d4723a1ff8248a1703d1de (patch)
tree26bc2debcd9da199daabf26cd9180b32c4fd352d /PKGBUILD
downloadaur-f20253f53c77babef1d4723a1ff8248a1703d1de.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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
+}