summaryrefslogtreecommitdiff
path: root/community/python2-pycdio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-pycdio/PKGBUILD')
-rw-r--r--community/python2-pycdio/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/python2-pycdio/PKGBUILD b/community/python2-pycdio/PKGBUILD
new file mode 100644
index 000000000..54f608dbd
--- /dev/null
+++ b/community/python2-pycdio/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 86447 2013-03-17 10:57:47Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Alessandro Pezzoni <donbex at nerdshack dot com>
+
+pkgname=python2-pycdio
+pkgver=0.19
+pkgrel=2
+pkgdesc="Python OO interface to libcdio (CD Input and Control library)"
+arch=("i686" "x86_64")
+url="http://pypi.python.org/pypi/pycdio/"
+license=('GPL')
+depends=('python2' 'libcdio')
+makedepends=('python2-distribute' 'pkg-config' 'swig')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/p/${pkgname#python2-}/${pkgname#python2-}-${pkgver}.tar.gz")
+md5sums=('a6b00666ce8d77ab80a4084a8ff1136b')
+
+package() {
+ cd "$srcdir/${pkgname#python2-}-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: