summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorokonek2018-09-02 21:38:10 +0000
committerokonek2018-09-02 21:38:10 +0000
commit35a09680a7acdde17a820c89d779c1ab871756a0 (patch)
treec7aa5cc5309c7dacb43e7e7c184ae296bed4d4ce
downloadaur-35a09680a7acdde17a820c89d779c1ab871756a0.tar.gz
First commit version 2.0.3
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..09c2ea014db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = tidal-cli-client-git
+ pkgdesc = You can now use Tidal on linux. With your loved CLI. <3
+ pkgver = 2.0.3
+ pkgrel = 1
+ url = https://github.com/okonek/tidal-cli-client
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = nodejs
+ depends = npm
+ depends = mpv
+ depends = w3m
+ noextract = tidal-cli-client-git-2.0.3.tgz
+ source = http://registry.npmjs.org/tidal-cli-client/-/tidal-cli-client-2.0.3.tgz
+ sha1sums = 95949ef3c57f09010979c71d18cd727abdc9a15e
+
+pkgname = tidal-cli-client-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7d67b946bd2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Jan OkoĊ„ski <jandominikokonski@gmail.com>
+
+pkgname=tidal-cli-client-git
+_pkgname=${pkgname#nodejs-}
+pkgver=2.0.3
+pkgrel=1
+pkgdesc='You can now use Tidal on linux. With your loved CLI. <3'
+arch=(any)
+license=(MIT)
+url='https://github.com/okonek/tidal-cli-client'
+depends=('nodejs' 'npm' 'mpv' 'w3m')
+optdepends=()
+makedepends=('git')
+source=(http://registry.npmjs.org/tidal-cli-client/-/tidal-cli-client-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha1sums=(95949ef3c57f09010979c71d18cd727abdc9a15e)
+
+package() {
+ cd $srcdir
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm install -g --prefix "$pkgdir/usr" $_pkgname@$_pkgver
+}
+