summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordeepjyoti302019-11-09 12:55:29 +0530
committerdeepjyoti302019-11-09 12:55:29 +0530
commit9018e082ce47f0303bc1f1672d1e83fa70f9f764 (patch)
tree3c34f0b19916baf5565d00517b7fb54667864dc8
downloadaur-9018e082ce47f0303bc1f1672d1e83fa70f9f764.tar.gz
Initial release.
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD37
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9ea9985ea0a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ytmdl
+ pkgdesc = Download songs from YouTube with metadata from sources like Itunes and Gaana
+ pkgver = 2019.10.8
+ pkgrel = 0
+ url = https://github.com/deepjyoti30/ytmdl
+ arch = any
+ license = MIT
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python>=3.6
+ depends = ffmpeg
+ depends = youtube-dl
+ source = https://github.com/deepjyoti30/ytmdl/archive/2019.10.8.tar.gz
+ md5sums = SKIP
+
+pkgname = ytmdl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..094c8685bff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Deepjyoti <deep.barman30@gmail.com>
+pkgname=ytmdl
+pkgver=2019.10.8
+pkgrel=0
+pkgdesc="Download songs from YouTube with metadata from sources like Itunes and Gaana"
+arch=("any")
+url="https://github.com/deepjyoti30/ytmdl"
+license=('MIT')
+depends=(
+ "python>=3.6"
+ "ffmpeg"
+ "youtube-dl"
+ )
+makedepends=("git" "python-setuptools")
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://github.com/deepjyoti30/ytmdl/archive/2019.10.8.tar.gz")
+noextract=()
+md5sums=("SKIP")
+validpgpkeys=()
+
+build() {
+ cd "ytmdl-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "ytmdl-${pkgver}"
+ python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}