From c84b2cd310f86dc50c4f52a5907cb17652e8c87c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Oct 2012 01:15:52 -0700 Subject: Wed Oct 17 01:14:52 PDT 2012 --- community-testing/uniconvertor/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community-testing/uniconvertor/PKGBUILD (limited to 'community-testing/uniconvertor') diff --git a/community-testing/uniconvertor/PKGBUILD b/community-testing/uniconvertor/PKGBUILD new file mode 100644 index 000000000..6c15816af --- /dev/null +++ b/community-testing/uniconvertor/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 78126 2012-10-16 11:54:43Z allan $ +# Maintainer: Sergej Pupykin +# Contributor: Roberto Alsina + +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" +} -- cgit v1.2.3-54-g00ecf