diff options
author | Antoine Viallon | 2020-06-30 11:29:14 +0200 |
---|---|---|
committer | Antoine Viallon | 2020-06-30 11:29:49 +0200 |
commit | c4410b71b8e17efdff86525fef2dd81a86bb36a2 (patch) | |
tree | 840758600b64da8be774d4256c1ca7e9b6b3f972 | |
download | aur-c4410b71b8e17efdff86525fef2dd81a86bb36a2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c39c77125f9b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = spotrec-git + pkgdesc = Spotify desktop client recorder for PulseAudio (git version) + pkgver = v0.12.0.r2.g15c2e71 + pkgrel = 1 + url = https://github.com/Bleuzen/SpotRec + arch = any + license = mit + makedepends = nuitka + depends = python + depends = python-dbus + depends = ffmpeg + depends = gawk + depends = bash + optdepends = spotify + optdepends = audacity + optdepends = kid3 + provides = spotrec + conflicts = spotrec + source = spotrec-git::git+https://github.com/Bleuzen/SpotRec + sha256sums = SKIP + +pkgname = spotrec-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0a514c3dda41 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Antoine Viallon <antoine@lesviallon.fr> + +pkgname=spotrec-git +pkgver=v0.12.0.r2.g15c2e71 +pkgrel=1 +pkgdesc="Spotify desktop client recorder for PulseAudio (git version)" +arch=('any') +url="https://github.com/Bleuzen/SpotRec" +license=('mit') +depends=('python' 'python-dbus' 'ffmpeg' 'gawk' 'bash') +optdepends=('spotify' + 'audacity' + 'kid3') +source=("${pkgname}::git+${url}") +sha256sums=('SKIP') +provides=(spotrec) +conflicts=(spotrec) +makedepends=(nuitka) + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd $pkgname + ./build.sh +} + +package() { + mkdir -p "$pkgdir"/usr/bin/ + install -D $pkgname/spotrec "$pkgdir"/usr/bin/ +} |