diff options
author | deepjyoti30 | 2019-11-08 19:17:37 +0530 |
---|---|---|
committer | deepjyoti30 | 2019-11-08 19:17:37 +0530 |
commit | 502efbd2af31424abec370f231a911d4621612de (patch) | |
tree | 236bee0b7d2570f47efc947d220a0f363f116711 | |
download | aur-502efbd2af31424abec370f231a911d4621612de.tar.gz |
initial push to different repo. Moving away from python-playx.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cbb8aceb2a57 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = python-playx + pkgdesc = Search and play any song from terminal. + pkgver = 1.0.2 + pkgrel = 0 + url = https://github.com/NISH1001/playx + arch = any + license = MIT + depends = python>=3.6 + depends = python-setuptools + depends = mpv + depends = chromium + depends = youtube-dl + source = playx-develop.tar.gz::https://github.com/NISH1001/playx/archive/develop.tar.gz + md5sums = SKIP + +pkgname = python-playx + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb020402fd07 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Deepjyoti <deep.barman30@gmail.com> +pkgname=python-playx +pkgver=1.0.2 +pkgrel=0 +pkgdesc="Search and play any song from terminal." +arch=("any") +url="https://github.com/NISH1001/playx" +license=('MIT') +depends=( + "python>=3.6" + "python-setuptools" + "mpv" + "chromium" + "youtube-dl" + ) +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("playx-develop.tar.gz::https://github.com/NISH1001/playx/archive/develop.tar.gz") +noextract=() +md5sums=("SKIP") +validpgpkeys=() + +build() { + cd "playx-develop" + python setup.py build +} + +package() { + cd "playx-develop" + python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |