diff options
author | deepjyoti30 | 2020-07-26 19:44:12 +0530 |
---|---|---|
committer | deepjyoti30 | 2020-07-26 19:44:12 +0530 |
commit | ca286bf443035776decbf849176e5aadd151deee (patch) | |
tree | c56a4beb16ec80eb1a17a70af5fea2fba0278fb9 | |
download | aur-ca286bf443035776decbf849176e5aadd151deee.tar.gz |
First push
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..97a50e362b8b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-youtube-search-git + pkgdesc = Perform YouTube video searches without the API + pkgver = 1.1.0 + pkgrel = 0 + url = https://github.com/deepjyoti30/ytmdl + arch = any + license = MIT + makedepends = git + makedepends = python-setuptools + depends = python>=3.6 + depends = python-requests + source = https://github.com/joetats/youtube_search/archive/master.zip + md5sums = SKIP + +pkgname = python-youtube-search-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c34ac9399fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Deepjyoti <deep.barman30@gmail.com> +pkgname=python-youtube-search-git +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Perform YouTube video searches without the API" +arch=("any") +url="https://github.com/deepjyoti30/ytmdl" +license=('MIT') +depends=( + "python>=3.6" + "python-requests" + ) +makedepends=("git" "python-setuptools") +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/joetats/youtube_search/archive/master.zip") +noextract=() +md5sums=("SKIP") +validpgpkeys=() + +build() { + cd "youtube_search-master" + python3 setup.py build +} + +package() { + cd "youtube_search-master" + python3 setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |