summaryrefslogtreecommitdiff
path: root/community/sk1libs/PKGBUILD
blob: d4a374be84a8530617d792e8021a83d9b70aed18 (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
# $Id: PKGBUILD 65445 2012-02-21 05:49:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=sk1libs
pkgver=0.9.1
pkgrel=3
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')
source=("${pkgname}-${pkgver}.tar.gz::http://sk1project.org/dc.php?target=${pkgname}-${pkgver}.tar.gz")
md5sums=('e18088bbc8a105e7535a96f40b80f284')

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

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