summaryrefslogtreecommitdiff
path: root/community/cdemu-client
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/cdemu-client
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/cdemu-client')
-rw-r--r--community/cdemu-client/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/cdemu-client/PKGBUILD b/community/cdemu-client/PKGBUILD
new file mode 100644
index 000000000..f9504f26f
--- /dev/null
+++ b/community/cdemu-client/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Charles Lindsay <charles@chaoslizard.org>
+pkgname=cdemu-client
+pkgver=1.3.0
+pkgrel=2
+pkgdesc="Simple command-line client for controlling cdemu-daemon"
+arch=('i686' 'x86_64')
+url="http://cdemu.sourceforge.net/"
+license=('GPL')
+depends=('python2' 'dbus-python' 'cdemu-daemon')
+makedepends=('intltool')
+conflicts=('cdemu')
+source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz)
+md5sums=('e1789ec4f839e9dbdb5db88e3923d7ae')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ # python2 fix
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' src/cdemu
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}