summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBleuzen2018-05-19 12:25:00 +0200
committerBleuzen2018-05-19 12:25:00 +0200
commit315ab849abc8d2f14abd98ff139de4f09b194493 (patch)
tree457d467f5d093288c19a919919252943202a6e5b
downloadaur-315ab849abc8d2f14abd98ff139de4f09b194493.tar.gz
initial commit, replaces spotifyrecorder
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD27
-rw-r--r--spotrec2
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..49303c8f0f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = spotrec
+ pkgdesc = Spotify desktop client recorder for PulseAudio
+ pkgver = 0.6.0
+ pkgrel = 1
+ url = https://github.com/Bleuzen/spotrec
+ arch = any
+ license = mit
+ depends = python
+ depends = python-dbus
+ depends = ffmpeg
+ depends = gawk
+ optdepends = spotify
+ optdepends = audacity
+ optdepends = kid3
+ provides = spotifyrecorder
+ conflicts = spotifyrecorder
+ source = https://github.com/Bleuzen/spotrec/releases/download/0.6.0/spotrec.cpython-36.opt-2.pyc
+ source = spotrec
+ sha1sums = 676e991f8b973ec21c217125d800b8b87f3d2548
+ sha1sums = a50db4e83ae8776b5798e625a3dcca37b015910c
+
+pkgname = spotrec
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6b1cf52b8ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Bleuzen <supgesu at gmail dot com>
+
+pkgname=spotrec
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Spotify desktop client recorder for PulseAudio"
+arch=('any')
+conflicts=('spotifyrecorder')
+provides=('spotifyrecorder')
+url="https://github.com/Bleuzen/spotrec"
+license=('mit')
+depends=('python' 'python-dbus' 'ffmpeg' 'gawk')
+optdepends=('spotify'
+ 'audacity'
+ 'kid3')
+source=("${url}/releases/download/${pkgver}/${pkgname}.cpython-36.opt-2.pyc"
+ "${pkgname}")
+sha1sums=('676e991f8b973ec21c217125d800b8b87f3d2548'
+ 'a50db4e83ae8776b5798e625a3dcca37b015910c')
+
+package() {
+ mkdir -p "$pkgdir"/opt/${pkgname}/
+ mkdir -p "$pkgdir"/usr/bin/
+
+ install -D ${pkgname}.cpython-36.opt-2.pyc "$pkgdir"/opt/${pkgname}/
+ install -D ${pkgname} "$pkgdir"/usr/bin/
+}
diff --git a/spotrec b/spotrec
new file mode 100644
index 00000000000..c79dbb336c0
--- /dev/null
+++ b/spotrec
@@ -0,0 +1,2 @@
+#!/bin/bash
+python3 /opt/spotrec/spotrec.cpython-36.opt-2.pyc "$@"