summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD29
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..12a470e69f5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = ledfx-git
+ pkgdesc = Make your LEDs dance in sync to the music
+ pkgver = v0.10.5.r50.gb8e68bea
+ pkgrel = 1
+ url = https://github.com/LedFx/LedFx
+ arch = any
+ license = MIT
+ makedepends = git
+ makedepends = python-setuptools
+ makedepends = portaudio
+ makedepends = ffmpeg
+ depends = ffmpeg
+ depends = avahi
+ depends = pulseaudio
+ provides = ledfx
+ conflicts = ledfx
+ source = ledfx-git::git+https://github.com/LedFx/LedFx.git
+ md5sums = SKIP
+
+pkgname = ledfx-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..618af667183
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Janis Jansons <aur@janhouse.lv>
+pkgname=ledfx-git
+pkgver=v0.10.5.r50.gb8e68bea
+pkgrel=1
+pkgdesc="Make your LEDs dance in sync to the music"
+arch=('any')
+url="https://github.com/LedFx/LedFx"
+license=('MIT')
+depends=('ffmpeg' 'avahi' 'pulseaudio')
+provides=('ledfx')
+conflicts=('ledfx')
+makedepends=('git' 'python-setuptools' 'portaudio' 'ffmpeg')
+source=("ledfx-git::git+https://github.com/LedFx/LedFx.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd $srcdir/$pkgname
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$pkgname
+ python setup.py install --root="$pkgdir"
+}