summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Semkin2019-09-19 15:35:22 +0300
committerIvan Semkin2019-09-19 15:35:22 +0300
commitb729066c7101f2b255719b565e0dd7c7e6d2a4db (patch)
tree51f5fc2f7c3d4816de9888ef93b9133257d9d998
downloadaur-vk-songs-git.tar.gz
Initial git release
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD27
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..da6dbd2f21c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = vk-songs-git
+ pkgdesc = Downloads VK songs
+ pkgver = 0.1.1.r1.20268ef
+ pkgrel = 1
+ url = https://github.com/vanyasem/VK-Songs
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python-vk_api
+ depends = python
+ depends = python-requests
+ depends = python-pyfiglet
+ depends = python-prompt_toolkit
+ depends = python-colorama
+ depends = python-pathvalidate
+ depends = python-pyinquirer
+ depends = python-magic
+ provides = vk-songs
+ conflicts = vk-songs
+ source = git://github.com/vanyasem/VK-Songs
+ md5sums = SKIP
+
+pkgname = vk-songs-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..04fd0876042
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Ivan Semkin (ivan at semkin dot ru)
+
+appname=VK-Songs
+pkgname=vk-songs-git
+pkgver=0.1.1.r1.20268ef
+pkgrel=1
+pkgdesc='Downloads VK songs'
+arch=('any')
+url='https://github.com/vanyasem/VK-Songs'
+license=('GPL3')
+depends=('python-vk_api' 'python' 'python-requests' 'python-pyfiglet' 'python-prompt_toolkit' 'python-colorama' 'python-pathvalidate' 'python-pyinquirer' 'python-magic')
+makedepends=('git' 'python-setuptools')
+provides=('vk-songs')
+conflicts=('vk-songs')
+source=('git://github.com/vanyasem/VK-Songs')
+md5sums=('SKIP')
+
+pkgver() {
+ cd $appname
+ echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
+}
+
+package() {
+ cd "$srcdir/$appname"
+ python3 setup.py install --optimize=1 --root="${pkgdir}/"
+}
+# vim:set ts=2 sw=2 et: