summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIvan Semkin2019-09-19 15:35:22 +0300
committerIvan Semkin2019-09-19 15:35:22 +0300
commitb729066c7101f2b255719b565e0dd7c7e6d2a4db (patch)
tree51f5fc2f7c3d4816de9888ef93b9133257d9d998 /PKGBUILD
downloadaur-b729066c7101f2b255719b565e0dd7c7e6d2a4db.tar.gz
Initial git release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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: