diff options
author | root <root@rshg054.dnsready.net> | 2013-10-25 02:08:36 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-25 02:08:36 -0700 |
commit | 5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch) | |
tree | 80caf9e8d169d5c43d828ede599cb91fa065d8df /community/sk1sdk | |
parent | 94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff) |
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'community/sk1sdk')
-rw-r--r-- | community/sk1sdk/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/sk1sdk/PKGBUILD b/community/sk1sdk/PKGBUILD new file mode 100644 index 000000000..92dad15bf --- /dev/null +++ b/community/sk1sdk/PKGBUILD @@ -0,0 +1,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 +} |