summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnbuBlack2016-03-21 23:30:28 +0200
committerAnbuBlack2016-03-21 23:30:28 +0200
commit367ab3f07f60f2d110b4db1faea7a3818266a48c (patch)
tree542cc922450de2a0df15c83ab0fc35f4b0ab371b
downloadaur-367ab3f07f60f2d110b4db1faea7a3818266a48c.tar.gz
Created PKGBUILD for zymp3
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..458dfe1a12e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Mon Mar 21 20:30:03 UTC 2016
+pkgbase = zymp3
+ pkgdesc = youtube-dl and ffmpeg frontend, converts videos to mp3
+ pkgver = 0.1.7
+ pkgrel = 1
+ url = https://github.com/silvernode/zymp3
+ arch = x86_64
+ arch = i686
+ license = GPL
+ depends = youtube-dl
+ depends = ffmpeg
+ depends = zenity
+ depends = xdg-utils
+ optdepends = yad
+ optdepends = libnotify
+ source = https://github.com/silvernode/zymp3/archive/v0.1.7.tar.gz
+ md5sums = d8aaa699d51b1e5c6fa9668962dc67dd
+
+pkgname = zymp3
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b117ccfd297
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: AnbuBlack <dana_blonda2004@yahoo.com>
+pkgname=zymp3
+pkgver=0.1.7
+pkgrel=1
+pkgdesc="youtube-dl and ffmpeg frontend, converts videos to mp3"
+url="https://github.com/silvernode/zymp3"
+arch=('x86_64' 'i686')
+license=('GPL')
+depends=('youtube-dl' 'ffmpeg' 'zenity' 'xdg-utils')
+optdepends=('yad' 'libnotify')
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+source=("https://github.com/silvernode/zymp3/archive/v${pkgver}.tar.gz")
+md5sums=('d8aaa699d51b1e5c6fa9668962dc67dd')
+
+package() {
+ #tar zxvf "${srcdir}/${pkgname}-${pkgver}.tar.gz"
+ cd ${pkgname}-${pkgver}
+ install -Dm755 "${pkgname}" "${pkgdir}/opt/zymp3/${pkgname}"
+ cp -R "config" "${pkgdir}/opt/zymp3/"
+ cp -R "assets" "${pkgdir}/opt/zymp3/"
+ cp -R "lib" "${pkgdir}/opt/zymp3/"
+ echo '#!/bin/bash' > ${pkgdir}/opt/zymp3/run.sh
+ echo "cd /opt/zymp3" >> ${pkgdir}/opt/zymp3/run.sh
+ echo "./zymp3" >> ${pkgdir}/opt/zymp3/run.sh
+ install -D ${pkgdir}/opt/zymp3/run.sh ${pkgdir}/usr/bin/zymp3
+ chmod +x ${pkgdir}/usr/bin/zymp3
+ install -Dm644 assets/zymp3.desktop "$pkgdir/usr/share/applications/zymp3.desktop"
+ install -Dm644 assets/zymp3.png "$pkgdir/usr/share/pixmaps/zymp3.png"
+
+}