summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorproninyaroslav2015-06-11 11:59:30 +0300
committerproninyaroslav2015-06-11 11:59:30 +0300
commit7da846dae7cd45aaf06b32002c5296ac71d942c1 (patch)
tree5e5204506f6cb96fb3a166750ad0ac69115a3e62
downloadaur-7da846dae7cd45aaf06b32002c5296ac71d942c1.tar.gz
Initial import
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD48
-rw-r--r--vkaudiosaver.desktop13
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..00884a5e360
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = vkaudiosaver
+ pkgdesc = A tool for listening & downloading the music from social network VK.COM
+ pkgver = 1.5.1
+ pkgrel = 2
+ url = http://vkaudiosaver.ru/
+ arch = i686
+ arch = x86_64
+ groups = network
+ license = GPL3
+
+pkgname = vkaudiosaver
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..57fed6c0392
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: yaroslav <proninyaroslav@mail.ru>
+# Contributor: Ivan Petruk <localizator at ukr dot net>
+
+pkgname=vkaudiosaver
+_realname=VkAudioSaver
+pkgver=1.5.1
+pkgrel=2
+pkgdesc="A tool for listening & downloading the music from social network VK.COM"
+arch=('i686' 'x86_64')
+url="http://vkaudiosaver.ru/"
+license=('GPL3')
+groups=("network")
+
+if [ "$CARCH" = "i686" ]; then
+ _arch='i386'
+ depends=('fontconfig' 'freetype2' 'libstdc++5' 'libx11' 'libxext' 'libxrender' 'zlib' 'libpng12')
+ source=("http://bingosoft.info/filez/vkaudiosaver-${pkgver}-${_arch}.deb"
+ "vkaudiosaver.desktop")
+ sha256sums=('98073b82c0e65457bc549cfd71b278d8dfc4eb1ff80fd89449d8f5013d6aeb7f'
+ 'afed971e597cc4d4c3170284e52a80115ffa8afd630fbb806c831413a3177994')
+elif [ "$CARCH" = "x86_64" ]; then
+ _arch='amd64'
+ depends=('fontconfig' 'freetype2' 'libstdc++5' 'libx11' 'libxext' 'libxrender' 'zlib' 'libpng12'
+ 'lib32-fontconfig' 'lib32-freetype2' 'lib32-libxext' 'lib32-zlib' 'lib32-gcc-libs' 'lib32-libxrandr' 'lib32-libstdc++5' 'lib32-libpng12')
+ source=("http://bingosoft.info/filez/vkaudiosaver-${pkgver}-${_arch}.deb"
+ "vkaudiosaver.desktop")
+ sha256sums=('b045990c42dd8742369e8155f3f7f01265dd4513affd2e2c6fa0ca6694a58b61'
+ 'afed971e597cc4d4c3170284e52a80115ffa8afd630fbb806c831413a3177994')
+fi
+
+package() {
+
+ msg "Preparing install"
+ mkdir -p ${pkgdir}/usr/{bin,share}
+ mkdir -p ${pkgdir}/usr/share/pixmaps
+ ar x ${srcdir}/vkaudiosaver-${pkgver}-${_arch}.deb
+ tar xvzf ${srcdir}/data.tar.gz
+ msg2 "Done preparing!"
+
+ msg "Actual installation"
+ cp -dpr --no-preserve=ownership ${srcdir}/{opt,usr} ${pkgdir}
+ rm ${pkgdir}/usr/share/applications/${pkgname}.desktop
+ cp ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications
+ ln -s "/opt/$_realname/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ ln -s "/opt/$_realname/icon64.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ msg2 "Installation finished!"
+
+} \ No newline at end of file
diff --git a/vkaudiosaver.desktop b/vkaudiosaver.desktop
new file mode 100644
index 00000000000..c550ce8c359
--- /dev/null
+++ b/vkaudiosaver.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=VkAudioSaver
+Version=1.5.1
+Exec=/usr/bin/vkaudiosaver
+Comment=A free tool for searching, listening & downloading the music from social network VK.COM
+Comment[ru_RU]=Бесплатная программа для прослушивания и скачивания музыки ВКонтакте
+Comment[uk_UA]=Безкоштовна програма для прослуховування і завантаження музики ВКонтакті
+Icon=vkaudiosaver
+Type=Application
+Terminal=false
+StartupNotify=true
+Encoding=UTF-8
+Categories=Audio;AudioVideo;Network; \ No newline at end of file