summaryrefslogtreecommitdiff
path: root/community/uniconvertor/PKGBUILD
blob: d8804685fc875a46799082abf97adbaba0990fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 97864 2013-09-30 10:28:08Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Roberto Alsina <ralsina@kde.org>

pkgname=uniconvertor
pkgver=1.1.5
pkgrel=7
pkgdesc="A universal vector graphics translator using sK1 engine."
arch=('i686' 'x86_64' 'mips64el')
url="http://sk1project.org/modules.php?name=Products&product=uniconvertor"
license=('GPL')
depends=('python2' 'python2-pillow' '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"
}