summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD32
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0f11e802fb3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Mon Jan 11 17:01:21 UTC 2016
+pkgbase = python2-pymad
+ pkgdesc = Python interface to libmad
+ pkgver = 0.9
+ pkgrel = 1
+ url = https://github.com/jaqx0r/pymad
+ arch = x86_64
+ arch = i686
+ license = LGPL
+ makedepends = git
+ depends = libmad
+ depends = python2
+ provides = pymad
+ conflicts = pymad
+ replaces = pymad
+ source = python2-pymad::git+https://github.com/jaqx0r/pymad.git#tag=version/0.9
+ md5sums = SKIP
+
+pkgname = python2-pymad
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..96cc6e8c211
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+src
+pkg
+*.tar.xz
+*.tar.gz
+*.log
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c45e34c374e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Mark Rosenstand <mark@archlinux.org
+# Contributor: Corrado Primier <cp663137@stud.polimi.it>
+
+pkgname=python2-pymad
+pkgver=0.9
+pkgrel=1
+pkgdesc='Python interface to libmad'
+arch=('x86_64' 'i686')
+url='https://github.com/jaqx0r/pymad'
+license=('LGPL')
+depends=('libmad' 'python2')
+makedepends=('git')
+replaces=('pymad')
+conflicts=('pymad')
+provides=('pymad')
+source=("$pkgname::git+https://github.com/jaqx0r/pymad.git#tag=version/$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname"
+ python2 config_unix.py --prefix=/usr
+}
+
+package() {
+ cd "$pkgname"
+ python2 setup.py install --root="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et: