summaryrefslogtreecommitdiff
path: root/community-staging/uniconvertor/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-16 00:33:10 -0700
committerroot <root@rshg054.dnsready.net>2012-10-16 00:33:10 -0700
commit99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (patch)
tree8b24758dfa8c691cda33acaa931699ce81dc1c15 /community-staging/uniconvertor/PKGBUILD
parente9dd04abd0ede1143ea4af10059e37c2f599e1fd (diff)
Tue Oct 16 00:33:08 PDT 2012
Diffstat (limited to 'community-staging/uniconvertor/PKGBUILD')
-rw-r--r--community-staging/uniconvertor/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community-staging/uniconvertor/PKGBUILD b/community-staging/uniconvertor/PKGBUILD
new file mode 100644
index 000000000..da1175e90
--- /dev/null
+++ b/community-staging/uniconvertor/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 77994 2012-10-16 02:42:54Z allan $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Roberto Alsina <ralsina@kde.org>
+
+pkgname=uniconvertor
+pkgver=1.1.5
+pkgrel=6
+pkgdesc="A universal vector graphics translator using sK1 engine."
+arch=('i686' 'x86_64')
+url="http://sk1project.org/modules.php?name=Products&product=uniconvertor"
+license=('GPL')
+depends=('python2' 'python2-imaging' 'python2-reportlab' 'sk1libs')
+makedepends=('gcc')
+source=(http://uniconvertor.googlecode.com/files/uniconvertor-$pkgver.tar.gz)
+md5sums=('d1272315a58304ece2ff588834e23f72')
+
+build() {
+ cd "$srcdir/uniconvertor-$pkgver"
+
+ # python2 fix
+ sed -i 's_#! /usr/bin/python_#! /usr/bin/python2_' src/__init__.py
+
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/uniconvertor-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+}