summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD24
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1e2567961d4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = mopidy-alsamixer
+ pkgdesc = Mopidy extension for ALSA volume control
+ pkgver = 1.0.3
+ pkgrel = 2
+ url = http://www.mopidy.com
+ arch = any
+ license = APACHE
+ makedepends = python2
+ depends = mopidy>=0.19
+ depends = python2-pykka>=1.1
+ depends = python2-setuptools
+ depends = python2-pyalsaaudio
+ source = https://github.com/mopidy/mopidy-alsamixer/archive/v1.0.3.tar.gz
+ md5sums = 1c8626f85615d2d3644e854dac8cce73
+
+pkgname = mopidy-alsamixer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..59fd1c6a493
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Alexandre Petitjean <alpetitjean at gmail dot com>
+
+pkgname=mopidy-alsamixer
+pkgver=1.0.3
+pkgrel=2
+pkgdesc="Mopidy extension for ALSA volume control"
+arch=('any')
+url="http://www.mopidy.com"
+license=('APACHE')
+depends=(
+ 'mopidy>=0.19'
+ 'python2-pykka>=1.1'
+ 'python2-setuptools'
+ 'python2-pyalsaaudio')
+makedepends=('python2')
+source=("https://github.com/mopidy/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('1c8626f85615d2d3644e854dac8cce73')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: