summaryrefslogtreecommitdiff
path: root/community/sk1sdk/PKGBUILD
blob: 92dad15bfe42231f300a2808f3db9983267e7512 (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 78820 2012-10-25 06:47:28Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=sk1sdk
pkgver=0.9.1
pkgrel=1
pkgdesc='A set of python non-GUI extensions for sK1 Project.'
arch=('i686' 'x86_64')
url='http://sk1project.org/'
license=('custom:LGPL2')
depends=('python2' 'freetype2' 'lcms' 'tk' 'libxcursor')
source=("${pkgname}-${pkgver}.tar.gz::https://sk1.googlecode.com/files/sk1sdk-${pkgver}pre2_rev1383.tar.gz")
md5sums=('b6db1a14ed9d39251851a3d78b63bb15')

prepare() {
  cd ${pkgname}-${pkgver}pre2
  sed -i 's|python -c|python2 -c|g' src/tkstyle/{fonts,colors}.py
}

build() {
  cd ${pkgname}-${pkgver}pre2
  python2 setup.py build
}

package() {
  cd ${pkgname}-${pkgver}pre2
  python2 setup.py install --root ${pkgdir}
  install -D -m644 GNU_LGPL_v2 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}