summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJan Holthuis2016-01-11 18:02:51 +0100
committerJan Holthuis2016-01-11 18:04:04 +0100
commit99f52c5521908a46dd53e10a0928957d7eb8b3c8 (patch)
tree2ce92d7467606cbe7a6be3d2e4ee33124795ea56 /PKGBUILD
downloadaur-python2-pymad.tar.gz
Add python2 version of python-pymad PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
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: